/*
Theme Name: Memento Posteritas
Theme URI: https://mementoposteritas.sk/
Author: Memento Posteritas
Description: A custom editorial theme for the history and heritage of the region.
Version: 1.6.0
Text Domain: memento-heritage
Requires at least: 6.4
Requires PHP: 8.0
*/

:root {
	--paper: #f5efdf;
	--paper-light: #fffaf0;
	--ink: #263638;
	--ink-soft: #48585a;
	--muted: #6c7069;
	--line: #ddd1b8;
	--accent: #98431e;
	--accent-dark: #6e3119;
	--forest: #263c3d;
	--serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
	--sans: "Aptos", "Segoe UI", Arial, sans-serif;
	--content-width: 1120px;
	--reading-width: 780px;
	--shadow: 0 18px 48px rgb(34 40 36 / 9%);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
	font-family: var(--sans);
}

a {
	color: var(--accent-dark);
	text-decoration-color: rgb(120 83 38 / 45%);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--ink);
	text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid #d5984e;
	outline-offset: 3px;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	clip-path: inset(50%);
	border: 0;
}

.skip-link {
	position: fixed;
	z-index: 1000;
	top: 12px;
	left: 12px;
	padding: 10px 16px;
	transform: translateY(-150%);
	background: var(--paper-light);
	color: var(--ink);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	border-bottom: 1px solid rgb(239 225 193 / 14%);
	background: #334c4d;
	color: var(--paper-light);
	box-shadow: 0 8px 26px rgb(25 43 43 / 12%);
}

body.admin-bar .site-header {
	top: 32px;
}

.header-inner {
	display: flex;
	width: min(1200px, calc(100% - 56px));
	min-height: 108px;
	align-items: center;
	justify-content: space-between;
	gap: clamp(16px, 2.4vw, 34px);
	margin: 0 auto;
}

.site-branding {
	display: flex;
	flex: 0 0 auto;
	align-items: flex-start;
	flex-direction: column;
	gap: 3px;
	color: var(--paper-light);
	text-decoration: none;
}

.site-branding:hover {
	color: var(--paper-light);
}

.site-brand-logo {
	display: block;
	width: 145px;
	height: auto;
	filter: drop-shadow(0 2px 5px rgb(0 0 0 / 14%));
}

.site-branding:hover .site-brand-logo {
	filter: drop-shadow(0 2px 8px rgb(241 215 165 / 38%));
}

.site-tagline {
	display: block;
	padding-left: 3px;
	color: #e4d5b8;
	font-size: 0.61rem;
	letter-spacing: 0.065em;
	line-height: 1.35;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 13px;
	border: 1px solid rgb(239 225 193 / 40%);
	border-radius: 2px;
	background: transparent;
	color: var(--paper-light);
	font-size: 0.84rem;
	font-weight: 700;
}

.primary-navigation ul {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation a {
	position: relative;
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: #f6efdf;
	font-size: 0.89rem;
	font-weight: 650;
	text-decoration: none;
	transition: color 160ms ease;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
	color: #f0cf91;
}

.primary-navigation a::after {
	position: absolute;
	right: 0;
	bottom: 6px;
	left: 0;
	height: 2px;
	transform: scaleX(0);
	transform-origin: left center;
	background: #d5984e;
	content: "";
	transition: transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after {
	transform: scaleX(1);
}

.header-contact-link {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 0 15px;
	border: 1px solid rgb(241 215 165 / 64%);
	color: #f6e8c9;
	font-size: 0.82rem;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 160ms ease, color 160ms ease;
}

.header-contact-link:hover {
	background: #f1d7a5;
	color: #334c4d;
}

.header-search-link {
	display: inline-flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgb(239 225 193 / 40%);
	border-radius: 50%;
	color: #f6efdf;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.header-search-link svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.7;
}

.header-search-link:hover {
	border-color: #f1d7a5;
	background: rgb(241 215 165 / 12%);
	color: #f1d7a5;
}

.site-main {
	min-height: 60vh;
}

.content-wrap {
	width: min(var(--content-width), calc(100% - 48px));
	margin: 0 auto;
}

.archive-heading {
	margin: 0 0 28px;
	color: var(--ink);
	font-family: var(--serif);
	font-size: clamp(2.2rem, 4.8vw, 3.75rem);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.archive-description {
	max-width: 720px;
	margin: -10px 0 28px;
	color: var(--muted);
}

.archive-hero {
	position: relative;
	display: flex;
	min-height: 300px;
	align-items: end;
	margin: 40px auto 28px;
	overflow: hidden;
	background: var(--forest);
	color: var(--paper-light);
}

.archive-hero-image,
.archive-hero-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.archive-hero-image img {
	object-fit: cover;
	opacity: 0.43;
}

.archive-hero-copy {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: clamp(26px, 5vw, 52px);
	background: linear-gradient(0deg, rgb(18 27 24 / 82%), transparent);
}

.eyebrow {
	margin: 0 0 10px;
	color: #f1d7a5;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.archive-hero h1 {
	max-width: 820px;
	margin: 0;
	color: var(--paper-light);
	font-family: var(--serif);
	font-size: clamp(2.3rem, 5.8vw, 4.75rem);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.04;
}

.archive-tools {
	margin: 0 auto 38px;
	padding: 22px 24px;
	border: 1px solid var(--line);
	background: var(--paper-light);
}

.archive-search {
	display: flex;
	max-width: 760px;
	gap: 10px;
}

.archive-search input[type="search"] {
	min-width: 0;
	min-height: 48px;
	flex: 1;
	padding: 10px 14px;
	border: 1px solid #c9bead;
	border-radius: 2px;
	background: #fff;
	color: var(--ink);
	font-size: 1rem;
}

.button,
.archive-search button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border: 1px solid var(--accent);
	border-radius: 2px;
	background: var(--accent);
	color: #fff;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.button:hover,
.archive-search button:hover {
	border-color: var(--accent-dark);
	background: var(--accent-dark);
	color: #fff;
}

.topic-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin-top: 18px;
	color: var(--muted);
	font-size: 0.9rem;
}

.topic-links a {
	padding: 5px 11px;
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--ink-soft);
	text-decoration: none;
}

.topic-links a:hover {
	border-color: var(--accent);
	color: var(--accent-dark);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 56px;
}

.post-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--paper-light);
	box-shadow: 0 8px 24px rgb(34 40 36 / 5%);
}

