/*
Theme Name: Parohia Biberach
Theme URI: https://www.facebook.com/profile.php?id=61576002603717
Author: Parohia Ortodoxă Română Biberach an der Riß
Description: Temă pentru Parohia Ortodoxă Română „Sf. Ierarh Nectarie” și „Sfinții Cuvioși Cleopa și Paisie de la Sihăstria” din Biberach an der Riß. Program de slujbe cu export în calendar, calendar ortodox cu sfinții zilei (Doxologia), Sfintele Taine, anunțuri, galerie, donații, contact. Română și germană (cu Polylang). Temă luminoasă și întunecată.
Version: 1.3.1
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parohia-biberach
*/

/* ==========================================================================
   Fonts (self-hosted: no request to Google)
   ========================================================================== */

@font-face {
	font-family: "Marcellus";
	src: url("assets/fonts/marcellus-latin-ext-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Marcellus";
	src: url("assets/fonts/marcellus-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Public Sans";
	src: url("assets/fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Public Sans";
	src: url("assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Tokens — a Maramureș wooden church: shingle frame, silvered timber nave,
   ștergar red for feasts, fir honey for marks on dark. 8px module.
   ========================================================================== */

:root {
	--frame: #2b2622;
	--umber: #2b2622;
	--umber-2: #3a332d;
	--umber-3: #4b4239;
	--ground: #eceeea;
	--ground-2: #e1e4de;
	--paper: #f7f8f5;
	--ink: #1d1a17;
	--ink-2: #4c463f;
	--ink-3: #6b645b;
	--line: #cdd1ca;
	--line-2: #b9beb5;
	--red: #9b2a22;
	--red-2: #7d1f19;
	--honey: #c8975a;
	--on-dark: #eee8de;
	--on-dark-2: #bdb3a6;
	--solid-bg: #2b2622;
	--solid-fg: #eee8de;
	--shadow: 0 24px 48px -24px rgba(43, 38, 34, .45);
	--rope-line: var(--rope-ink);

	--display: "Marcellus", "Palatino Linotype", Palatino, "Book Antiqua", serif;
	--text: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--u: 8px;
	--gutter: clamp(16px, 4vw, 40px);
	--max: 1200px;
	--band: clamp(56px, 8vw, 104px);
	--radius: 2px;
	--mast: 76px;
	--ease: cubic-bezier(.16, 1, .3, 1);

	--rope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12'%3E%3Cellipse cx='4' cy='6' rx='6.4' ry='2.5' transform='rotate(-52 4 6)' fill='%23c8975a' stroke='%232b2622' stroke-width='.9'/%3E%3C/svg%3E");
	--rope-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12'%3E%3Cellipse cx='4' cy='6' rx='6.4' ry='2.5' transform='rotate(-52 4 6)' fill='%234b4239' stroke='%23eceeea' stroke-width='.9'/%3E%3C/svg%3E");
	--rope-honey: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12'%3E%3Cellipse cx='4' cy='6' rx='6.4' ry='2.5' transform='rotate(-52 4 6)' fill='%23c8975a' stroke='%23161311' stroke-width='.9'/%3E%3C/svg%3E");
	--shingle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='20' viewBox='0 0 28 20'%3E%3Cpath d='M0 0a7 9 0 0 0 14 0a7 9 0 0 0 14 0M-7 10a7 9 0 0 0 14 0a7 9 0 0 0 14 0a7 9 0 0 0 14 0M0 20a7 9 0 0 0 14 0a7 9 0 0 0 14 0' fill='none' stroke='%23ffffff' stroke-opacity='.055'/%3E%3C/svg%3E");
	color-scheme: light;
}

/* Dark: the church at Vespers — smoked timber, candle honey. */
:root[data-theme="dark"] {
	--frame: #0f0d0b;
	--ground: #161311;
	--ground-2: #1d1916;
	--paper: #221e1a;
	--ink: #ece6dc;
	--ink-2: #bdb3a6;
	--ink-3: #948a7e;
	--line: #2f2924;
	--line-2: #40382f;
	--red: #e58a7c;
	--red-2: #f2a99c;
	--honey: #d4a466;
	--solid-bg: #ece6dc;
	--solid-fg: #161311;
	--shadow: 0 24px 48px -24px rgba(0, 0, 0, .7);
	--rope-line: var(--rope-honey);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) {
		--frame: #0f0d0b;
		--ground: #161311;
		--ground-2: #1d1916;
		--paper: #221e1a;
		--ink: #ece6dc;
		--ink-2: #bdb3a6;
		--ink-3: #948a7e;
		--line: #2f2924;
		--line-2: #40382f;
		--red: #e58a7c;
		--red-2: #f2a99c;
		--honey: #d4a466;
		--solid-bg: #ece6dc;
		--solid-fg: #161311;
		--shadow: 0 24px 48px -24px rgba(0, 0, 0, .7);
		--rope-line: var(--rope-honey);
		color-scheme: dark;
	}
}

.theme-anim, .theme-anim * { transition: background-color .45s ease, color .45s ease, border-color .45s ease !important; }

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--mast) + 24px);
	scrollbar-color: var(--line-2) var(--ground);
	background: var(--ground);
}

body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--text);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	caret-color: var(--red);
	overflow-x: hidden;
	-webkit-tap-highlight-color: transparent;
}

@supports (overflow: clip) { body { overflow-x: clip; } }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

::selection { background: var(--honey); color: #161311; }

img, svg, iframe, video { max-width: 100%; }
img { height: auto; display: block; }

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: .22em;
	transition: color .2s, text-decoration-color .2s;
}
a:hover { color: var(--red); }

:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
	border-radius: var(--radius);
}
.masthead :focus-visible, .footer :focus-visible, .support :focus-visible, .next :focus-visible { outline-color: var(--honey); }

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: .005em;
	text-wrap: balance;
	margin: 0;
}

p { margin: 0 0 1em; text-wrap: pretty; }

