/*
 * Lumena Ministries theme styles.
 *
 * Brand guide (September 2026): Ink, Bronze, Slate, Ivory, Charcoal.
 * Cormorant Garamond for display and headings; Source Serif 4 for text.
 * Ink or Charcoal for small text; Bronze and Slate for accents and larger elements only.
 */

/* ---------- Fonts (self-hosted, SIL OFL 1.1) ---------- */

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/CormorantGaramond.woff2") format("woff2");
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/CormorantGaramond-Italic.woff2") format("woff2");
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/SourceSerif4.woff2") format("woff2");
}

@font-face {
	font-family: "Source Serif 4";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/SourceSerif4-Italic.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
	--ink: #0f1f2d;
	--ink-soft: #1c3348;
	--bronze: #b86f3d;
	--slate: #4f6b8a;
	--ivory: #f7f3e9;
	--paper: #efe8d9;
	--card: #fbf9f4;
	--charcoal: #2e2e2e;
	--line: rgba(15, 31, 45, 0.14);
	--line-strong: rgba(15, 31, 45, 0.3);

	--font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
	--font-text: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;

	--container: 1160px;
	--narrow: 720px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section: clamp(3.25rem, 6vw, 5.5rem);
	--glow: radial-gradient(56rem 26rem at 50% -7rem, rgba(184, 111, 61, 0.1), transparent 70%);
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

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

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--ivory);
	color: var(--charcoal);
	font-family: var(--font-text);
	font-size: 1.125rem;
	line-height: 1.7;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--ink);
	text-decoration-line: underline;
	text-decoration-color: var(--bronze);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color 0.2s ease, text-decoration-color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 2px solid var(--slate);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem);
}

h2 {
	font-size: clamp(2.1rem, 1.6rem + 2vw, 3.1rem);
}

h3 {
	font-size: 1.75rem;
	font-weight: 500;
}

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

address {
	font-style: normal;
}

strong {
	font-weight: 600;
}

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

/* ---------- Layout ---------- */

.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.container--narrow {
	width: min(100% - 2 * var(--gutter), var(--narrow));
}

.section {
	padding-block: var(--section);
}

.section--tight {
	padding-block: clamp(2.5rem, 5vw, 4rem) var(--section);
}

/* Page copy followed by another section: one gap and a hairline, not two full gaps. */
.section--tight:has(+ .section) {
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section--tight + .section {
	border-top: 1px solid var(--line);
}

.section--paper {
	background: var(--paper);
}

.section-head {
	max-width: 40rem;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.section-head__title {
	margin-bottom: 1.5rem;
}

/* ---------- Small parts ---------- */

.eyebrow {
	margin: 0 0 1rem;
	color: var(--slate);
	font-family: var(--font-text);
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0.24em;
	line-height: 1.4;
	text-transform: uppercase;
}

.rule {
	display: block;
	width: 3rem;
	height: 1px;
	margin: 0 0 1.75rem;
	background: var(--bronze);
}

.rule--center {
	margin-inline: auto;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 1.1em 2.1em;
	border: 1px solid var(--ink);
	border-radius: 0;
	background: var(--ink);
	color: var(--ivory);
	font-family: var(--font-text);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.button:hover {
	border-color: var(--ink-soft);
	background: var(--ink-soft);
	color: var(--ivory);
}

.button--ghost {
	border-color: var(--line-strong);
	background: transparent;
	color: var(--ink);
}

.button--ghost:hover {
	border-color: var(--ink);
	background: var(--ink);
}

.button--light {
	border-color: var(--ivory);
	background: var(--ivory);
	color: var(--ink);
}

.button--light:hover {
	border-color: rgba(247, 243, 233, 0.6);
	background: transparent;
	color: var(--ivory);
}

.button--small {
	padding: 0.85em 1.5em;
	font-size: 0.72rem;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding-bottom: 0.4em;
	border-bottom: 1px solid var(--bronze);
	color: var(--ink);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-decoration: none;
	text-transform: uppercase;
}

.text-link__arrow {
	color: var(--bronze);
	font-size: 1.05rem;
	line-height: 1;
	transition: transform 0.2s ease;
}

.text-link:hover .text-link__arrow {
	transform: translateX(3px);
}

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

.skip-link {
	position: absolute;
	top: -10rem;
	left: 1rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--ink);
	color: var(--ivory);
	font-size: 0.9rem;
	text-decoration: none;
}

.skip-link:focus {
	top: 1rem;
}

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

.site-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--line);
	background: var(--ivory);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 4.5rem;
}