.post-card-image {
	display: block;
	overflow: hidden;
	background: #e1d9ca;
	aspect-ratio: 3 / 2;
}

.post-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.post-card-image:hover img {
	transform: scale(1.025);
}

.post-card-image--empty {
	display: grid;
	place-items: center;
	color: var(--muted);
	font-family: var(--serif);
	font-size: 1.2rem;
}

.post-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 22px 24px;
}

.post-card-category,
.post-meta {
	margin: 0 0 9px;
	color: var(--muted);
	font-size: 0.82rem;
}

.post-card-category a {
	color: var(--accent-dark);
	font-weight: 700;
	text-decoration: none;
}

.post-card-title {
	margin: 0 0 12px;
	font-family: var(--serif);
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	font-weight: 500;
	line-height: 1.19;
}

.post-card-title a {
	color: var(--ink);
	text-decoration: none;
}

.post-card-title a:hover {
	color: var(--accent-dark);
}

.post-card-excerpt {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.96rem;
	line-height: 1.6;
}

.post-card-read-more {
	display: inline-block;
	margin-top: auto;
	padding-top: 18px;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.pagination {
	display: flex;
	justify-content: center;
	margin: 0 0 64px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination a,
.pagination span {
	display: inline-flex;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 7px 12px;
	border: 1px solid var(--line);
	background: var(--paper-light);
	color: var(--ink);
	text-decoration: none;
}

.pagination .current {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper-light);
}

.site-footer {
	position: relative;
	overflow: hidden;
	background: #263c3d;
	color: var(--paper-light);
}

.site-footer::before {
	position: absolute;
	top: 0;
	left: max(28px, calc((100vw - 1200px) / 2));
	width: 58px;
	height: 3px;
	background: #c77a3a;
	content: "";
}

.footer-inner {
	display: grid;
	width: min(1200px, calc(100% - 56px));
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: start;
	gap: clamp(32px, 8vw, 120px);
	margin: 0 auto;
	padding: 56px 0 42px;
}

.footer-about {
	max-width: 400px;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	padding: 11px 15px;
	border-left: 3px solid var(--org-clay);
	background: #f5efdf;
	box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.footer-brand:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgb(0 0 0 / 20%);
}

.footer-brand-logo {
	display: block;
	width: clamp(190px, 22vw, 238px);
	height: auto;
}

.footer-description {
	max-width: 350px;
	margin: 17px 0 18px;
	color: #d9ded6;
	font-size: 0.92rem;
	line-height: 1.7;
}

.footer-registration {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-top: 10px;
	border-top: 1px solid rgb(255 250 240 / 18%);
	color: #cbd2cb;
	font-size: 0.78rem;
}

.footer-registration strong {
	color: #f1d7a5;
	font-weight: 650;
	letter-spacing: 0.04em;
}

.footer-contact {
	padding-top: 4px;
}

.footer-contact h2 {
	margin: 0 0 19px;
	color: #f1d7a5;
	font-family: var(--sans);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-contact {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 9px;
}

.footer-contact > a,
.footer-contact address {
	color: #f6efdf;
	font-size: 0.88rem;
	font-style: normal;
	line-height: 1.5;
	text-decoration: none;
}

.footer-contact > a:hover {
	color: #f1d7a5;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.footer-contact .footer-email {
	color: #f1d7a5;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.footer-contact .footer-social-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 7px;
	color: #f1d7a5;
	font-size: 0.8rem;
	font-weight: 700;
}

.footer-bottom {
	display: flex;
	width: min(1200px, calc(100% - 56px));
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin: 0 auto;
	padding: 17px 0 23px;
	border-top: 1px solid rgb(255 250 240 / 18%);
	color: #cbd2cb;
	font-size: 0.76rem;
}

.site-footer .footer-bottom p {
	margin: 0;
}

.footer-bottom-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

.footer-bottom a {
	color: #e4d5b8;
	text-decoration: none;
}

.footer-bottom a:hover {
	color: #fff8e9;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Single article */
.article-shell {
	width: min(100%, var(--content-width));
	margin: 40px auto 72px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--paper-light);
	box-shadow: var(--shadow);
}

.article-shell {
	scroll-margin-top: 16px;
}

.article-content h2,
.article-content h3 {
	scroll-margin-top: 24px;
}

.reading-progress {
	position: fixed;
	z-index: 20;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: transparent;
	pointer-events: none;
}

.reading-progress span {
	display: block;
	width: 100%;
	height: 100%;
	transform: scaleX(var(--reading-progress, 0%));
	transform-origin: left center;
	background: #d5a85f;
}

.article-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	width: min(100%, var(--content-width));
	margin: 24px auto 0;
	color: var(--muted);
	font-size: 0.8rem;
}

.article-breadcrumbs a {
	color: var(--muted);
	text-decoration: none;
}

.article-breadcrumbs a:hover {
	color: var(--accent-dark);
	text-decoration: underline;
}

.article-header {
	padding: clamp(34px, 7vw, 78px) clamp(24px, 8vw, 96px) 40px;
	background: var(--ink);
	color: var(--paper-light);
}

.article-header .post-card-category {
	margin-bottom: 18px;
	color: #f1d7a5;
	font-size: 0.84rem;
	letter-spacing: 0.04em;
}

.article-header .post-card-category a {
	color: #f1d7a5;
}

.article-title {
	margin: 0 0 20px;
	color: var(--paper-light);
	font-family: var(--serif);
	font-size: clamp(2.35rem, 5.6vw, 4.6rem);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	color: #d5c8b2;
	font-size: 0.9rem;
}

.article-author-link {
	color: #f3dfba;
	text-decoration-color: rgb(243 223 186 / 55%);
}

.article-author-link:hover {
	color: #fff;
}

.article-header-rule {
	width: 72px;
	height: 3px;
	margin-top: 30px;
	background: var(--accent);
}

.article-reading-time {
	margin: 0 0 28px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.86rem;
	letter-spacing: 0.04em;
}

.article-content {
	max-width: var(--reading-width);
	margin: 0 auto;
	padding: clamp(30px, 6vw, 68px) clamp(22px, 6vw, 72px);
	color: var(--ink);
	font-size: calc(1.12rem + var(--article-font-adjust, 0rem));
	line-height: 1.85;
}

.article-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 24px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.8rem;
}

.article-text-controls,
.article-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.article-text-controls > span {
	margin-right: 3px;
}