.wrap {
	width: 100%;
	max-width: calc(var(--max) + 2 * var(--gutter));
	margin-inline: auto;
	padding-left: max(var(--gutter), env(safe-area-inset-left));
	padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon.flip { transform: scaleX(-1); }

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

.skip-link {
	position: absolute;
	left: var(--gutter);
	top: -100px;
	z-index: 100;
	background: var(--honey);
	color: #161311;
	padding: 12px 16px;
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus { top: 8px; }

.site-main:focus { outline: none; }

/* ==========================================================================
   Rope band — the carved "funie" ringing the church
   ========================================================================== */

.rope {
	height: 12px;
	background: var(--rope) repeat-x 0 50% / 8px 12px, var(--frame);
	border-block: 1px solid rgba(0, 0, 0, .35);
}
.rope--top { border-top: 0; }

.masthead .rope { animation: rope-in 1.6s var(--ease) both; }
@keyframes rope-in {
	from { background-position: -240px 50%, 0 0; }
	to { background-position: 0 50%, 0 0; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 20px;
	border: 1.5px solid var(--ink);
	border-radius: var(--radius);
	background: transparent;
	color: var(--ink);
	font: 600 .9375rem/1.2 var(--text);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover { background: var(--ink); color: var(--ground); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--solid-bg); border-color: var(--solid-bg); color: var(--solid-fg); }
.btn--solid:hover { background: var(--red); border-color: var(--red); color: #fff; }
:root[data-theme="dark"] .btn--solid:hover { color: #161311; }
.btn--light { background: var(--on-dark); border-color: var(--on-dark); color: #2b2622; }
.btn--light:hover { background: var(--honey); border-color: var(--honey); color: #2b2622; }
.btn--ghost { border-color: rgba(238, 232, 222, .5); color: var(--on-dark); }
.btn--ghost:hover { background: var(--on-dark); border-color: var(--on-dark); color: #2b2622; }
.btn--small { min-height: 36px; padding: 6px 12px; font-size: .875rem; }
.btn.is-done { background: var(--solid-bg); border-color: var(--solid-bg); color: var(--solid-fg); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link-icon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	text-decoration: none;
}
.link-icon:hover { text-decoration: underline; }

/* ==========================================================================
   Masthead (sticky, compacts on scroll)
   ========================================================================== */

.masthead {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--shingle), var(--frame);
	color: var(--on-dark);
	transition: box-shadow .3s;
}
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 46px; } }
@media (max-width: 600px) { .admin-bar .masthead { top: 0; } }
.masthead.is-scrolled { box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .55); }

.masthead__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 88px;
	transition: min-height .35s var(--ease);
}
.masthead.is-scrolled .masthead__bar { min-height: 64px; }

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-right: auto;
	min-width: 0;
	text-decoration: none;
	color: var(--on-dark);
}
.brand:hover { color: var(--on-dark); }
.brand__logo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	flex: none;
	box-shadow: 0 0 0 1.5px rgba(200, 151, 90, .55), 0 6px 16px -6px rgba(0, 0, 0, .6);
	transition: width .35s var(--ease), height .35s var(--ease), transform .6s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.04); }
.masthead.is-scrolled .brand__logo { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--display); font-size: 1.125rem; letter-spacing: .02em; max-width: 15.5rem; }
.nav { flex: none; }
.brand__place { font-size: .8125rem; color: var(--on-dark-2); letter-spacing: .04em; margin-top: 3px; }

/* Top bar: next service, address, phone */
.topbar { background: var(--frame); color: var(--on-dark-2); font-size: .8125rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 36px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--honey); }
.topbar__next { display: inline-flex; align-items: baseline; gap: 10px; min-width: 0; overflow: hidden; white-space: nowrap; }
.topbar__label { color: var(--honey); font-weight: 600; letter-spacing: .02em; flex: none; }
.topbar__val { color: var(--on-dark); overflow: hidden; text-overflow: ellipsis; }
.topbar__links { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; flex: none; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.topbar__links .icon { width: 15px; height: 15px; color: var(--honey); }
.topbar__fb .icon { color: inherit; }
.topbar :focus-visible { outline-color: var(--honey); }
@media (max-width: 899px) { .topbar__addr { display: none; } }
@media (max-width: 640px) {
	.topbar__title, .topbar__links { display: none; }
	.topbar__in { justify-content: center; min-height: 32px; }
}

.nav { display: flex; align-items: center; gap: 20px; }
.nav__end { display: flex; align-items: center; gap: 14px; }
.nav-list { display: flex; flex-wrap: nowrap; gap: 0; list-style: none; margin: 0; padding: 0; }

/* Support call-to-action in the menu */
.nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid var(--honey);
	border-radius: var(--radius);
	color: var(--honey);
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .25s, color .25s;
}
.nav-cta .icon { width: 16px; height: 16px; }
.nav-cta:hover, .nav-cta.is-current { background: var(--honey); color: #2b2622; }

/* Groups with a drop-down panel */
.nav-group { position: relative; }
.nav-group__btn {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 10px 8px;
	background: none;
	border: 0;
	border-radius: var(--radius);
	color: var(--on-dark);
	font: 500 .875rem/1.6 var(--text);
	white-space: nowrap;
	cursor: pointer;
}
.nav-group__chev { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.nav-group__btn:hover, .nav-group.is-open .nav-group__btn, .nav-group.is-current .nav-group__btn { color: var(--honey); }
.nav-group.is-open .nav-group__chev { transform: rotate(180deg); }
.nav-group__btn::after {
	content: "";
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 4px;
	height: 2px;
	background: var(--honey);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s var(--ease);
}
.nav-group.is-current .nav-group__btn::after { transform: scaleX(1); }
.nav-panel__h { display: none; }

@media (min-width: 1100px) {
	.nav-panel {
		position: absolute;
		top: calc(100% + 14px);
		left: -12px;
		width: 320px;
		padding: 10px;
		background: var(--paper);
		color: var(--ink);
		border: 1px solid var(--line);
		border-top: 2px solid var(--honey);
		border-radius: var(--radius);
		box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .45);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-6px);
		transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s;
	}
	/* Bridge the gap so the pointer can travel from the button to the panel. */
	.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
	.nav-group.is-open .nav-panel,
	:root:not(.js) .nav-group:focus-within .nav-panel,
	:root:not(.js) .nav-group:hover .nav-panel { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .3s var(--ease), visibility 0s; }
	.nav-panel ul { list-style: none; margin: 0; padding: 0; }
	.nav-panel a {
		display: flex;
		flex-direction: column;
		gap: 2px;
		padding: 12px 14px;
		border-radius: var(--radius);
		color: var(--ink);
		text-decoration: none;
		transition: background-color .2s;
	}
	.nav-panel a:hover { background: var(--ground-2); color: var(--ink); }
	.nav-panel a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--red); }
	.nav-panel__t { font-weight: 600; font-size: .9375rem; }
	.nav-panel a[aria-current="page"] .nav-panel__t, .nav-panel a:hover .nav-panel__t { color: var(--red); }
	.nav-panel__d { font-size: .8125rem; color: var(--ink-3); line-height: 1.4; }
	.nav-panel :focus-visible { outline-color: var(--red); }
}