.site-header__mark {
	display: block;
	flex: none;
}

.site-header__mark img {
	width: 52px;
	height: 52px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 2.5rem;
}

.site-nav__list {
	display: flex;
	gap: 2.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	display: block;
	padding: 0.45rem 0;
	border-bottom: 1px solid transparent;
	color: var(--ink);
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list [aria-current="page"] {
	border-bottom-color: var(--bronze);
}

.nav-toggle {
	display: none;
}

@media (max-width: 880px) {
	.site-header__inner {
		min-height: 4rem;
	}

	.site-header__mark img {
		width: 46px;
		height: 46px;
	}

	.has-js .nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.7rem;
		padding: 0.7rem 0.95rem;
		border: 1px solid var(--line-strong);
		background: transparent;
		color: var(--ink);
		font-family: var(--font-text);
		font-size: 0.72rem;
		letter-spacing: 0.16em;
		text-transform: uppercase;
		cursor: pointer;
	}

	.nav-toggle__bars,
	.nav-toggle__bars::before,
	.nav-toggle__bars::after {
		display: block;
		width: 18px;
		height: 1px;
		background: currentColor;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.nav-toggle__bars {
		position: relative;
	}

	.nav-toggle__bars::before,
	.nav-toggle__bars::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.nav-toggle__bars::before {
		top: -6px;
	}

	.nav-toggle__bars::after {
		top: 6px;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
		background: transparent;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
		transform: translateY(6px) rotate(45deg);
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
		transform: translateY(-6px) rotate(-45deg);
	}

	.site-header__inner {
		flex-wrap: wrap;
	}

	.site-nav {
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding-bottom: 1.5rem;
	}

	.has-js .site-nav {
		display: none;
	}

	.has-js .site-nav.is-open {
		display: flex;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
		border-top: 1px solid var(--line);
	}

	.site-nav__list a {
		padding: 1rem 0;
		border-bottom: 1px solid var(--line);
		font-size: 0.82rem;
	}

	.site-nav__list a:hover,
	.site-nav__list .current-menu-item > a,
	.site-nav__list [aria-current="page"] {
		border-bottom-color: var(--line);
		color: var(--slate);
	}

	.site-nav__give {
		align-self: flex-start;
		margin-top: 1.5rem;
	}
}

/* ---------- Home ---------- */

.home-hero {
	position: relative;
	display: grid;
	align-items: center;
	justify-items: start;
	min-height: clamp(36rem, calc(100svh - 4.5rem - 1px), 54rem);
	padding: clamp(1.5rem, 5vh, 3.5rem) clamp(1.25rem, 7vw, 8rem);
	overflow: hidden;
	isolation: isolate;
	background: var(--ink);
}

/* Out of the grid, or the empty picture takes a row and the panel sits below center. */
.home-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

/* The photo keeps to the right, at a size that stays sharp, and fades into Ink. */
.home-hero__bg img {
	position: absolute;
	top: 0;
	right: 0;
	z-index: -2;
	width: 64%;
	height: 100%;
	object-fit: cover;
	object-position: 78% 45%;
}

.home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 36%, rgba(15, 31, 45, 0.7) 50%, rgba(15, 31, 45, 0.15) 72%, rgba(15, 31, 45, 0) 100%);
}