.article-text-controls button,
.article-action-button {
	min-height: 36px;
	padding: 6px 10px;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: var(--paper-light);
	color: var(--ink-soft);
	font: inherit;
	cursor: pointer;
}

.article-text-controls button:hover,
.article-action-button:hover {
	border-color: var(--accent);
	color: var(--accent-dark);
}

.article-text-controls button {
	font-weight: 700;
}

.article-action-status {
	min-height: 1.4em;
	margin: -18px 0 8px;
	color: var(--accent-dark);
	font-size: 0.82rem;
}

.article-action-status:empty {
	display: none;
}

.article-toc {
	margin: 0 0 34px;
	padding: 18px 22px;
	border: 1px solid var(--line);
	background: var(--paper);
}

.article-toc summary {
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.2rem;
	font-weight: 600;
	cursor: pointer;
}

.article-toc nav {
	margin-top: 12px;
}

.article-toc ol {
	display: grid;
	gap: 7px;
	margin: 0;
	padding-left: 21px;
	font-size: 0.92rem;
	line-height: 1.5;
}

.article-toc .article-toc-level-3 {
	margin-left: 16px;
	font-size: 0.88rem;
}

.article-toc a {
	text-decoration: none;
}

.article-toc a:hover {
	text-decoration: underline;
}

.article-content > :first-child {
	margin-top: 0;
}

.article-content h2,
.article-content h3,
.page-content h2,
.page-content h3 {
	margin: 2.2em 0 0.65em;
	color: var(--ink);
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.2;
}