.nav-list > li > a {
	position: relative;
	display: block;
	padding: 10px 8px;
	color: var(--on-dark);
	font-size: .875rem;
	white-space: nowrap;
	font-weight: 500;
	text-decoration: none;
	border-radius: var(--radius);
}
.nav-list a::after {
	content: "";
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 4px;
	height: 2px;
	background: var(--honey);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s var(--ease);
}
.nav-list > li > a:hover { color: var(--honey); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after, .nav-list .current-menu-item > a::after, .nav-group__btn:hover::after { transform: scaleX(1); }
.nav-list > li > a[aria-current="page"], .nav-list .current-menu-item > a { color: var(--honey); }

.lang-switch { display: flex; list-style: none; margin: 0; padding: 0; border: 1px solid var(--umber-3); border-radius: var(--radius); }
.lang-switch a {
	display: block;
	padding: 6px 10px;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--on-dark-2);
	text-decoration: none;
}
.lang-switch a:hover { color: var(--on-dark); }
.lang-switch a[aria-current="true"] { background: var(--on-dark); color: #2b2622; }

.theme-toggle, .nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 10px;
	background: transparent;
	border: 1px solid var(--umber-3);
	border-radius: var(--radius);
	color: var(--on-dark);
	font: 600 .9375rem var(--text);
	cursor: pointer;
	transition: border-color .2s, color .2s;
	-webkit-appearance: none;
	appearance: none;
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--honey); color: var(--honey); }
.theme-toggle .icon { transition: transform .6s var(--ease), opacity .3s; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.theme-toggle:hover .icon { transform: rotate(-25deg); }

.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }

@media (max-width: 1099px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		position: absolute;
		inset: 100% 0 auto 0;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 8px max(var(--gutter), env(safe-area-inset-left)) 32px;
		background: var(--shingle), var(--frame);
		border-top: 1px solid var(--umber-3);
		box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .55);
		max-height: calc(100vh - 80px);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
	}
	.nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s; }
	.nav-open .nav-toggle .i-open { display: none; }
	.nav-open .nav-toggle .i-close { display: block; }
	/* Open menu: groups become labelled lists, all links visible at once. */
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list > li > a { padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--umber-2); border-radius: 0; }
	.nav-list > li > a::after { display: none; }
	.nav-group__btn { display: none; }
	.nav-group { padding: 20px 0 8px; border-bottom: 1px solid var(--umber-2); }
	.nav-group + .nav-group { padding-top: 16px; }
	.nav-group + li:not(.nav-group) > a { padding-top: 18px; }
	.nav-panel__h { display: block; margin: 0 0 4px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--honey); }
	.nav-panel ul { list-style: none; margin: 0; padding: 0; }
	.nav-panel a { display: flex; flex-direction: column; padding: 10px 0; color: var(--on-dark); text-decoration: none; }
	.nav-panel__t { font-size: 1.125rem; font-weight: 500; }
	.nav-panel__d { font-size: .8125rem; color: var(--on-dark-2); }
	.nav-panel a[aria-current="page"] .nav-panel__t, .nav-panel a:hover .nav-panel__t { color: var(--honey); }
	.nav__end { justify-content: space-between; }
	.nav-cta { min-height: 48px; padding-inline: 20px; font-size: 1rem; }
}
@media (min-width: 1100px) and (max-width: 1239px) {
	.nav-cta .icon { display: none; }
	.nav-list > li > a, .nav-group__btn { padding-inline: 6px; }
}
@media (max-width: 480px) {
	.masthead__bar { gap: 8px; min-height: 72px; }
	.brand { gap: 10px; }
	.brand__logo { width: 44px; height: 44px; }
	.masthead.is-scrolled .brand__logo { width: 38px; height: 38px; }
	.brand__name { font-size: .9375rem; white-space: normal; }
	.brand__place { font-size: .75rem; }
	.nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ==========================================================================
   Home — hero
   ========================================================================== */

.hero { position: relative; overflow: hidden; }
.hero__halo {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(60% 70% at 85% 30%, rgba(200, 151, 90, .12), transparent 70%);
}
@supports (overflow: clip) { .hero { overflow: clip; } }

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
	gap: clamp(40px, 6vw, 96px);
	align-items: end;
	padding-block: clamp(40px, 6vw, 80px) 48px;
}

/* The parish seal, ringed by a slowly turning rope, with a nimbus behind it */
.medallion {
	--rx: 0deg;
	--ry: 0deg;
	position: relative;
	width: clamp(168px, 20vw, 240px);
	aspect-ratio: 1 / 1;
	margin: 18px 0 40px 18px;
	transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .8s var(--ease);
	animation: seal-in 1.4s var(--ease) both;
}
.medallion::before {
	content: "";
	position: absolute;
	inset: -170%;
	z-index: -1;
	background: repeating-radial-gradient(circle at 50% 50%, transparent 0 46px, rgba(200, 151, 90, .16) 47px 48px);
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 18%, transparent 62%);
	mask-image: radial-gradient(circle at 50% 50%, #000 18%, transparent 62%);
	pointer-events: none;
}
.medallion__img {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	box-shadow: var(--shadow), 0 0 0 6px var(--ground);
	background: var(--paper);
}
.medallion__ring {
	position: absolute;
	inset: -16px;
	width: calc(100% + 32px);
	height: calc(100% + 32px);
	fill: none;
	pointer-events: none;
	animation: spin 90s linear infinite;
}
.medallion__ring circle { stroke: var(--honey); stroke-width: 3.2; stroke-dasharray: 4.2 2.6; }
.medallion__ring .medallion__ring-b { stroke: var(--ground); stroke-width: 1; stroke-dashoffset: 2.1; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes seal-in {
	from { transform: perspective(900px) scale(.86) rotate(-10deg); filter: blur(6px); }
	to { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); filter: none; }
}

.hero__title { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.hero__l1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.75rem); line-height: 1.02; letter-spacing: -.01em; }
.hero__and { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--red); line-height: 1; }
.hero__l2 { font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.75rem); line-height: 1.1; color: var(--ink-2); max-width: 17ch; }
.hero__lede { font-size: 1.1875rem; color: var(--ink-2); max-width: 44ch; margin-bottom: 32px; }