/* An ivory panel with an inset bronze rule, like a bookplate. */
.home-hero__plate {
	width: min(100%, 34rem);
	padding: clamp(2rem, 5vh, 3.25rem) clamp(1.5rem, 4vw, 3.25rem);
	background: var(--ivory);
	box-shadow: 0 2.5rem 5rem -2rem rgba(0, 0, 0, 0.55);
	outline: 1px solid rgba(184, 111, 61, 0.6);
	outline-offset: -0.6rem;
	text-align: center;
}

.home-hero__title {
	margin: 0;
}

.home-hero__logo {
	width: clamp(240px, 33vh, 300px);
	margin-inline: auto;
}

.home-hero__intro {
	max-width: 28ch;
	margin: clamp(1.25rem, 3vh, 2rem) auto;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
	font-style: italic;
	line-height: 1.42;
	text-wrap: balance;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem;
	margin: 0;
}

@media (max-width: 880px) {
	.home-hero {
		justify-items: center;
		min-height: 0;
		padding: 1rem;
	}

	.home-hero__bg img {
		width: 100%;
	}

	.home-hero::before {
		background: rgba(15, 31, 45, 0.45);
	}

	.home-hero__plate {
		padding: 1.5rem 1.25rem;
		outline-offset: -0.45rem;
	}

	.home-hero__logo {
		width: 260px;
	}

	.home-hero__intro {
		margin-block: 1rem;
		font-size: 1.25rem;
		line-height: 1.36;
	}
}

/* Home: resources */

.topics {
	border-top: 1px solid var(--line);
}

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

.topic {
	padding: 0.25rem clamp(1rem, 2.2vw, 2rem);
}

.topic + .topic {
	border-left: 1px solid var(--line);
}

.topic__title {
	margin-bottom: 0.6rem;
	font-size: 1.4rem;
	line-height: 1.2;
}

.topic__title a {
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid rgba(184, 111, 61, 0.55);
}

.topic__title a:hover {
	border-bottom-color: var(--bronze);
}

.topic__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
}

@media (max-width: 960px) {
	.topics__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 2.25rem;
	}

	.topic:nth-child(odd) {
		border-left: 0;
	}
}

@media (max-width: 560px) {
	.topics__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.topic + .topic {
		border-left: 0;
	}
}

/* Maintenance page: the home hero at full height, with the verse over the photo. */

.maintenance {
	min-height: 100svh;
}

.maintenance .home-hero__logo {
	width: clamp(260px, 30vh, 300px);
}

.maintenance__eyebrow {
	margin: clamp(1.25rem, 3vh, 2rem) 0 0.5rem;
}

.maintenance__title {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 1.55rem + 1vw, 2.5rem);
	font-weight: 400;
	line-height: 1.12;
	text-wrap: balance;
}

.maintenance__text {
	max-width: 34ch;
	margin: 0.85rem auto 0;
	color: var(--charcoal);
	font-size: 1.0625rem;
	line-height: 1.55;
	text-wrap: balance;
}

.maintenance__contact {
	margin: 0.85rem 0 0;
	font-size: 1rem;
}

.maintenance__verse {
	position: absolute;
	right: clamp(1.25rem, 4vw, 4rem);
	bottom: clamp(1.25rem, 4vh, 3rem);
	max-width: 24rem;
	margin: 0;
	color: var(--ivory);
	font-family: var(--font-display);
	text-align: right;
	text-shadow: 0 1px 12px rgba(15, 31, 45, 0.9);
}

.maintenance__verse blockquote {
	margin: 0;
	font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem);
	font-style: italic;
	line-height: 1.32;
	text-wrap: balance;
}

.maintenance__verse figcaption {
	margin-top: 0.45rem;
	font-family: var(--font-text);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

@media (max-width: 880px) {
	.maintenance {
		align-content: center;
		gap: 1.25rem;
		min-height: 100svh;
	}

	.maintenance__verse {
		position: static;
		max-width: 22rem;
		text-align: center;
	}
}

/* Our Work */

.work__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 1000px;
	margin-inline: auto;
}