.article-content h2 {
	padding-left: 18px;
	border-left: 3px solid var(--accent);
	font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.article-content h3 {
	font-size: 1.55rem;
}

.article-content p {
	margin: 0 0 1.35em;
}

.article-content blockquote {
	margin: 2em 0;
	padding: 18px 24px;
	border-left: 3px solid var(--accent);
	background: var(--paper);
	color: var(--ink-soft);
	font-family: var(--serif);
	font-size: 1.25rem;
}

.article-content figure,
.article-content .wp-block-image,
.article-content .wp-block-gallery {
	margin: 2.5em 0;
}

.article-content figure img,
.article-content .wp-block-image img {
	display: block;
	height: auto;
	border: 1px solid var(--line);
}

.article-content figcaption,
.article-content .wp-caption-text {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.5;
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.article-tags a {
	padding: 4px 10px;
	border: 1px solid var(--line);
	color: var(--ink-soft);
	font-size: 0.82rem;
	text-decoration: none;
}

.article-author {
	display: flex;
	gap: 18px;
	width: min(var(--reading-width), calc(100% - 48px));
	margin: 0 auto 56px;
	padding: 24px;
	border: 1px solid var(--line);
	background: var(--paper-light);
}

.article-author img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
}

.article-author p {
	margin: 0;
}

.related-posts {
	width: min(var(--content-width), calc(100% - 48px));
	margin: 0 auto 68px;
	padding: clamp(24px, 5vw, 52px);
	background: var(--forest);
	color: var(--paper-light);
}

.related-posts h2 {
	margin: 0 0 28px;
	color: var(--paper-light);
	font-family: var(--serif);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 500;
}

.related-posts .post-grid {
	margin-bottom: 0;
}

.related-posts .post-card {
	border-color: rgb(255 253 248 / 18%);
	background: #304941;
	box-shadow: none;
}

.related-posts .post-card-title a,
.related-posts .post-card-excerpt {
	color: var(--paper-light);
}

.related-posts .post-card-category,
.related-posts .post-card-category a,
.related-posts .post-meta {
	color: #f1d7a5;
}

.page-shell {
	width: min(var(--reading-width), calc(100% - 48px));
	margin: 42px auto 72px;
	padding: clamp(24px, 5vw, 52px);
	border: 1px solid var(--line);
	background: var(--paper-light);
	box-shadow: var(--shadow);
}

.page-title {
	margin: 0 0 26px;
	font-family: var(--serif);
	font-size: clamp(2.2rem, 4.5vw, 3.5rem);
	font-weight: 500;
	line-height: 1.1;
}

.page-content {
	font-size: 1.05rem;
	line-height: 1.8;
}

.search-empty {
	padding: 24px;
	border: 1px solid var(--line);
	background: var(--paper-light);
}

.comment-list {
	padding-left: 24px;
}

.comment-body {
	margin: 18px 0;
	padding: 18px;
	border: 1px solid var(--line);
	background: var(--paper-light);
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #c9bead;
	background: #fff;
}

.comment-form input[type="submit"] {
	padding: 11px 18px;
	border: 0;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
}

/* Homepage editorial layout */
.front-page {
	padding-bottom: 0;
}

.front-masthead {
	display: grid;
	width: min(1380px, calc(100% - 64px));
	min-height: 650px;
	grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
	align-items: stretch;
	gap: clamp(28px, 5vw, 76px);
	margin: 0 auto;
	padding: 50px 0 62px;
}

.front-masthead-copy {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
	padding: 20px 0 28px clamp(0px, 3vw, 44px);
}

.front-kicker,
.section-overline {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	color: var(--accent-dark);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.front-kicker-mark {
	width: 28px;
	height: 1px;
	background: var(--accent);
}

.front-masthead-copy h1 {
	margin: 0;
	color: var(--ink);
	font-family: var(--serif);
	font-size: clamp(3.5rem, 6.2vw, 6.4rem);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 0.94;
}

.front-masthead-copy h1 span {
	display: block;
}

.front-intro {
	max-width: 390px;
	margin: 26px 0 28px;
	color: var(--ink-soft);
	font-family: var(--serif);
	font-size: clamp(1.15rem, 1.8vw, 1.35rem);
	line-height: 1.55;
}

.front-search-wrap {
	width: 100%;
	max-width: 470px;
}

.front-search-wrap .archive-search {
	gap: 0;
	padding: 5px;
	border: 1px solid #c9bead;
	background: var(--paper-light);
	box-shadow: 0 8px 24px rgb(34 40 36 / 6%);
}

.front-search-wrap .archive-search input[type="search"] {
	min-height: 46px;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.front-search-wrap .archive-search button {
	min-width: 104px;
}

.front-text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	color: var(--ink-soft);
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

.front-text-link:hover {
	color: var(--accent-dark);
}

.front-lead {
	position: relative;
	display: flex;
	min-height: 570px;
	align-items: end;
	overflow: hidden;
	background: var(--forest);
	color: var(--paper-light);
	box-shadow: var(--shadow);
}

.front-lead-image,
.front-lead-image img,
.front-lead-placeholder {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.front-lead-image img {
	object-fit: cover;
	object-position: center 38%;
	transition: transform 500ms ease;
}

.front-lead:hover .front-lead-image img {
	transform: scale(1.035);
}

.front-lead-placeholder {
	background:
		radial-gradient(ellipse at 73% 28%, rgb(201 166 107 / 25%), transparent 28%),
		linear-gradient(135deg, #50645a, #172420 72%);
}

.front-lead-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(16 24 22 / 4%) 25%, rgb(16 24 22 / 85%) 100%);
	pointer-events: none;
}

.front-lead-content {
	position: relative;
	z-index: 1;
	width: min(100%, 720px);
	padding: clamp(26px, 4vw, 54px);
}

.front-lead-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 7px 11px;
	border: 1px solid rgb(255 253 248 / 35%);
	background: rgb(24 34 30 / 40%);
	color: #f4dfb5;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.front-lead-content .post-card-category {
	display: block;
	margin: 0 0 10px;
	color: #f1d7a5;
	font-size: 0.82rem;
}

.front-lead-content .post-card-category a {
	color: #f1d7a5;
}

.front-lead-content h2 {
	max-width: 680px;
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(2.2rem, 4.5vw, 4.1rem);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.04;
}

.front-lead-content h2 a {
	color: var(--paper-light);
	text-decoration: none;
}

.front-lead-meta {
	margin: 14px 0 20px;
	color: #e0d7c8;
	font-size: 0.83rem;
}

.front-lead-cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 5px;
	border-bottom: 1px solid #f1d7a5;
	color: #f5e6c9;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.front-lead-index {
	position: absolute;
	z-index: 1;
	top: 22px;
	right: 24px;
	color: rgb(255 253 248 / 75%);
	font-family: var(--serif);
	font-size: 0.9rem;
	letter-spacing: 0.18em;
}

.front-lead-empty {
	background:
		radial-gradient(ellipse at 70% 24%, rgb(201 166 107 / 18%), transparent 30%),
		linear-gradient(135deg, #50645a, #172420 72%);
}

.front-latest {
	padding-top: 64px;
	padding-bottom: 72px;
	border-top: 1px solid var(--line);
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.section-heading .section-overline {
	margin-bottom: 9px;
	font-size: 0.7rem;
}

.section-heading h2 {
	margin: 0;
	color: var(--ink);
	font-family: var(--serif);
	font-size: clamp(2rem, 3.7vw, 3.05rem);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.section-all-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--accent);
	color: var(--ink);
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.front-story-list {
	border-top: 1px solid var(--line);
}

.front-story-row {
	display: grid;
	min-height: 126px;
	grid-template-columns: 44px 152px minmax(0, 1fr) 36px;
	align-items: center;
	gap: 22px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.front-story-number {
	align-self: start;
	padding-top: 9px;
	color: #a79b89;
	font-family: var(--serif);
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
}

.front-story-thumb {
	display: block;
	width: 152px;
	height: 92px;
	overflow: hidden;
	background: #e0d7c8;
}

.front-story-thumb img,
.front-story-thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.front-story-thumb-placeholder {
	background: linear-gradient(135deg, #d8cbb4, #9a8b73);
}

.front-story-copy .post-card-category {
	display: block;
	margin-bottom: 4px;
	font-size: 0.75rem;
}

.front-story-copy h3 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	font-weight: 500;
	line-height: 1.15;
}

.front-story-copy h3 a {
	color: var(--ink);
	text-decoration: none;
}

.front-story-copy h3 a:hover {
	color: var(--accent-dark);
}

.front-story-meta {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 0.78rem;
}

.front-story-arrow {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--ink-soft);
	text-decoration: none;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.front-story-arrow:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper-light);
}

.front-topics {
	padding: 66px 0 72px;
	background: #e9e2d5;
}

.front-topics .section-heading {
	margin-bottom: 30px;
}

.topics-aside {
	max-width: 300px;
	margin: 0;
	color: var(--muted);
	font-family: var(--serif);
	font-size: 1.1rem;
	line-height: 1.4;
}

.front-topic-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid #cec4b3;
	border-left: 1px solid #cec4b3;
}

.front-topic-card {
	position: relative;
	display: flex;
	min-height: 150px;
	flex-direction: column;
	justify-content: end;
	padding: 22px 24px;
	border-right: 1px solid #cec4b3;
	border-bottom: 1px solid #cec4b3;
	color: var(--ink);
	text-decoration: none;
	transition: background 160ms ease;
}

.front-topic-card:hover {
	background: var(--paper-light);
	color: var(--ink);
}

.front-topic-index {
	position: absolute;
	top: 18px;
	left: 24px;
	color: var(--accent-dark);
	font-family: var(--serif);
	font-size: 0.86rem;
}

.front-topic-name {
	font-family: var(--serif);
	font-size: clamp(1.35rem, 2.2vw, 1.8rem);
	line-height: 1.15;
}

.front-topic-count {
	margin-top: 7px;
	color: var(--muted);
	font-size: 0.77rem;
}

.front-topic-arrow {
	position: absolute;
	right: 22px;
	bottom: 22px;
	color: var(--accent-dark);
	font-size: 1.1rem;
}

.front-archive {
	padding-top: 72px;
	padding-bottom: 24px;
}

.front-archive-grid .post-card:nth-child(3n + 2) {
	transform: translateY(18px);
}

.front-archive-grid {
	margin-bottom: 42px;
}

@media (max-width: 900px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.header-inner {
		gap: 18px;
	}

	.primary-navigation ul {
		gap: 13px;
	}

	.header-contact-link {
		display: none;
	}

	.front-masthead {
		width: min(100% - 40px, 780px);
		min-height: auto;
		grid-template-columns: 1fr;
		gap: 24px;
		padding-top: 44px;
	}

	.front-masthead-copy {
		padding: 12px 0 4px;
	}

	.front-masthead-copy h1 {
		max-width: 720px;
		font-size: clamp(3.4rem, 10vw, 5.8rem);
	}

	.front-lead {
		min-height: 500px;
	}

	.front-topic-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 700px) {
	body {
		font-size: 16px;
	}

	.header-inner,
	.content-wrap,
	.footer-inner,
	.footer-bottom {
		width: min(100% - 32px, 1200px);
	}

	.header-inner {
		min-height: 72px;
		flex-wrap: wrap;
		gap: 10px;
		padding: 10px 0 8px;
	}

	.site-tagline {
		display: none;
	}

	.site-brand-logo {
		width: 108px;
	}

	.menu-toggle {
		display: inline-flex;
		margin-left: auto;
		cursor: pointer;
	}

	.primary-navigation {
		display: none;
		width: 100%;
		order: 4;
		padding: 8px 0 12px;
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation ul {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.primary-navigation li a {
		display: flex;
		min-height: 45px;
		padding: 10px 0;
		border-top: 1px solid rgb(255 250 240 / 16%);
	}

	.primary-navigation a::after {
		display: none;
	}

	.header-search-link {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}

	.footer-brand-logo {
		width: min(218px, 62vw);
	}

	.post-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.archive-hero {
		min-height: 250px;
		margin-top: 20px;
	}

	.archive-tools {
		padding: 18px;
	}

	.archive-search {
		flex-direction: column;
	}

	.archive-search button {
		min-height: 46px;
	}

	.article-shell {
		margin: 16px auto 38px;
		border-right: 0;
		border-left: 0;
	}

	.article-content {
		font-size: calc(1.04rem + var(--article-font-adjust, 0rem));
		line-height: 1.78;
	}

	.article-breadcrumbs {
		width: calc(100% - 32px);
		margin-top: 16px;
	}

	.article-tools {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.article-author {
		width: min(100% - 32px, var(--reading-width));
	}

	.related-posts,
	.related-posts {
		padding: 22px 18px;
	}

	.front-masthead {
		width: 100%;
		gap: 22px;
		padding: 30px 16px 38px;
	}

	.front-masthead-copy {
		padding: 4px 0 0;
	}

	.front-masthead-copy h1 {
		font-size: clamp(3rem, 15vw, 4.6rem);
	}

	.front-intro {
		margin: 18px 0 20px;
		font-size: 1.1rem;
	}

	.front-lead {
		min-height: 460px;
	}

	.front-lead-content {
		padding: 24px 20px 28px;
	}

	.front-lead-content h2 {
		font-size: clamp(2.15rem, 11vw, 3.3rem);
	}

	.front-latest,
	.front-topics,
	.front-archive {
		padding-top: 48px;
		padding-bottom: 50px;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.front-story-row {
		min-height: 100px;
		grid-template-columns: 28px 92px minmax(0, 1fr);
		gap: 12px;
		padding: 13px 0;
	}

	.front-story-thumb {
		width: 92px;
		height: 72px;
	}

	.front-story-number {
		font-size: 0.85rem;
	}

	.front-story-copy h3 {
		font-size: 1.12rem;
	}

	.front-story-copy .post-card-category {
		font-size: 0.69rem;
	}

	.front-story-arrow {
		display: none;
	}

	.topics-aside {
		font-size: 1rem;
	}

	.front-topic-grid {
		grid-template-columns: 1fr 1fr;
	}

	.front-topic-card {
		min-height: 130px;
		padding: 18px 14px;
	}

	.front-topic-index {
		top: 13px;
		left: 14px;
	}

	.front-topic-name {
		font-size: 1.2rem;
	}

	.front-topic-arrow {
		right: 13px;
		bottom: 15px;
	}

	.front-archive-grid .post-card:nth-child(3n + 2) {
		transform: none;
	}

	.footer-inner {
		grid-template-columns: 1fr;
		gap: 31px;
		padding-top: 42px;
		padding-bottom: 32px;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding-bottom: 19px;
	}

	.footer-bottom-links {
		gap: 10px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.reading-progress,
	.article-breadcrumbs,
	.article-tools,
	.article-author,
	.related-posts,
	.comments-area {
		display: none !important;
	}

	body,
	.article-shell {
		background: #fff;
		box-shadow: none;
	}

	.article-shell {
		width: 100%;
		margin: 0;
		border: 0;
	}

	.article-header {
		padding: 0 0 24px;
		background: #fff;
		color: #000;
	}

	.article-title {
		color: #000;
	}

	.article-content {
		max-width: none;
		padding: 0;
		font-size: 12pt;
	}
}

/* Organization pages based on the Memento Posteritas 2026 brochure. */
:root {
	--org-clay: #98431e;
	--org-clay-dark: #6e3119;
	--org-cream: #eee1b9;
	--org-slate: #667b7e;
	--org-forest: #263c3d;
}

.org-home {
	overflow: hidden;
}

.org-eyebrow {
	margin: 0 0 14px;
	color: var(--org-clay);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	line-height: 1.5;
	text-transform: uppercase;
}

.org-hero {
	position: relative;
	display: grid;
	min-height: min(700px, calc(100svh - 82px));
	grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
	align-items: center;
	overflow: hidden;
	padding: clamp(56px, 8vw, 112px) max(32px, calc((100vw - 1200px) / 2));
	background: var(--org-clay);
	color: var(--paper-light);
}

.org-hero::before {
	position: absolute;
	inset: 0 0 0 48%;
	background: linear-gradient(90deg, var(--org-clay) 0%, rgb(152 67 30 / 82%) 14%, rgb(152 67 30 / 6%) 100%);
	content: "";
	pointer-events: none;
	z-index: 1;
}

.org-hero-copy {
	position: relative;
	z-index: 2;
	max-width: 650px;
	padding: 20px 0;
}

.org-hero .org-eyebrow,
.org-cta .org-eyebrow {
	color: #f1d8a4;
}

.org-hero h1 {
	max-width: 680px;
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(3.5rem, 7.2vw, 7rem);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 0.97;
}

.org-hero-intro {
	max-width: 560px;
	margin: 26px 0 30px;
	color: #fff1d5;
	font-family: var(--serif);
	font-size: clamp(1.15rem, 1.8vw, 1.38rem);
	line-height: 1.6;
}

.org-hero-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px 26px;
}

.org-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 12px 19px;
	border: 1px solid transparent;
	font-size: 0.88rem;
	font-weight: 750;
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.org-button:hover {
	transform: translateY(-2px);
}

.org-button-light {
	background: var(--paper-light);
	color: var(--org-clay-dark);
}

.org-button-light:hover {
	background: var(--org-cream);
	color: var(--org-clay-dark);
}

.org-button-clay {
	background: var(--org-clay);
	color: #fffdf8;
}

.org-button-clay:hover {
	background: var(--org-clay-dark);
	color: #fffdf8;
}

.org-text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--org-clay-dark);
	font-size: 0.9rem;
	font-weight: 750;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.org-text-link-light {
	color: #fff4dd;
}

.org-text-link-light:hover {
	color: #fff;
}

.org-hero-map {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 52%;
	margin: 0;
}

.org-hero-map::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgb(152 67 30 / 65%), rgb(152 67 30 / 6%) 48%, rgb(34 48 48 / 22%));
	content: "";
}

.org-hero-map img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 46%;
	filter: sepia(0.18) saturate(0.88);
}

.org-hero-map figcaption {
	position: absolute;
	z-index: 2;
	right: max(28px, calc((100vw - 1200px) / 2));
	bottom: 30px;
	color: #fff7e7;
	font-family: var(--serif);
	font-size: 0.95rem;
	font-style: italic;
	text-shadow: 0 1px 8px rgb(0 0 0 / 60%);
}

.org-hero-seal {
	position: absolute;
	z-index: 2;
	right: 4%;
	top: 8%;
	display: grid;
	width: clamp(56px, 6vw, 88px);
	height: clamp(56px, 6vw, 88px);
	place-content: center;
	border: 1px solid rgb(255 253 248 / 68%);
	border-radius: 50%;
	color: #fff3d6;
	font-family: var(--serif);
	font-size: 1.35rem;
	line-height: 0.8;
	text-align: center;
}

.org-hero-seal span {
	font-size: 0.85rem;
}

.org-section {
	width: min(var(--content-width), calc(100% - 64px));
	margin: 0 auto;
	padding: clamp(68px, 9vw, 112px) 0;
}

.org-intro {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(38px, 7vw, 94px);
}

.org-intro-image {
	position: relative;
	margin: 0;
	padding: 0 0 36px 36px;
}

.org-intro-image::before {
	position: absolute;
	inset: 36px 36px 0 0;
	background: var(--org-clay);
	content: "";
}

.org-intro-image img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1.34;
	object-fit: cover;
}