.rise { animation: rise-in 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 150ms); }
@keyframes rise-in {
	from { transform: translateY(22px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

.patrons {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 24px;
	margin: 0 0 var(--band);
}
.patrons__item { border-top: 1px solid var(--line-2); padding-top: 12px; }
.patrons dt { color: var(--red); font-size: .9375rem; font-weight: 600; }
.patrons dd { margin: 4px 0 0; font-family: var(--display); font-size: 1.125rem; line-height: 1.3; }

/* Next service — a gabled panel, the church door */
.next {
	--roof: 96px;
	position: relative;
	background: var(--shingle), var(--frame);
	color: var(--on-dark);
	-webkit-clip-path: polygon(50% 0, 100% var(--roof), 100% 100%, 0 100%, 0 var(--roof));
	clip-path: polygon(50% 0, 100% var(--roof), 100% 100%, 0 100%, 0 var(--roof));
	padding: calc(var(--roof) + 8px) clamp(24px, 3vw, 40px) clamp(24px, 3vw, 36px);
	animation: door-in 1.1s var(--ease) .3s both;
	filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .18));
}
.next::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: var(--roof);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolyline points='0,100 50,0 100,100' fill='none' stroke='%23c8975a' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 18px / 100% calc(100% - 18px) no-repeat;
	opacity: .75;
}
.next::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 30px;
	width: 14px;
	height: 22px;
	transform: translateX(-50%);
	background: linear-gradient(var(--honey), var(--honey)) 50% 0 / 1.5px 100% no-repeat, linear-gradient(var(--honey), var(--honey)) 50% 6px / 100% 1.5px no-repeat;
}
@keyframes door-in {
	from { transform: translateY(32px); -webkit-clip-path: polygon(50% 40%, 50% 40%, 50% 100%, 50% 100%, 50% 40%); clip-path: polygon(50% 40%, 50% 40%, 50% 100%, 50% 100%, 50% 40%); }
	to { transform: none; }
}

.next__h {
	font-family: var(--text);
	font-size: .9375rem;
	font-weight: 600;
	color: var(--honey);
	letter-spacing: .02em;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--umber-3);
}
.next__when { font-family: var(--display); font-size: 1.5rem; margin: 0; }
.next__time {
	font-family: var(--display);
	font-size: clamp(3.5rem, 2.4rem + 3vw, 5rem);
	line-height: 1;
	margin: 4px 0 12px;
}
.next__title { font-size: 1.1875rem; font-weight: 600; margin-bottom: 8px; }
.next__place { display: flex; gap: 8px; align-items: flex-start; color: var(--on-dark-2); font-size: .9375rem; margin-bottom: 8px; }
.next__place .icon { margin-top: 2px; color: var(--honey); }
.next__count { font-size: .9375rem; color: var(--on-dark); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.next__count::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 10px;
	background: var(--honey);
	transform: rotate(45deg) translateY(-2px);
	box-shadow: 0 0 10px 2px rgba(212, 164, 102, .55);
	animation: flame 3.2s ease-in-out infinite;
}
@keyframes flame {
	0%, 100% { opacity: 1; box-shadow: 0 0 10px 2px rgba(212, 164, 102, .55); }
	45% { opacity: .78; box-shadow: 0 0 5px 1px rgba(212, 164, 102, .35); }
	60% { opacity: .95; box-shadow: 0 0 12px 3px rgba(212, 164, 102, .6); }
}
/* During the service: the mark becomes a live bell-ring pulse */
.next.is-live .next__h { color: #f0c9c2; }
.next.is-live .next__count { font-weight: 600; }
.next.is-live .next__count::before {
	border-radius: 50%;
	transform: translateY(-1px);
	background: #e58a7c;
	box-shadow: 0 0 0 0 rgba(229, 138, 124, .6);
	animation: live 1.8s ease-out infinite;
}
@keyframes live {
	0% { box-shadow: 0 0 0 0 rgba(229, 138, 124, .6); }
	100% { box-shadow: 0 0 0 12px rgba(229, 138, 124, 0); }
}
.next__note { font-size: .875rem; color: var(--on-dark-2); font-style: italic; }
.next__empty { font-size: 1.125rem; margin: 8px 0 24px; }
.next__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.next.is-feast .next__time { color: #f0c9c2; }
.next.is-feast .next__h { color: #e7a99f; }

@media (max-width: 1099px) {
	.hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px; }
}
@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; align-items: start; }
	.next { --roof: 72px; max-width: 560px; width: 100%; }
	.next::after { top: 18px; }
}
@media (max-width: 560px) {
	.medallion { margin: 16px auto 36px; }
	.hero__text { text-align: left; }
	.patrons { grid-template-columns: 1fr; gap: 0; }
	.patrons__item { display: flex; gap: 16px; align-items: baseline; padding-block: 10px; }
	.patrons dt { flex: 0 0 116px; }
	.patrons dd { margin: 0; }
	.actions .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Scroll reveal (only for elements below the fold, see site.js)
   ========================================================================== */

.js .will-reveal { opacity: 0; transform: translateY(36px); }
.js .will-reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .will-reveal .section-title::after { width: 0; }
.js .will-reveal.is-in .section-title::after { width: 64px; transition: width 1.2s var(--ease) .35s; }
.js .will-reveal .svc, .js .will-reveal .rite-list li, .js .will-reveal .news, .js .will-reveal .doxo__saints li { opacity: 0; transform: translateY(16px); }
.js .will-reveal.is-in .svc, .js .will-reveal.is-in .rite-list li, .js .will-reveal.is-in .news, .js .will-reveal.is-in .doxo__saints li { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.js .will-reveal.is-in :is(.svc, .rite-list li, .news, .doxo__saints li):nth-child(2) { transition-delay: .08s; }
.js .will-reveal.is-in :is(.svc, .rite-list li, .news, .doxo__saints li):nth-child(3) { transition-delay: .16s; }
.js .will-reveal.is-in :is(.svc, .rite-list li, .news, .doxo__saints li):nth-child(4) { transition-delay: .24s; }
.js .will-reveal.is-in :is(.svc, .rite-list li, .news, .doxo__saints li):nth-child(5) { transition-delay: .32s; }

/* ==========================================================================
   Sections
   ========================================================================== */

.band { padding-block: 0 var(--band); }
.band--calendar { background: var(--ground-2); padding-block: var(--band); margin-bottom: var(--band); border-block: 1px solid var(--line); }

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 32px;
}
.section-title {
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
	position: relative;
	padding-bottom: 20px;
}
.section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 10px;
	background: var(--rope-line) repeat-x 0 50% / 7px 10px;
}
.more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: .9375rem;
	text-decoration: none;
	white-space: nowrap;
}
.more:hover { text-decoration: underline; }
.more .icon { transition: transform .35s var(--ease); }
.more:hover .icon { transform: translateX(5px); }