.work-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.5rem clamp(1.5rem, 5vw, 4.5rem);
	text-align: center;
}

.work-card + .work-card {
	border-left: 1px solid var(--line);
}

.work-card__logo {
	display: block;
}

.work-card__logo img {
	width: 220px;
}

.work-card__text {
	max-width: 30ch;
	margin: 1.75rem auto 1.5rem;
}

.work-card .text-link {
	margin-top: auto;
}

@media (max-width: 760px) {
	.work__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.work-card {
		padding-inline: 0;
	}

	.work-card + .work-card {
		margin-top: 2.5rem;
		padding-top: 2.5rem;
		border-top: 1px solid var(--line);
		border-left: 0;
	}

	.work-card__logo img {
		width: 200px;
	}
}

/* Vision */

.vision__pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 1000px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	text-align: center;
}

.pillar {
	padding: 0.25rem clamp(1.25rem, 4vw, 3rem);
}

.pillar + .pillar {
	border-left: 1px solid var(--line-strong);
}

.pillar__numeral {
	display: block;
	margin-bottom: 0.85rem;
	color: var(--bronze);
	font-family: var(--font-display);
	font-size: 2.5rem;
	line-height: 1;
}

.pillar__title {
	margin-bottom: 0.5rem;
	font-size: 1.65rem;
}

.pillar__text {
	max-width: 22ch;
	margin: 0 auto;
}

.vision__more {
	margin: clamp(2.25rem, 4vw, 3rem) 0 0;
	text-align: center;
}

@media (max-width: 760px) {
	.vision__pillars {
		grid-template-columns: minmax(0, 1fr);
	}

	.pillar {
		padding-inline: 0;
	}

	.pillar + .pillar {
		margin-top: 1.75rem;
		padding-top: 1.75rem;
		border-top: 1px solid var(--line-strong);
		border-left: 0;
	}
}

/* Scripture */

.verse {
	text-align: center;
}

.verse__inner {
	margin-block: 0;
}

/* 48px keeps the petals open; they fill in below about 40px (brand kit README). */
.verse__symbol {
	width: 48px;
	margin: 0 auto 1.5rem;
}

.verse__text {
	margin: 0;
}

.verse__text p {
	max-width: 26ch;
	margin: 0 auto 1.5rem;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
	font-style: italic;
	line-height: 1.3;
	text-wrap: balance;
}

.verse__ref {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	color: var(--slate);
	font-size: 0.78rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.verse__ref::before,
.verse__ref::after {
	content: "";
	width: 1.75rem;
	height: 1px;
	background: var(--bronze);
}

/* Give band */

.give-band {
	padding-block: clamp(3.25rem, 6vw, 5rem);
	background: radial-gradient(42rem 22rem at 50% -4rem, rgba(79, 107, 138, 0.38), transparent 70%), var(--ink);
	color: rgba(247, 243, 233, 0.86);
	text-align: center;
}

.give-band__symbol {
	width: 56px;
	margin: 0 auto 1.25rem;
}

.give-band__title {
	margin-bottom: 1rem;
	color: var(--ivory);
	font-size: clamp(2.2rem, 1.7rem + 2vw, 3.2rem);
}

.give-band__text {
	max-width: 34rem;
	margin: 0 auto 1.75rem;
}

.give-band__actions {
	margin: 0;
}

.give-band :focus-visible {
	outline-color: var(--ivory);
}

/* ---------- Inner pages ---------- */

.page-hero {
	padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
	border-bottom: 1px solid var(--line);
	background: var(--glow);
	text-align: center;
}

.page-hero__title {
	margin-bottom: 1.5rem;
}

.page-hero .rule {
	margin-bottom: 0;
}

.page-hero__lead {
	max-width: 32ch;
	margin: 1.75rem auto 0;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem);
	font-style: italic;
	line-height: 1.45;
}

.prose > :first-child {
	margin-top: 0;
}