.org-image-caption {
	position: absolute;
	right: 0;
	bottom: 0;
	width: min(78%, 340px);
	margin: 0;
	padding: 14px 18px;
	background: var(--org-cream);
	color: var(--ink);
	font-family: var(--serif);
	font-size: 0.9rem;
	font-style: italic;
	line-height: 1.45;
}

.org-intro-copy h2,
.org-section-heading h2,
.org-approach-copy h2,
.org-cta h2,
.offering-copy h2,
.offering-community h2,
.offering-tours h2,
.contact-details-heading h2,
.contact-bottom h2 {
	margin: 0;
	color: var(--ink);
	font-family: var(--serif);
	font-size: clamp(2.1rem, 4vw, 3.35rem);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1.08;
}

.org-intro-copy > p:not(.org-eyebrow) {
	color: var(--ink-soft);
	font-size: 1.02rem;
	line-height: 1.82;
}

.org-intro-copy .org-text-link {
	margin-top: 10px;
}

.org-audiences {
	width: 100%;
	padding-right: max(32px, calc((100vw - 1120px) / 2));
	padding-left: max(32px, calc((100vw - 1120px) / 2));
	background: var(--org-cream);
}

.org-section-heading {
	max-width: 760px;
	margin: 0 auto 38px;
	text-align: center;
}