.split {
	display: grid;
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.split__full { grid-column: 1 / -1; }
@media (max-width: 899px) {
	.split { grid-template-columns: 1fr; }
}

.empty { color: var(--ink-2); padding: 24px 0; border-top: 1px solid var(--line); }

/* Service rows */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.svc {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: 172px 76px minmax(0, 1fr) 48px;
	gap: 16px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.svc::after {
	content: "";
	position: absolute;
	inset: 0 -16px;
	z-index: -1;
	background: var(--paper);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s var(--ease);
}
.svc:hover::after { transform: scaleX(1); }
.svc__date { display: flex; align-items: center; gap: 12px; }
.svc__day { font-family: var(--display); font-size: 2.25rem; line-height: 1; min-width: 1.4em; }
.svc__wd { display: flex; flex-direction: column; font-size: .875rem; color: var(--ink-2); line-height: 1.3; }
.svc__mo { color: var(--ink-3); }
.svc__time { display: flex; flex-direction: column; line-height: 1.25; font-weight: 600; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.svc__end { font-weight: 400; color: var(--ink-3); font-size: .875rem; }
.svc__body { display: flex; flex-direction: column; min-width: 0; }
.svc__title { font-weight: 600; }
.svc__meta { font-size: .875rem; color: var(--ink-2); }
.svc__ics {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	color: var(--ink);
	transition: background-color .2s, color .2s, border-color .2s;
}
.svc__ics:hover { background: var(--solid-bg); border-color: var(--solid-bg); color: var(--solid-fg); }

/* Feast = a carved notch on the left edge and a red day number */
.svc.is-feast .svc__day, .svc.is-feast .svc__title { color: var(--red); }
.svc.is-feast::before {
	content: "";
	position: absolute;
	left: calc(-1 * min(var(--gutter), 24px));
	top: 50%;
	width: 10px;
	height: 16px;
	transform: translateY(-50%);
	background: var(--red);
	-webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}

@media (max-width: 640px) {
	.svc { grid-template-columns: 76px minmax(0, 1fr) 44px; gap: 4px 12px; align-items: start; }
	.svc::after { inset: 0 -8px; }
	.svc__date { grid-row: span 2; flex-direction: column; align-items: flex-start; gap: 2px; }
	.svc__day { font-size: 2rem; }
	.svc__time { grid-column: 2; flex-direction: row; gap: 6px; align-items: baseline; }
	.svc__body { grid-column: 2; }
	.svc__ics { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
	.svc.is-feast::before { left: -14px; }
}

/* Side notes */
.know { background: var(--paper); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.know + .know { margin-top: 16px; }
.know__h { font-size: 1.375rem; margin-bottom: 4px; }
.know p { margin: 0; color: var(--ink-2); }
.know__list { margin: 0 0 8px; width: 100%; }
.know__list > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.know__list > div:first-child { padding-top: 0; }
.know__list dt { font-weight: 600; }
.know__list dd { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.know .btn { width: 100%; }
.know__icon { width: 28px; height: 28px; color: var(--red); }

/* Welcome: the priest's word and the essentials */
.welcome {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.welcome .section-title { margin-bottom: 28px; }
.welcome__lede {
	font-family: var(--display);
	font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
	line-height: 1.45;
	color: var(--ink);
	max-width: 36ch;
	margin-bottom: 24px;
}
.welcome__sign { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; padding-left: 16px; border-left: 2px solid var(--red); color: var(--ink-3); font-size: .9375rem; }
.welcome__name { color: var(--ink); font-weight: 600; }
.facts { margin: 0; border-top: 1px solid var(--line-2); }
.facts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; font-size: .9375rem; }
.facts dd { margin: 0; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 899px) { .welcome { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* Calendar on home */
.cal-home {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}
.cal-home__h { font-family: var(--text); font-size: .875rem; font-weight: 600; color: var(--ink-2); margin: 28px 0 8px; }
.cal-today__date { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; color: var(--ink-2); line-height: 1.3; }
.cal-today__d { font-family: var(--display); font-size: 5rem; line-height: .9; color: var(--ink); }
.cal-today__feast { font-family: var(--display); font-size: 1.375rem; line-height: 1.25; margin-bottom: 12px; }
.rank-great, .rank-great a { color: var(--red); }
.rank-parish { color: var(--ink); }

.fast {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: .875rem;
	font-weight: 600;
	color: var(--ink-2);
}
.fast::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; }
.fast--fast { color: var(--ink); }
.fast--fast::before { background: currentColor; }
.fast--free { color: var(--ink-2); }

.cal-next { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.cal-next li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .9375rem; }
.cal-next time { font-weight: 600; font-variant-numeric: tabular-nums; }
.cal-next .rank-parish time::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; background: var(--honey); transform: rotate(45deg) translateY(-2px); }

.cal-facts { margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cal-facts dt { font-size: .8125rem; color: var(--ink-2); }
.cal-facts dd { margin: 4px 0 0; font-family: var(--display); font-size: 1.125rem; line-height: 1.25; }
.cal-facts dd span { display: block; font-family: var(--text); font-size: .875rem; color: var(--ink-2); }

@media (max-width: 1023px) {
	.cal-home { grid-template-columns: 1fr 1fr; }
	.cal-home__read { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
	.cal-home { grid-template-columns: 1fr; }
	.cal-next li { grid-template-columns: 100px minmax(0, 1fr); }
}

/* Doxologia — saints and readings of the day */
.doxo__h { font-family: var(--text); font-size: .875rem; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.doxo__saints { list-style: none; margin: 0; padding: 0; }
.doxo__saints li + li { border-top: 1px solid var(--line-2); }
.doxo__saints a {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 14px 0;
	text-decoration: none;
}
.doxo__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--paper);
	box-shadow: 0 0 0 1.5px var(--honey);
	color: var(--honey);
}
.doxo__icon img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.doxo__saints a:hover img { transform: scale(1.08); }
.doxo__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.doxo__title { font-family: var(--display); font-size: 1.125rem; line-height: 1.25; }
.doxo__saints a:hover .doxo__title { color: var(--red); }
.doxo__desc {
	font-size: .875rem;
	color: var(--ink-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.doxo--readings { display: flex; flex-direction: column; gap: 16px; }
.reading {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px;
	background: var(--paper);
	border: 1px solid var(--line);
	text-decoration: none;
	transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.reading:hover { border-color: var(--honey); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.reading__label { font-size: .8125rem; font-weight: 700; color: var(--red); letter-spacing: .03em; }
.reading__text {
	font-family: var(--display);
	font-size: 1.0625rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.reading__ref { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.reading:hover .reading__ref .icon { transform: translateX(4px); }
.reading__ref .icon { transition: transform .35s var(--ease); }
.doxo__src { margin: 12px 0 0; font-size: .8125rem; color: var(--ink-3); }
.doxo__src a { color: var(--ink-2); }
.doxo-off { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ink-2); font-size: .9375rem; }
.doxo-off a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }

.cal-doxo { padding: 32px 0 40px; margin-bottom: 32px; border-block: 1px solid var(--line-2); }
.cal-doxo__h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 20px; }
.cal-doxo__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 820px) { .cal-doxo__grid { grid-template-columns: 1fr; } }

/* Sacraments: ruled rows, not cards */
.rite-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	column-gap: 40px;
	border-top: 1px solid var(--line-2);
}
.rite-list li { border-bottom: 1px solid var(--line-2); }
.rite-list a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 2px 16px;
	padding: 20px 0;
	text-decoration: none;
}
.rite-list__name { font-family: var(--display); font-size: 1.375rem; line-height: 1.2; transition: color .2s; }
.rite-list__hint { grid-column: 1; font-size: .9375rem; color: var(--ink-2); }
.rite-list .icon { grid-column: 2; grid-row: 1 / span 2; transition: transform .35s var(--ease), color .2s; }
.rite-list a:hover .rite-list__name { color: var(--red); }
.rite-list a:hover .icon { transform: translateX(6px); color: var(--red); }

/* Pomelnic on home: text + a paper pomelnic with the cross on top */
.pom-band {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
}
.pom-band__text p { color: var(--ink-2); max-width: 46ch; margin: 24px 0 28px; font-size: 1.125rem; }
.pom-sheet {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	padding: 56px 28px 28px;
	background: var(--paper);
	border: 1px solid var(--line-2);
	box-shadow: var(--shadow);
	transform: rotate(-1.6deg);
	transition: transform .8s var(--ease);
}
.pom-band:hover .pom-sheet { transform: rotate(0deg) translateY(-4px); }
.pom-sheet::before {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px solid var(--honey);
	opacity: .55;
	pointer-events: none;
}
.pom-sheet__cross { position: absolute; top: 18px; left: 50%; width: 22px; height: 22px; margin-left: -11px; color: var(--red); }
.pom-sheet__col { padding: 0 16px; }
.pom-sheet__col + .pom-sheet__col { border-left: 1px solid var(--line-2); }
.pom-sheet__h { font-family: var(--text); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.pom-sheet__col p:last-child { font-family: var(--display); font-size: 1.1875rem; line-height: 1.7; margin: 0; }
@media (max-width: 760px) {
	.pom-band { grid-template-columns: 1fr; }
	.pom-sheet { transform: none; }
}

/* Forms */
.pomelnic { scroll-margin-top: calc(var(--mast) + 24px); }
.pomelnic__form { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pomelnic__lists, .pomelnic__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; }
@media (max-width: 640px) { .pomelnic__lists, .pomelnic__meta { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative; }
.field label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.field__l { font-weight: 600; }
.field__h { font-size: .875rem; color: var(--ink-3); }
.field--vii .field__l { color: var(--ink); }
.field--ador .field__l { color: var(--red); }
.field textarea, .field input[type="text"], .field select {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1.5px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.6 var(--text);
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
	appearance: none;
}
.field textarea { font-family: var(--display); font-size: 1.1875rem; line-height: 1.7; resize: vertical; min-height: 220px;
	background-image: linear-gradient(transparent calc(100% - 1px), var(--line) 0);
	background-size: 100% calc(1.1875rem * 1.7);
	background-attachment: local;
	background-position: 0 12px;
}
.field select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23948a7e' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	text-overflow: ellipsis;
}
.field textarea:focus, .field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--honey) 35%, transparent); }
.field textarea::placeholder, .field input::placeholder { color: var(--ink-3); opacity: .7; }
.field__count { position: absolute; right: 12px; bottom: 10px; font-size: .8125rem; font-weight: 600; color: var(--ink-3); pointer-events: none; }
.field__note { margin: -8px 0 0; font-size: .875rem; color: var(--ink-2); max-width: 70ch; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); cursor: pointer; max-width: 70ch; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); }
.check a { color: var(--red); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { border: 1px solid var(--red); padding: 12px 16px; background: var(--paper); color: var(--ink); margin: 0 0 24px; }
.pomelnic__done { display: flex; gap: 16px; align-items: flex-start; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--honey); animation: rise-in .8s var(--ease) both; }
.pomelnic__done > .icon { width: 28px; height: 28px; color: var(--honey); margin-top: 2px; }
.pomelnic__done-h { font-family: var(--display); font-size: 1.5rem; line-height: 1.25; margin-bottom: 8px; }
.pomelnic__done p { color: var(--ink-2); }
.pomelnic__done :focus-visible, .form-error:focus { outline: none; }

/* Announcements */
.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.news { border-top: 1px solid var(--line-2); padding-top: 20px; }
.news__date { display: block; font-size: .875rem; color: var(--ink-2); margin-bottom: 8px; }
.news__title { font-size: 1.375rem; line-height: 1.25; margin-bottom: 12px; }
.news__title a { text-decoration: none; }
.news__title a:hover { text-decoration: underline; }
.news__excerpt { color: var(--ink-2); margin: 0; }
.news-list--full { grid-template-columns: 1fr; gap: 0; max-width: 760px; }
.news-list--full .news { padding-block: 28px; }
@media (max-width: 899px) { .news-list { grid-template-columns: 1fr; gap: 0; } .news { padding-block: 20px; } }

/* Support band */
.support { background: var(--shingle), var(--frame); color: var(--on-dark); margin-bottom: var(--band); }
.support__inner {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) auto;
	gap: 24px 48px;
	align-items: center;
	padding-block: clamp(48px, 6vw, 80px);
}
.support__h { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.support p { margin: 0; color: var(--on-dark-2); }
@media (max-width: 899px) { .support__inner { grid-template-columns: 1fr; justify-items: start; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contact__name { font-family: var(--display); font-size: 1.75rem; line-height: 1.2; margin: 0; }
.contact__role { color: var(--ink-2); margin-bottom: 24px; }
.contact__lines { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line-2); }
.contact__lines li { border-bottom: 1px solid var(--line-2); }
.contact__lines a, .contact__addr { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; text-decoration: none; overflow-wrap: anywhere; }
.contact__lines a:hover span { text-decoration: underline; }
.contact__lines .icon { margin-top: 3px; color: var(--ink-2); }
.map {
	position: relative;
	min-height: 380px;
	background: var(--ground-2);
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
	overflow: hidden;
}
.map::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
	opacity: .5;
}
.map.is-loaded::before { display: none; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { position: relative; max-width: 42ch; text-align: center; padding: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); margin: 24px; }
.map__consent p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.map__icon { width: 40px; height: 40px; color: var(--ink-3); }
.map__remember { display: inline-flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--ink-2); cursor: pointer; }
.map__remember input { width: 18px; height: 18px; accent-color: var(--red); }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } .map { min-height: 340px; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page-head { position: relative; padding-block: clamp(28px, 4vw, 56px) clamp(32px, 4vw, 48px); overflow: hidden; }
.page-head::before {
	content: "";
	position: absolute;
	right: max(-120px, calc((100vw - var(--max)) / 2 - 220px));
	top: 50%;
	width: 520px;
	height: 520px;
	transform: translateY(-50%);
	background: repeating-radial-gradient(circle, transparent 0 46px, rgba(200, 151, 90, .14) 47px 48px);
	-webkit-mask-image: radial-gradient(circle, #000 10%, transparent 65%);
	mask-image: radial-gradient(circle, #000 10%, transparent 65%);
	pointer-events: none;
}
.page-head .wrap { position: relative; }
.page-head.has-tabs { padding-bottom: 0; border-bottom: 1px solid var(--line-2); margin-bottom: clamp(40px, 5vw, 64px); }

/* Breadcrumbs */
.crumbs { margin-bottom: 20px; font-size: .875rem; color: var(--ink-3); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 12px; border-top: 1.5px solid var(--line-2); border-right: 1.5px solid var(--line-2); transform: rotate(45deg); flex: none; }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-3); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Section tabs under the title */
.tabs { margin-top: clamp(28px, 4vw, 40px); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 3vw, 36px); }
.tabs a {
	position: relative;
	display: block;
	padding: 12px 0 16px;
	font-weight: 600;
	font-size: .9375rem;
	color: var(--ink-2);
	text-decoration: none;
	white-space: nowrap;
}
.tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.tabs a:hover { color: var(--ink); }
.tabs a:hover::after { transform: scaleX(.35); }
.tabs a[aria-current="page"] { color: var(--ink); }
.tabs a[aria-current="page"]::after { transform: scaleX(1); }
.page-title {
	font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
	line-height: 1.05;
	position: relative;
	padding-bottom: 28px;
	max-width: 20ch;
	animation: rise-in .9s var(--ease) both;
}
.page-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 96px;
	height: 12px;
	background: var(--rope-line) repeat-x 0 50% / 8px 12px;
	animation: grow 1.3s var(--ease) .3s both;
}
@keyframes grow { from { width: 0; } to { width: 96px; } }
.page-head__lede { margin: 20px 0 0; font-size: 1.125rem; color: var(--ink-2); max-width: 60ch; animation: rise-in .9s var(--ease) .12s both; }

.page-body { padding-bottom: var(--band); }
.page-body.has-toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

.toc { position: -webkit-sticky; position: sticky; top: calc(var(--mast) + 24px); border-top: 1px solid var(--line-2); padding-top: 16px; }
.toc__h { font-size: .875rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -14px; border-left: 2px solid transparent; font-size: .9375rem; text-decoration: none; line-height: 1.35; transition: border-color .3s, color .2s; }
.toc a:hover { color: var(--red); }
.toc a.is-active { border-left-color: var(--red); color: var(--red); }
@media (max-width: 899px) {
	.page-body.has-toc { grid-template-columns: 1fr; gap: 24px; }
	.toc { position: static; }
	.toc ol { display: flex; flex-wrap: wrap; gap: 4px 20px; }
	.toc a { padding-left: 0; margin-left: 0; border-left: 0; }
}

/* Reading column */
.prose { max-width: 68ch; }
.prose--intro { margin-bottom: 40px; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.375rem; margin: 1.8em 0 .5em; }
.prose h2 + h3 { margin-top: .8em; }
.prose .lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.prose a { color: var(--red); }
.prose a:hover { color: var(--red-2); }
.prose strong { font-weight: 650; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .6em; }
.prose ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .62em;
	width: 7px;
	height: 7px;
	background: var(--honey);
	transform: rotate(45deg);
}
.prose ol:not(.steps) { padding-left: 1.4em; }
.prose ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.6em; border-top: 1px solid var(--line-2); }
.prose ol.steps li {
	counter-increment: step;
	position: relative;
	padding: 16px 0 16px 64px;
	border-bottom: 1px solid var(--line);
}
.prose ol.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 10px;
	width: 44px;
	font-family: var(--display);
	font-size: 2rem;
	line-height: 1.2;
	color: var(--red);
	text-align: center;
}
.prose ol.steps strong { color: var(--ink); }
.prose figure, .prose__figure { margin: 2em 0; }
.prose figcaption { font-size: .875rem; color: var(--ink-2); margin-top: 8px; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 24px; border-left: 1px solid var(--honey); font-family: var(--display); font-size: 1.375rem; line-height: 1.4; }
.prose table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.prose hr { border: 0; height: 12px; background: var(--rope-line) repeat-x 0 50% / 8px 12px; width: 96px; margin: 3em 0; }