.prose > p:first-child {
	color: var(--ink);
	font-size: 1.3rem;
	line-height: 1.6;
}

.prose h2 {
	margin: 1.6em 0 0.55em;
	font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem);
}

.prose h2::before {
	content: "";
	display: block;
	width: 2.25rem;
	height: 1px;
	margin-bottom: 1.25rem;
	background: var(--bronze);
}

.prose h3 {
	margin: 2em 0 0.5em;
}

.prose ul,
.prose ol {
	margin: 0 0 1.15em;
	padding-left: 1.25em;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose blockquote {
	margin: 2em 0;
	padding-left: 1.5rem;
	border-left: 1px solid var(--bronze);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.55rem;
	font-style: italic;
	line-height: 1.4;
}

.prose blockquote cite {
	display: block;
	margin-top: 0.75rem;
	color: var(--slate);
	font-family: var(--font-text);
	font-size: 0.78rem;
	font-style: normal;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* Endorsement quote style: a longer quotation in text type, with a large faint quotation mark. */

.prose .is-style-endorsement {
	position: relative;
	isolation: isolate;
	margin: 2.75rem 0;
	padding: 1.6rem 0 0;
	border-left: 0;
	color: var(--charcoal);
	font-family: var(--font-text);
	font-size: 1.125rem;
	font-style: normal;
	line-height: 1.7;
}

.prose .is-style-endorsement::before {
	content: "\201C";
	position: absolute;
	z-index: -1;
	top: -1.4rem;
	left: -0.6rem;
	color: var(--bronze);
	font-family: var(--font-display);
	font-size: 8rem;
	line-height: 1;
	opacity: 0.18;
	pointer-events: none;
}

.prose .is-style-endorsement p {
	margin: 0;
}

.prose .is-style-endorsement cite {
	margin-top: 1.1rem;
	color: var(--slate);
	font-size: 0.9rem;
	letter-spacing: 0;
	line-height: 1.5;
	text-transform: none;
}

.prose .is-style-endorsement cite strong {
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
}

/* An eyebrow line over a heading: the bronze rule moves below the heading, as in the section heads. */

.prose .eyebrow + h2 {
	margin-top: 0;
}

.prose .eyebrow + h2::before {
	content: none;
}

.prose .eyebrow + h2::after {
	content: "";
	display: block;
	width: 2.25rem;
	height: 1px;
	margin-top: 1.25rem;
	background: var(--bronze);
}

.prose hr {
	width: 30%;
	height: 1px;
	margin: 3rem auto;
	border: 0;
	background: var(--line-strong);
}

.prose figure {
	margin: 2.5rem 0;
}

.prose figcaption,
.wp-caption-text {
	margin-top: 0.75rem;
	color: var(--slate);
	font-size: 0.85rem;
}

/* Give page */

.give {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(2.5rem, 6vw, 5.5rem);
}

.give-card {
	padding: 2.5rem 2.25rem;
	border: 1px solid var(--line-strong);
	outline: 1px solid var(--line);
	outline-offset: -8px;
	text-align: center;
}

.give-card--primary {
	background: var(--card);
	box-shadow: 0 24px 48px -32px rgba(15, 31, 45, 0.35);
}

.give-card + .give-card {
	margin-top: 1.5rem;
}

.give-card__symbol {
	width: 48px;
	margin: 0 auto 1.25rem;
}

.give-card__title {
	margin-bottom: 0.6rem;
	font-size: 2rem;
}

.give-card__action {
	margin: 1.75rem 0 0;
}

.give-card__note {
	margin: 1.25rem 0 0;
	font-size: 0.85rem;
}

.give__tax,
.give__questions {
	margin: 1.75rem 0 0;
	font-size: 0.9rem;
	text-align: center;
}

.give__questions {
	margin-top: 0.75rem;
}

/* Contact page */

.contact {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(2.5rem, 6vw, 5.5rem);
}

.contact__aside {
	padding-left: clamp(1.5rem, 4vw, 3rem);
	border-left: 1px solid var(--line);
}

.contact__heading,
.site-footer__heading {
	margin: 0 0 0.85rem;
	color: var(--slate);
	font-family: var(--font-text);
	font-size: 0.72rem;
	font-weight: 400;
	letter-spacing: 0.24em;
	line-height: 1.4;
	text-transform: uppercase;
}

.contact__block + .contact__block {
	margin-top: 2.25rem;
}

.contact__block p {
	margin-bottom: 0.6rem;
}

.contact__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact__links li + li {
	margin-top: 0.35rem;
}

@media (max-width: 880px) {
	.give,
	.contact {
		grid-template-columns: minmax(0, 1fr);
	}

	.contact__aside {
		padding: 2.5rem 0 0;
		border-top: 1px solid var(--line);
		border-left: 0;
	}
}

/* Form */

.contact-form {
	margin-top: 2.25rem;
}

.field {
	margin: 0 0 1.5rem;
}

.field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.5rem;
}

.field label {
	display: block;
	margin-bottom: 0.55rem;
	color: var(--ink);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.field__optional {
	color: rgba(46, 46, 46, 0.7);
	font-size: 0.85rem;
	letter-spacing: 0;
	text-transform: none;
}

.field input,
.field textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--line-strong);
	border-radius: 0;
	background: var(--card);
	color: var(--ink);
	font: inherit;
	font-size: 1.05rem;
	line-height: 1.5;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
	border-color: var(--ink);
	outline: none;
	box-shadow: 0 0 0 3px rgba(79, 107, 138, 0.28);
}