.org-section-heading .org-eyebrow {
	margin-bottom: 10px;
}

.org-section-heading > p:last-child {
	max-width: 570px;
	margin: 16px auto 0;
	color: var(--ink-soft);
	font-size: 1.02rem;
}

.org-audience-grid {
	display: grid;
	max-width: 1120px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0 auto;
}

.org-audience-card {
	position: relative;
	display: flex;
	min-height: 290px;
	flex-direction: column;
	padding: 30px;
	border: 1px solid rgb(104 39 7 / 18%);
	background: var(--paper-light);
	color: var(--ink);
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.org-audience-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	color: var(--ink);
}

.org-card-number {
	color: var(--org-clay);
	font-family: var(--serif);
	font-size: 1rem;
	letter-spacing: 0.1em;
}

.org-audience-card h3 {
	margin: 32px 0 10px;
	font-family: var(--serif);
	font-size: 1.55rem;
	font-weight: 500;
	line-height: 1.15;
}

.org-audience-card p {
	margin: 0 0 22px;
	color: var(--ink-soft);
	font-size: 0.94rem;
	line-height: 1.65;
}

.org-card-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid var(--line);
	color: var(--org-clay-dark);
	font-size: 0.84rem;
	font-weight: 750;
}

.org-approach {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	background: var(--org-slate);
	color: #fffdf8;
}

.org-approach-image {
	min-height: 520px;
}

.org-approach-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 520px;
	object-fit: cover;
}

.org-approach-copy {
	align-self: center;
	padding: clamp(38px, 7vw, 92px);
}

.org-approach-copy .org-eyebrow {
	color: #f5dba9;
}

.org-approach-copy h2 {
	color: #fffdf8;
	font-size: clamp(2.15rem, 4vw, 3.4rem);
}

.org-check-list {
	display: grid;
	gap: 13px;
	margin: 24px 0 30px;
	padding: 0;
	list-style: none;
}

.org-check-list li {
	position: relative;
	padding-left: 28px;
	line-height: 1.6;
}

.org-check-list li::before {
	position: absolute;
	top: 0;
	left: 0;
	color: var(--org-clay);
	content: "✓";
	font-weight: 800;
}

.org-approach-copy .org-check-list li::before {
	color: #f5dba9;
}

.org-latest-grid {
	align-items: stretch;
}

.org-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: clamp(42px, 7vw, 82px) max(32px, calc((100vw - 1120px) / 2));
	background: var(--org-clay);
	color: #fffdf8;
}

.org-cta h2 {
	max-width: 760px;
	color: #fffdf8;
	font-size: clamp(2rem, 4vw, 3.35rem);
}

.organization-page {
	padding-bottom: 0;
}

.org-page-hero {
	display: grid;
	width: min(1200px, calc(100% - 64px));
	min-height: 490px;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
	align-items: center;
	gap: clamp(34px, 6vw, 84px);
	margin: 0 auto;
	padding: 64px 0;
}