/* WordPress blocks inside the column */
.wp-block-image img, .wp-block-gallery img { border-radius: var(--radius); }
.wp-block-gallery { margin: 2em 0; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image { margin: 0; }
.alignwide { max-width: none; }
.wp-block-button__link { border-radius: var(--radius); background: var(--solid-bg); color: var(--solid-fg); font-weight: 600; }

/* Program page */
.month + .month { margin-top: 48px; }
.month__h { font-size: 1.625rem; margin-bottom: 16px; }

/* Calendar page */
.cal-nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
	border-block: 1px solid var(--line-2);
	position: -webkit-sticky;
	position: sticky;
	top: var(--mast);
	z-index: 5;
	background: var(--ground);
}
.admin-bar .cal-nav { top: calc(var(--mast) + 32px); }
.cal-nav a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }
.cal-nav a[rel="next"] { justify-self: end; }
.cal-nav a:hover { color: var(--red); }
.cal-nav__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); text-align: center; }
.cal-jump { margin: 16px 0 8px; font-size: .9375rem; }
.cal-jump a { font-weight: 600; }

.cal-month { list-style: none; margin: 0; padding: 0; }
.cal-day {
	position: relative;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 20px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	scroll-margin-top: calc(var(--mast) + 96px);
}
.cal-day__date { display: flex; align-items: baseline; gap: 10px; }
.cal-day__n { font-family: var(--display); font-size: 1.75rem; line-height: 1; min-width: 1.3em; }
.cal-day__wd { font-size: .875rem; color: var(--ink-2); }
.cal-day__body { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding-top: 3px; }
.cal-day__feast { margin: 0; display: flex; gap: 8px; align-items: baseline; line-height: 1.35; }
.cal-day__feast.rank-great, .cal-day__feast.rank-parish { font-weight: 600; }
.cal-day__feast.rank-parish::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--honey); transform: rotate(45deg) translateY(-1px); }
.cross-mark { width: 1em; height: 1em; transform: translateY(2px); }
.cal-day.is-sunday .cal-day__n, .cal-day.is-sunday .cal-day__wd, .cal-day.is-great .cal-day__n { color: var(--red); }
.cal-day.is-today { background: var(--paper); box-shadow: -16px 0 0 var(--paper), 16px 0 0 var(--paper); }
.cal-day.is-today::before {
	content: "";
	position: absolute;
	left: -16px;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--red);
}
.cal-day__today { font-size: .8125rem; font-weight: 700; color: var(--red); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 32px 0 0; font-size: .9375rem; color: var(--ink-2); }
.cal-legend > div { display: flex; gap: 10px; align-items: center; }
.cal-legend dd { margin: 0; }
.swatch { display: inline-grid; place-items: center; width: 16px; height: 16px; }
.swatch--great { color: var(--red); }
.swatch--parish::before { content: ""; width: 9px; height: 9px; background: var(--honey); transform: rotate(45deg); }
.swatch--fast::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
@media (max-width: 560px) {
	.cal-day { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
	.cal-day__date { flex-direction: column; gap: 2px; }
	.cal-nav a span { display: none; }
	.cal-day.is-today { box-shadow: -8px 0 0 var(--paper), 8px 0 0 var(--paper); }
	.cal-day.is-today::before { left: -8px; }
}

/* Donations */
.bank { background: var(--paper); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.bank__h { font-size: 1.5rem; }
.bank__list { margin: 0; width: 100%; }
.bank__list > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.bank__list dt { font-size: .8125rem; font-weight: 600; color: var(--ink-2); letter-spacing: .03em; }
.bank__list dd { margin: 2px 0 0; }
.bank__iban dd { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.bank__num { font-size: 1.125rem; font-weight: 600; letter-spacing: .03em; font-variant-numeric: tabular-nums; word-spacing: .1em; }
.bank__pending { margin: 0; color: var(--ink-2); }

/* Gallery */
.albums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px 32px; }
.album a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.album__img { aspect-ratio: 4 / 3; background: var(--shingle), var(--umber-2); display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.album__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.album a:hover img { transform: scale(1.04); }
.album__mark { width: 48px; height: 68px; color: var(--honey); opacity: .7; }
.album__title { font-family: var(--display); font-size: 1.375rem; line-height: 1.2; }
.album a:hover .album__title { color: var(--red); }
.album__meta { font-size: .875rem; color: var(--ink-2); }
.empty-state { display: flex; gap: 24px; align-items: center; padding: 32px 0; border-block: 1px solid var(--line-2); max-width: 68ch; }
.empty-state__mark { width: 40px; height: 56px; flex: none; color: var(--ink-3); }
.empty-state p { margin: 0; color: var(--ink-2); }

/* Post navigation and pagination */
.post-nav { display: flex; justify-content: space-between; gap: 24px; padding-bottom: var(--band); font-weight: 600; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); text-decoration: none; }
.pagination .current { background: var(--solid-bg); color: var(--solid-fg); border-color: var(--solid-bg); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--shingle), var(--frame); color: var(--on-dark); font-size: .9375rem; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: var(--honey); }
.footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3.5fr);
	gap: 40px clamp(32px, 5vw, 72px);
	padding-block: 64px 48px;
}
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer__strong { color: var(--on-dark); font-weight: 600; }
.footer__contact .footer__list a { display: inline-flex; align-items: flex-start; gap: 10px; }
.footer__contact .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--honey); }
.footer__links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; padding-block: 24px; border-top: 1px solid var(--umber-3); }
.footer__links .footer__h { margin: 0; }
.footer__links ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer__links a { text-decoration: none; color: var(--on-dark-2); font-size: .875rem; }
.footer__links a:hover { color: var(--honey); text-decoration: underline; }
.footer__logo { width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(200, 151, 90, .55), 0 12px 28px -10px rgba(0, 0, 0, .7); }
.footer__name { font-family: var(--display); font-size: 1.25rem; margin: 20px 0 8px; line-height: 1.25; }
.footer__patrons { color: var(--on-dark-2); margin: 0; }
.footer__h { font-family: var(--text); font-size: .875rem; font-weight: 600; color: var(--honey); letter-spacing: .03em; margin-bottom: 16px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--on-dark-2); }
.footer__list a { text-decoration: none; color: var(--on-dark); overflow-wrap: anywhere; }
.footer__list a:hover { text-decoration: underline; }
.footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 32px;
	padding-top: 24px;
	padding-bottom: max(32px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--umber-3);
	color: var(--on-dark-2);
	font-size: .875rem;
}
.footer__base p { margin: 0 auto 0 0; }
.footer__legal .nav-list a { padding: 4px 0; margin-right: 20px; font-size: .875rem; color: var(--on-dark-2); }
.footer__legal .nav-list a::after { display: none; }
.footer__legal .nav-list { flex-direction: row; }
.footer__legal .nav-list a { border: 0; }
.footer__legal .nav-list a:hover { color: var(--honey); }
.footer__fb { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
@media (max-width: 999px) {
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__nav { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 560px) {
	.footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.footer__nav { grid-row: auto; gap: 24px; }
}

/* ==========================================================================
   Motion preferences and print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .will-reveal, .js .will-reveal * { opacity: 1 !important; transform: none !important; }
	@view-transition { navigation: none; }
}

@media print {
	.topbar, .crumbs, .tabs, .masthead, .footer, .support, .nav-toggle, .split__side, .svc__ics, .cal-nav a, .cal-jump, .map, .actions, .post-nav, .medallion, .theme-toggle { display: none !important; }
	:root { --ground: #fff; --ink: #000; --ink-2: #333; --red: #9b2a22; }
	body { background: #fff; font-size: 11pt; }
	.page-head { padding: 0 0 12pt; }
	.page-head::before, .page-title::after, .section-title::after { display: none; }
	.split, .page-body.has-toc { display: block; }
	.svc { grid-template-columns: 90px 60px 1fr; padding: 6pt 0; }
	.svc::after, .svc.is-feast::before { display: none; }
	a { text-decoration: none; }
}