.field textarea {
	min-height: 11rem;
	resize: vertical;
}

.field--trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form__submit {
	margin: 0.5rem 0 0;
}

.notice {
	margin: 0 0 2rem;
	padding: 1rem 1.25rem;
	border-left: 2px solid;
	font-size: 1rem;
}

.notice--success {
	border-color: var(--slate);
	background: rgba(79, 107, 138, 0.09);
	color: var(--ink);
}

.notice--error {
	border-color: #9b3b2b;
	background: rgba(155, 59, 43, 0.07);
	color: #6e2618;
}

@media (max-width: 600px) {
	.field-row {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Posts (fallback) */

.entry-meta {
	margin-bottom: 0.75rem;
	color: var(--slate);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.entry-summary + .entry-summary {
	margin-top: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--line);
}

.entry-summary__title {
	font-size: 2rem;
}

.entry-summary__title a {
	text-decoration: none;
}

.nav-links {
	display: flex;
	gap: 1rem;
	margin-top: 3rem;
}

.not-found {
	text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
	padding-top: clamp(2.75rem, 5vw, 3.75rem);
	border-top: 1px solid var(--line);
	background: var(--paper);
	font-size: 0.95rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
}

.site-footer__brand img {
	width: 168px;
}

.site-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__list li + li {
	margin-top: 0.55rem;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
	text-decoration-color: var(--bronze);
}

.site-footer__address {
	margin-top: 1rem;
	line-height: 1.6;
}

.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	padding-block: 1.5rem 2rem;
	border-top: 1px solid var(--line);
	font-size: 0.82rem;
}

.site-footer__base p {
	margin: 0;
}

.site-footer__tagline {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 0.9rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@media (max-width: 880px) {
	.site-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	.site-footer__base {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ---------- WordPress core ---------- */

.alignleft {
	float: left;
	margin: 0.4rem 2rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.4rem 0 1rem 2rem;
}

.aligncenter {
	margin-inline: auto;
}

.alignwide {
	width: min(100vw - 2 * var(--gutter), 1080px);
	max-width: none;
	margin-inline: calc(50% - min(100vw - 2 * var(--gutter), 1080px) / 2);
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-inline: calc(50% - 50vw);
}

.wp-caption {
	max-width: 100%;
}

.sticky,
.bypostauthor,
.gallery-caption {
	display: block;
}