.org-page-hero-copy {
	max-width: 660px;
}

.org-page-hero h1 {
	margin: 0;
	color: var(--ink);
	font-family: var(--serif);
	font-size: clamp(3.1rem, 6.2vw, 5.5rem);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 0.99;
}

.org-page-hero-copy > p:not(.org-eyebrow) {
	max-width: 610px;
	margin: 24px 0 28px;
	color: var(--ink-soft);
	font-family: var(--serif);
	font-size: clamp(1.12rem, 1.7vw, 1.32rem);
	line-height: 1.65;
}

.org-page-hero-image {
	position: relative;
	height: 370px;
	margin: 0;
	padding: 12px;
	background: var(--org-cream);
}

.org-page-hero-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.org-page-hero-image figcaption {
	position: absolute;
	right: 0;
	bottom: 0;
	max-width: 78%;
	padding: 12px 16px;
	background: var(--org-slate);
	color: #fffdf8;
	font-family: var(--serif);
	font-size: 0.88rem;
	font-style: italic;
}

.offerings-jump {
	position: sticky;
	z-index: 5;
	top: 0;
	display: flex;
	justify-content: center;
	gap: 0;
	overflow-x: auto;
	padding: 0 20px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: rgb(255 253 248 / 96%);
	backdrop-filter: blur(10px);
	scrollbar-width: thin;
}

.offerings-jump a {
	display: inline-flex;
	min-height: 56px;
	align-items: center;
	padding: 0 18px;
	color: var(--ink);
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.offerings-jump a:hover {
	color: var(--org-clay);
}

.offering-block {
	display: grid;
	width: min(1120px, calc(100% - 64px));
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(42px, 7vw, 100px);
	margin: 0 auto;
	padding: clamp(68px, 9vw, 112px) 0;
	scroll-margin-top: 72px;
}

.offering-block-reverse {
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
	border-top: 1px solid var(--line);
}

.offering-image {
	position: relative;
	min-height: 420px;
	background: var(--org-cream);
}

.offering-image::before {
	position: absolute;
	inset: 20px -20px -20px 20px;
	border: 1px solid rgb(141 53 13 / 45%);
	content: "";
}

.offering-image img {
	position: relative;
	display: block;
	width: 100%;
	height: 420px;
	object-fit: cover;
}

.offering-image-map {
	height: 430px;
}

.offering-image-map img {
	height: 430px;
	object-position: center 46%;
}

.offering-copy {
	position: relative;
	z-index: 1;
}

.offering-copy h2 {
	font-size: clamp(2.15rem, 4vw, 3.25rem);
}

.offering-copy > p:not(.org-eyebrow) {
	color: var(--ink-soft);
	font-size: 1rem;
	line-height: 1.75;
}

.offering-copy .org-check-list {
	gap: 10px;
	margin-top: 22px;
}

.offering-community {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
	align-items: center;
	gap: clamp(38px, 7vw, 96px);
	padding: clamp(54px, 8vw, 96px) max(32px, calc((100vw - 1120px) / 2));
	background: var(--org-clay);
	color: #fff4dc;
	scroll-margin-top: 68px;
}

.offering-community .org-eyebrow {
	color: #f5dba9;
}

.offering-community h2 {
	color: #fffdf8;
}

.offering-community-copy > p:not(.org-eyebrow) {
	color: #fff1d5;
	line-height: 1.75;
}

.offering-community > img {
	display: block;
	width: 100%;
	max-height: 450px;
	object-fit: cover;
	border: 8px solid rgb(255 253 248 / 16%);
}

.community-programs {
	display: grid;
	gap: 0;
	margin-top: 28px;
	border-top: 1px solid rgb(255 253 248 / 35%);
}

.community-programs > div {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 13px;
	padding: 15px 0;
	border-bottom: 1px solid rgb(255 253 248 / 25%);
}

.community-programs > div > span {
	color: #f5dba9;
	font-family: var(--serif);
	font-size: 0.95rem;
}

.community-programs p {
	display: grid;
	gap: 4px;
	margin: 0;
	color: #fff1d5;
	font-size: 0.91rem;
	line-height: 1.5;
}

.community-programs strong {
	color: #fffdf8;
	font-size: 1rem;
}

.offering-examples {
	scroll-margin-top: 70px;
}

.offering-topic-list,
.tour-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 42px;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.offering-topic-list li,
.tour-list li {
	display: flex;
	min-height: 66px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.04rem;
	line-height: 1.4;
}

.offering-topic-list time,
.tour-list li span {
	flex: 0 0 auto;
	color: var(--org-clay-dark);
	font-family: var(--sans);
	font-size: 0.78rem;
	font-weight: 750;
}

.offering-note {
	max-width: 810px;
	margin: 22px auto 0;
	color: var(--muted);
	font-size: 0.9rem;
	text-align: center;
}

.offering-tours {
	display: grid;
	grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(38px, 7vw, 96px);
	padding: clamp(52px, 8vw, 94px) max(32px, calc((100vw - 1120px) / 2));
	background: var(--org-cream);
	scroll-margin-top: 70px;
}

.offering-tours-heading h2 {
	font-size: clamp(2.1rem, 3.5vw, 3rem);
}

.offering-tours-heading > p:last-child {
	color: var(--ink-soft);
	line-height: 1.7;
}

.tour-list {
	grid-template-columns: 1fr;
	gap: 0;
	border-top-color: rgb(104 39 7 / 20%);
}

.tour-list li {
	border-bottom-color: rgb(104 39 7 / 20%);
}

.offering-cta {
	margin-top: 0;
}

.contact-hero {
	min-height: 460px;
}

.contact-hero .org-page-hero-copy {
	padding: 34px 0;
}

.contact-map {
	height: 360px;
	padding: 0;
	background: var(--org-slate);
}

.contact-map img {
	object-position: center 38%;
}

.contact-details {
	display: grid;
	grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
	align-items: start;
	gap: clamp(34px, 7vw, 90px);
	padding: clamp(55px, 8vw, 94px) max(32px, calc((100vw - 1120px) / 2));
	background: var(--org-cream);
}

.contact-details-heading h2 {
	font-size: clamp(2rem, 3.7vw, 3rem);
}

.contact-details-heading > p:last-child {
	color: var(--ink-soft);
	line-height: 1.7;
}

.contact-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.contact-card {
	display: flex;
	min-height: 250px;
	align-items: flex-start;
	flex-direction: column;
	padding: 23px 20px;
	border: 1px solid rgb(104 39 7 / 18%);
	background: var(--paper-light);
}

.contact-card-icon {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 50%;
	background: var(--org-slate);
	color: #fffdf8;
	font-size: 1.2rem;
	font-weight: 700;
}

.contact-card h3 {
	margin: 17px 0 8px;
	font-family: var(--serif);
	font-size: 1.25rem;
	font-weight: 500;
}

.contact-card > a:not(.contact-map-link),
.contact-card address {
	margin: 2px 0;
	color: var(--org-clay-dark);
	font-size: 0.92rem;
	font-style: normal;
	font-weight: 750;
	line-height: 1.55;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact-card > p {
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 0.83rem;
	line-height: 1.55;
}

.contact-map-link {
	margin-top: 12px;
	color: var(--org-clay-dark);
	font-size: 0.82rem;
	font-weight: 750;
}

.contact-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	width: min(1120px, calc(100% - 64px));
	margin: 0 auto;
	padding: clamp(52px, 7vw, 80px) 0;
}

.contact-bottom h2 {
	font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.contact-bottom > div > p:last-child {
	margin-bottom: 0;
	color: var(--ink-soft);
}

.contact-legal {
	display: grid;
	gap: 14px;
	min-width: 220px;
	margin: 0;
	padding: 22px 26px;
	border-left: 2px solid var(--org-clay);
	background: var(--paper-light);
}

.contact-legal div {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 12px;
}

.contact-legal dt {
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.contact-legal dd {
	margin: 0;
	color: var(--ink);
	font-size: 0.88rem;
	font-weight: 700;
}

.contact-legal a {
	color: var(--org-clay-dark);
	text-decoration: none;
}

.contact-legal a:hover {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.org-hero {
		min-height: 580px;
		grid-template-columns: 1fr;
		padding-right: 40px;
		padding-left: 40px;
	}

	.org-hero::before {
		inset: 0;
		background: linear-gradient(90deg, rgb(104 39 7 / 94%) 0%, rgb(104 39 7 / 76%) 58%, rgb(104 39 7 / 28%) 100%);
	}

	.org-hero-copy {
		max-width: 640px;
	}

	.org-hero-map {
		width: 100%;
	}

	.org-hero-seal {
		right: 32px;
	}

	.org-intro {
		gap: 42px;
	}

	.org-audience-card {
		padding: 23px;
	}

	.org-approach {
		grid-template-columns: 0.9fr 1.1fr;
	}

	.org-approach-copy {
		padding: 44px 36px;
	}

	.contact-details {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 700px) {
	.org-hero {
		min-height: 610px;
		padding: 54px 22px 62px;
	}

	.org-hero h1 {
		font-size: clamp(3.1rem, 14vw, 5rem);
	}

	.org-hero-intro {
		margin: 21px 0 25px;
		font-size: 1.12rem;
	}

	.org-hero-actions {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
	}

	.org-hero-seal {
		top: 18px;
		right: 20px;
		width: 52px;
		height: 52px;
		font-size: 1rem;
	}

	.org-section {
		width: calc(100% - 36px);
		padding: 58px 0;
	}

	.org-intro {
		grid-template-columns: 1fr;
		gap: 35px;
	}

	.org-intro-image {
		padding: 0 0 26px 22px;
	}

	.org-intro-image::before {
		inset: 22px 22px 0 0;
	}

	.org-image-caption {
		width: 84%;
		padding: 11px 13px;
		font-size: 0.8rem;
	}

	.org-audiences {
		width: 100%;
		padding: 58px 18px;
	}

	.org-section-heading {
		margin-bottom: 26px;
		text-align: left;
	}

	.org-section-heading > p:last-child {
		margin-left: 0;
	}

	.org-audience-grid {
		grid-template-columns: 1fr;
		gap: 11px;
	}

	.org-audience-card {
		min-height: 230px;
		padding: 23px;
	}

	.org-audience-card h3 {
		margin-top: 20px;
	}

	.org-approach {
		grid-template-columns: 1fr;
	}

	.org-approach-image,
	.org-approach-image img {
		min-height: 280px;
		max-height: 360px;
	}

	.org-approach-copy {
		padding: 38px 22px 48px;
	}

	.org-section-heading-row {
		gap: 20px;
	}

	.org-cta {
		align-items: flex-start;
		flex-direction: column;
		padding: 44px 22px;
	}

	.org-page-hero {
		width: calc(100% - 36px);
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 45px 0 38px;
	}

	.org-page-hero h1 {
		font-size: clamp(3rem, 13vw, 4.6rem);
	}

	.org-page-hero-copy > p:not(.org-eyebrow) {
		margin: 18px 0 24px;
		font-size: 1.08rem;
	}

	.org-page-hero-image,
	.contact-map {
		height: 260px;
	}

	.offerings-jump {
		justify-content: flex-start;
		padding: 0 8px;
	}

	.offerings-jump a {
		min-height: 48px;
		padding: 0 12px;
		font-size: 0.78rem;
	}

	.offering-block,
	.offering-block-reverse {
		width: calc(100% - 36px);
		grid-template-columns: 1fr;
		gap: 38px;
		padding: 58px 0;
	}

	.offering-block-reverse .offering-image {
		order: -1;
	}

	.offering-image,
	.offering-image img,
	.offering-image-map,
	.offering-image-map img {
		min-height: 0;
		height: 270px;
	}

	.offering-image::before {
		inset: 14px -9px -14px 14px;
	}

	.offering-community {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 55px 20px;
	}

	.offering-community > img {
		max-height: 340px;
	}

	.offering-topic-list {
		grid-template-columns: 1fr;
	}

	.offering-topic-list li,
	.tour-list li {
		min-height: 60px;
		gap: 12px;
		font-size: 0.96rem;
	}

	.offering-topic-list time,
	.tour-list li span {
		font-size: 0.72rem;
		text-align: right;
	}

	.offering-tours {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 54px 20px;
	}

	.contact-details {
		padding: 54px 18px;
	}

	.contact-card-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.contact-card {
		min-height: 0;
		padding: 20px;
	}

	.contact-bottom {
		width: calc(100% - 36px);
		align-items: flex-start;
		flex-direction: column;
		padding: 48px 0;
	}

	.contact-legal {
		width: 100%;
	}
}
