/* ==========================================================================
   WFGA – main stylesheet
   --------------------------------------------------------------------------
   SCALING: all desktop sizes are written in rem = Figma px / 16 (1440 design).
   From 992px up the root font-size scales with the viewport (1rem = 16px at
   1440, 21.33px at 1920) so the layout looks identical on every desktop
   width – the 1920 design is the 1440 design scaled by 1.333.
   Mobile (< 992px) follows the 390px mobile design and scales the same way:
   the root font-size grows with the viewport from 360px up to 600px
   (1rem = 16px @390, ~24.6px @600+) together with --mu (collages, spacing),
   so text and images keep the design's proportions on large phones/tablets.
   ========================================================================== */

/* 0. Fonts – self-hosted WOFF2 (only the styles in use; latin-ext downloads only when needed).
   Fallback faces are size-adjusted to the web fonts' width (measured in Chrome) to reduce layout
   shift while the fonts load (font-display: swap). Preloaded in scripts_and_styles.php.
   ========================================================================== */
@font-face {
	font-family: "Lexend Deca";
	font-style: normal;
	font-weight: 300 400; /* variable font */
	font-display: swap;
	src: url("../fonts/lexend-deca-latin-ext.woff2") format("woff2");
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Lexend Deca";
	font-style: normal;
	font-weight: 300 400; /* variable font */
	font-display: swap;
	src: url("../fonts/lexend-deca-latin.woff2") format("woff2");
	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: "Platypi";
	font-style: italic;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/platypi-300-italic-latin-ext.woff2") format("woff2");
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Platypi";
	font-style: italic;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/platypi-300-italic-latin.woff2") format("woff2");
	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: "Platypi";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/platypi-300-latin-ext.woff2") format("woff2");
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Platypi";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/platypi-300-latin.woff2") format("woff2");
	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: "Rock Salt";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/rock-salt-400-latin.woff2") format("woff2");
	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: "Platypi Fallback";
	src: local("Georgia");
	size-adjust: 107.6%;
}
@font-face {
	font-family: "Lexend Deca Fallback";
	src: local("Arial"), local("Helvetica Neue");
	size-adjust: 105.5%;
}
@font-face {
	font-family: "Rock Salt Fallback";
	src: local("Comic Sans MS");
	size-adjust: 133.8%;
}

/* 1. Tokens
   ========================================================================== */
:root {
	/* Colours (Figma variables) */
	--c-cream: #fcf8ee;
	--c-brown: #3d3026;
	--c-green: #2e6359;
	--c-gold: #d9b869;
	--c-raisin: #231f20;
	--c-white: #ffffff;
	--c-line: #d3cac1;        /* menu separators */
	--c-line-light: #f3f3f3;  /* footer dividers */
	--c-sketch: #dbdbdb;      /* sketch button outline */
	--c-overlay: rgba(61, 48, 38, 0.35);

	/* Fonts */
	--f-serif: "Platypi", "Platypi Fallback", Georgia, serif;
	--f-sans: "Lexend Deca", "Lexend Deca Fallback", "Helvetica Neue", Arial, sans-serif;
	--f-hand: "Rock Salt", "Rock Salt Fallback", "Comic Sans MS", cursive;

	/* Type scale – mobile defaults, desktop overrides below */
	--fs-h1: 2rem;        /* Mobile/H1 32 */
	--fs-h2: 2rem;
	--fs-h3: 1.625rem;    /* section titles 26 */
	--fs-h4: 1.5rem;
	--fs-h5: 1.25rem;
	--fs-body-lg: 1.125rem; /* Mobile/Large Body 18 */
	--fs-body: 1.125rem;
	--fs-small: 0.875rem; /* Mobile/Small Body 14 */
	--fs-xs: 0.75rem;     /* Mobile/XS Body 12 */
	--fs-label: 0.875rem; /* preheaders 14 */

	--ls-tight: -0.01em;  /* Figma letter-spacing -1% */
	--ls-wide: 0.1em;     /* nav / labels / buttons 10% */

	/* Layout */
	--gutter: 1.875rem;   /* 30px mobile side padding */
	--container-max: 90rem;

	/* Bootstrap overrides */
	--bs-body-font-family: var(--f-serif);
	--bs-body-font-size: var(--fs-body);
	--bs-body-font-weight: 300;
	--bs-body-line-height: 1.4;
	--bs-body-color: var(--c-brown);
	--bs-body-bg: var(--c-white);
	--bs-link-color-rgb: 61, 48, 38;
	--bs-link-hover-color-rgb: 46, 99, 89;
	--bs-border-color: var(--c-line);
}

@media (max-width: 0px) {
	html {
		/* 1rem = 16px @390, grows like --mu (16px per 390px of width), capped at 600px.
		   100% + … keeps the user's browser font setting (percentage × length isn't valid CSS). */
		font-size: calc(100% + (clamp(360px, 100vw, 600px) - 390px) / 24.375);
	}
}

@media (min-width: 0px) {
	html {
		/* 1rem = 16px @1440, 21.333px @1920, ~11px @992 (layout scales proportionally) */
		font-size: clamp(1px, calc(100vw / 90), 21.333px);
	}

	/* Fixed-content variant (homepage ?layout=fixed, client comparison – see wfga_is_fixed_layout()):
	   scales down below 1440 like the default, but stops at 1440 → content and collages keep their
	   1440 size, centred; section backgrounds and torn edges (c-bleed) still span the full width. */
	html.layout-fixed {
		font-size: clamp(1px, calc(100vw / 90), 16px);
	}

	:root {
		--gutter: 7.125rem; /* 114px @1440, ~150px @1920 */
		--fs-h1: 6.25rem;   /* 100 – home hero */
		--fs-h2: 4.5rem;    /* 72 */
		--fs-h3: 3.375rem;  /* 54 */
		--fs-h4: 2.5rem;    /* 40 */
		--fs-h5: 2rem;      /* 32 */
		--fs-body-lg: 1.5rem; /* 24 */
		--fs-body: 1.125rem;  /* 18 */
		--fs-small: 0.875rem;
		--fs-xs: 0.75rem;
	}
}

/* 2. Base
   ========================================================================== */
html {
	-webkit-text-size-adjust: 100%;
}

body {
	letter-spacing: var(--ls-tight);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

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

.container {
	max-width: var(--container-max);
	padding-inline: var(--gutter);
}

.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 2000;
	padding: 0.75rem 1rem;
	background: var(--c-brown);
	color: var(--c-cream);
}

/* 3. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5 {
	font-family: var(--f-serif);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: var(--ls-tight);
	color: inherit;
	margin-bottom: 0;
}

h1, .h1 { font-size: var(--fs-h1); line-height: 1.2; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4, .h4 { font-size: var(--fs-h4); }
h5, .h5 { font-size: var(--fs-h5); line-height: 1.4; }

@media (min-width: 0px) {
	h1, .h1,
	h3, .h3 { line-height: 1.1; }
}

/* Emphasis words in headings ("Sharing *practical* …") */
h1 em, h2 em, h3 em, h4 em, h5 em,
.h1 em, .h2 em, .h3 em, .h4 em, .h5 em {
	font-style: italic;
}

p {
	margin-bottom: 0;
}

.text-lg {
	font-size: var(--fs-body-lg);
	line-height: 1.4;
}

/* Section intro copy: 14 mobile / 24 desktop (Platypi) */
.text-lead {
	font-size: 0.875rem;
	line-height: 1.4;
}

@media (min-width: 0px) {
	.text-lead {
		font-size: 1.5rem;
	}
}

.text-small {
	font-family: var(--f-sans);
	font-size: var(--fs-small);
	line-height: 1.4;
}

.text-xs {
	font-family: var(--f-sans);
	font-size: var(--fs-xs);
	line-height: 1.4;
}

/* Preheader / label: "MAILING LIST", "CONTACT" */
.eyebrow {
	font-family: var(--f-sans);
	font-weight: 300;
	font-size: var(--fs-label);
	line-height: 1.4;
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
}

/* 4. Buttons
   ========================================================================== */

/* 4.1 Pill – nav CTAs, donate (Lexend, uppercase)
   The hand-painted shape (rough brush edges, from Figma) is a 3-slice CSS mask
   on ::before: left cap + stretchable middle + right cap, so the round ends
   never distort whatever the button width. Height is fixed per size. */
.btn-pill {
	--pill-h: 1.875rem; /* 30 */
	position: relative;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: var(--pill-h);
	padding: 0 1rem;
	border: 0;
	background: none;
	color: var(--btn-color, var(--c-brown));
	font-family: var(--f-sans);
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 1;
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}

.btn-pill::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--btn-bg, var(--c-gold));
	-webkit-mask:
		url("../img/btn-shape-l.svg") left center / auto 100% no-repeat,
		url("../img/btn-shape-r.svg") right center / auto 100% no-repeat,
		url("../img/btn-shape-m.svg") center / calc(100% - var(--pill-h) * 0.9) 100% no-repeat;
	mask:
		url("../img/btn-shape-l.svg") left center / auto 100% no-repeat,
		url("../img/btn-shape-r.svg") right center / auto 100% no-repeat,
		url("../img/btn-shape-m.svg") center / calc(100% - var(--pill-h) * 0.9) 100% no-repeat;
	transition: background-color 0.2s ease;
}

/* hover (Figma "hover states" 1887:2611): every pill turns brown with cream text */
.btn-pill:hover,
.btn-pill:focus-visible {
	--btn-bg: var(--c-brown);
	--btn-color: var(--c-cream);
}

.btn-pill--gold {
	--btn-bg: var(--c-gold);
	--btn-color: var(--c-brown);
}

.btn-pill--green {
	--btn-bg: var(--c-green);
	--btn-color: var(--c-cream);
}

/* small – mobile footer "Donate" */
.btn-pill--sm {
	--pill-h: 2.3125rem; /* 37 */
	padding: 0 1.25rem;
	font-size: 0.75rem;
	line-height: 1.1;
}

/* large – mobile menu CTAs */
.btn-pill--lg {
	--pill-h: 4rem; /* 64 */
	width: 100%;
	padding: 0 0.625rem;
	font-size: 1.25rem;
	line-height: 1.4;
}

/* 4.2 Sketch – "What we do", "Find out more" (Rock Salt, hand-drawn double outline)
   The two rough pencil outlines come from Figma as a 3-slice CSS mask on ::before
   (left cap + stretchable middle + right cap), coloured with --sketch-color.
   Mobile = "Button Small" (39px, 12px text, thin lines), desktop = 72px, 18px text. */
.btn-sketch {
	--sk-h: 2.4375rem; /* 39 */
	--sk-l: url("../img/btn-sketch-mobile-l.svg");
	--sk-m: url("../img/btn-sketch-mobile-m.svg");
	--sk-r: url("../img/btn-sketch-mobile-r.svg");
	position: relative;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: var(--sk-h);
	padding: 0 1.5625rem;
	color: var(--sketch-text, var(--c-brown));
	font-family: var(--f-hand);
	font-size: 0.75rem;
	line-height: 1.1;
	letter-spacing: 0;
	white-space: nowrap;
	background: none;
	border: 0;
	cursor: pointer;
}

.btn-sketch::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--sketch-color, var(--c-sketch));
	-webkit-mask:
		var(--sk-l) left center / auto 100% no-repeat,
		var(--sk-r) right center / auto 100% no-repeat,
		var(--sk-m) center / calc(100% - var(--sk-h) * 1.05) 100% no-repeat;
	mask:
		var(--sk-l) left center / auto 100% no-repeat,
		var(--sk-r) right center / auto 100% no-repeat,
		var(--sk-m) center / calc(100% - var(--sk-h) * 1.05) 100% no-repeat;
	pointer-events: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

@media (min-width: 0px) {
	.btn-sketch {
		--sk-h: 4.5rem; /* 72 */
		--sk-l: url("../img/btn-sketch-l.svg");
		--sk-m: url("../img/btn-sketch-m.svg");
		--sk-r: url("../img/btn-sketch-r.svg");
		padding: 0 2.875rem;
		font-size: 1.125rem;
	}
}

/* hover (Figma 1887:2611): the pencil outlines turn brown */
.btn-sketch:hover,
.btn-sketch:focus-visible {
	--sketch-color: var(--c-brown);
}

/* On dark backgrounds */
.btn-sketch--light {
	--sketch-text: var(--c-cream);
}

@media (min-width: 0px) {
	.btn-sketch--light {
		--sketch-color: var(--c-cream);
	}
}

/* hover on dark: filled cream with brown text – Figma draws it as two overlapping filled pills
   (237×68 in the 244×72 button, the second one offset 7/4 px), here ::after + its box-shadow.
   The fill is inset 3px under the cream pencil outlines (::before), so the rough outline stays
   the edge of the shape, as in the design – a plain pill edge would look too smooth. */
.btn-sketch--light::after {
	content: "";
	position: absolute;
	top: calc(var(--sk-h) * 3 / 72);
	left: calc(var(--sk-h) * 3 / 72);
	right: calc(var(--sk-h) * 10 / 72);
	bottom: calc(var(--sk-h) * 7 / 72);
	z-index: -2;
	border-radius: var(--sk-h);
	background: var(--c-cream);
	box-shadow: calc(var(--sk-h) * 7 / 72) calc(var(--sk-h) * 4 / 72) 0 0 var(--c-cream);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.btn-sketch--light:hover,
.btn-sketch--light:focus-visible {
	--sketch-text: var(--c-brown);
	--sketch-color: var(--c-cream);
}

.btn-sketch--light:hover::after,
.btn-sketch--light:focus-visible::after {
	opacity: 1;
}

/* 4.3 Tag button – "more info" on event cards (gold, Rock Salt) */
.btn-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 0.625rem 1.25rem;
	border: 2px solid var(--c-gold);
	border-radius: 3.125rem;
	background: var(--c-gold);
	color: var(--c-brown);
	font-family: var(--f-hand);
	font-size: 0.75rem;
	line-height: 1.1;
	letter-spacing: 0;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* hover (Figma 1887:2611): brown with cream text – also when the whole card is hovered */
.btn-tag:hover,
.btn-tag:focus-visible,
.event-card:hover .btn-tag {
	border-color: var(--c-brown);
	background: var(--c-brown);
	color: var(--c-cream);
}

@media (min-width: 0px) {
	.btn-tag {
		padding: 0.75rem 1.25rem;
	}
}

/* 4.4 "See more" row between two rules */
.see-more {
	border-top: 1px solid rgba(61, 48, 38, 0.2);
	border-bottom: 1px solid rgba(61, 48, 38, 0.2);
	text-align: center;
}

.see-more a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4375rem 0;
	color: var(--c-brown);
	font-size: 0.875rem;
	line-height: 1.4;
}

.see-more a img {
	width: 0.7rem;
	height: auto;
	transform: rotate(90deg);
}

/* hover (Figma 1887:2611): text + chevron grow slightly (18 → 19px); links and reveal buttons */
.see-more a,
.see-more button {
	transition: transform 0.2s ease;
}

.see-more a:hover,
.see-more a:focus-visible,
.see-more button:hover,
.see-more button:focus-visible {
	transform: scale(1.06);
}

@media (min-width: 0px) {
	.see-more a {
		padding: 0.875rem 0;
		font-size: 1.125rem;
	}
}

/* 4.5 Event card (home + events listing) */
.event-cards {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0 calc(-1 * var(--gutter));
	padding: 0 var(--gutter) 0.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}

.event-cards::-webkit-scrollbar {
	display: none;
}

.event-card {
	position: relative;
	display: flex;
	flex: 0 0 17.75rem;
	flex-direction: column;
	gap: 1.875rem;
	height: 24.625rem;
	padding: 0.625rem;
	border: 1px solid rgba(61, 48, 38, 0.2);
	scroll-snap-align: start;
	transition: border-color 0.2s ease;
}

.event-card__media {
	position: relative;
	flex: 1 1 0;
	min-height: 0;
	overflow: hidden;
}

.event-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.event-card__body {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 0.5rem;
	min-height: 0;
}

.event-card__type {
	font-family: var(--f-sans);
	font-weight: 300;
	font-size: 0.875rem;
	line-height: 1.4;
	letter-spacing: var(--ls-tight);
	text-transform: uppercase;
}

.event-card__title {
	font-size: 1.125rem;
	line-height: 1.4;
}

.event-card__title a {
	color: inherit;
}

/* whole card is clickable */
.event-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.event-card:hover {
	border-color: rgba(61, 48, 38, 0.45);
}

.event-card:hover .event-card__media img {
	transform: scale(1.04);
}

@media (min-width: 0px) {
	.event-cards {
		display: grid;
		grid-template-columns: repeat(4, 17.375rem);
		gap: 1.5625rem;
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.event-card {
		gap: 0;
		height: 26.4375rem;
		padding: 1.125rem;
	}

	.event-card__media {
		flex: 0 0 10.25rem;
	}

	.event-card__body {
		flex: 0 0 auto;
		gap: 0.25rem;
		margin-top: 1.5rem;
	}

	.event-card__type {
		font-size: 0.75rem;
		letter-spacing: var(--ls-wide);
	}

	.event-card .btn-tag {
		margin-top: auto;
	}
}

/* 4.6 Collage system
   Decorative layers placed with Figma coordinates (see wfga_piece()).
   --u = one Figma px: 1/16rem on desktop (scales with the root), on mobile
   1/390 of the (max 600px) mobile canvas. */
:root {
	--mu: calc(min(100vw, 600px) / 390);
	--u: var(--mu);
}

@media (min-width: 0px) {
	:root {
		--u: 0.0625rem;
	}
}

.c-section {
	position: relative;
	min-height: calc(var(--u) * var(--msh, 0));
	overflow-x: clip;
}

/* Safari < 16 has no overflow: clip – hide overflow instead (also clips
   vertically, acceptable for these old browsers). */
@supports not (overflow-x: clip) {
	.c-section {
		overflow: hidden;
	}
}

.c-canvas {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: 0;
	width: calc(var(--u) * 390);
	transform: translateX(-50%);
	pointer-events: none;
}

.c-content {
	position: relative;
	z-index: 1;
}

.c-piece {
	position: absolute;
	left: calc(var(--u) * var(--mx, 0));
	top: calc(var(--u) * var(--my, 0));
	z-index: var(--mz, auto);
	width: calc(var(--u) * var(--mw, 0));
	height: calc(var(--u) * var(--mh, 0));
	margin: 0;
	transform: rotate(var(--mr, 0deg)) scale(var(--msx, 1), var(--msy, 1));
}

.c-piece picture {
	display: contents;
}

.c-piece img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
}

.c-crop {
	overflow: hidden;
}

.c-crop img {
	position: absolute;
	left: var(--mil, var(--il, 0%));
	top: var(--mit, var(--it, 0%));
	width: var(--miw, var(--iw, 100%));
	height: var(--mih, var(--ih, 100%));
	/* Figma mask groups: rotated/flipped image inside an unrotated mask shape (figma_collage.py → mask_group) */
	transform: rotate(var(--mir, 0deg)) scale(var(--misx, 1), var(--misy, 1));
	transform-origin: var(--mio, 50% 50%);
	clip-path: var(--miclip, none);
}

.c-cover img {
	object-fit: cover;
}

/* photo printed on paper: white base + multiplied texture */
.c-paper {
	background: var(--c-white);
}

.c-paper img {
	mix-blend-mode: multiply;
}

.c-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.3);
	mix-blend-mode: multiply;
}

/* full-bleed edges: x/width relative to the section width, height from aspect ratio */
.c-bleed {
	left: calc(var(--mx, 0) / 390 * 100%);
	width: calc(var(--mw, 0) / 390 * 100%);
	height: auto;
	aspect-ratio: var(--mw, 1) / var(--mh, 1);
}

/* anchored to the section bottom (torn edges into the next section/footer):
   keeps its distance from the bottom even when the content makes the section taller */
.c-bottom {
	top: auto;
	bottom: calc(var(--u) * var(--mb, 0));
}

.c-note {
	position: absolute;
	left: calc(var(--u) * var(--mx, 0));
	top: calc(var(--u) * var(--my, 0));
	color: var(--c-sketch);
	font-family: var(--f-hand);
	font-size: calc(var(--u) * var(--mfs, 16));
	line-height: 1.1;
	letter-spacing: -0.02em;
	white-space: nowrap;
	transform: translate(-50%, -50%) rotate(var(--mr, 0deg));
}

/* text clipped to a paper shape (wfga_mask_text): the .c-piece box is the shape (mask 100%),
   the text inside is placed and rotated in the shape's own coordinates (like image mask groups) */
.c-mbox {
	-webkit-mask: var(--mask) no-repeat 0 0 / 100% 100%;
	mask: var(--mask) no-repeat 0 0 / 100% 100%;
}

.c-mtext {
	position: absolute;
	font-family: var(--f-serif);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.c-desktop {
	display: none;
}

@media (min-width: 0px) {
	.c-section {
		min-height: calc(var(--u) * var(--sh, 0));
	}

	.c-canvas {
		width: calc(var(--u) * 1440);
	}

	.c-piece {
		left: calc(var(--u) * var(--x, 0));
		top: calc(var(--u) * var(--y, 0));
		z-index: var(--z, auto);
		width: calc(var(--u) * var(--w, 0));
		height: calc(var(--u) * var(--h, 0));
		transform: rotate(var(--r, 0deg)) scale(var(--sx, 1), var(--sy, 1));
	}

	.c-crop img {
		left: var(--il, 0%);
		top: var(--it, 0%);
		width: var(--iw, 100%);
		height: var(--ih, 100%);
		transform: rotate(var(--ir, 0deg)) scale(var(--isx, 1), var(--isy, 1));
		transform-origin: var(--io, 50% 50%);
		clip-path: var(--iclip, none);
	}

	.c-bleed {
		left: calc(var(--x, 0) / 1440 * 100%);
		width: calc(var(--w, 0) / 1440 * 100%);
		height: auto;
		aspect-ratio: var(--w, 1) / var(--h, 1);
	}

	.c-bottom {
		top: auto;
		bottom: calc(var(--u) * var(--b, 0));
	}

	.c-note {
		left: calc(var(--u) * var(--x, 0));
		top: calc(var(--u) * var(--y, 0));
		font-size: calc(var(--u) * var(--fs, 16));
		transform: translate(-50%, -50%) rotate(var(--r, 0deg));
	}

	.c-desktop {
		display: block;
	}

	.c-mobile {
		display: none;
	}
}

/* 4.7 Scroll parallax – collage depths (wfga_collage() $depth: back / mid / front)
   Each depth is its own (baked) collage box covering the canvas. Desktop only, off for
   prefers-reduced-motion; only decorations move – text never does. Every depth sits at its exact
   design position when the section is centred in the viewport (top sections: at scroll 0).
   CSS scroll-driven animations where supported, main.js (initParallax) otherwise.
   --pa = amplitude in Figma px (positive = moves up faster than the page = closer). */
@property --pa {
	syntax: "<length>";
	inherits: true;
	initial-value: 0px;
}

.c-depth {
	position: absolute;
	inset: 0;
}

@media (min-width: 0px) and (prefers-reduced-motion: no-preference) {
	.c-depth {
		will-change: translate;
	}

	.c-depth--back  { --pa: calc(var(--u) * -16); }
	.c-depth--mid   { --pa: calc(var(--u) * 18); }
	.c-depth--front { --pa: calc(var(--u) * 48); }

	@supports (animation-timeline: view()) {
		.c-section:has(> .c-canvas > .c-depth) {
			view-timeline: --c-section block;
		}

		.c-depth {
			animation: c-depth linear both;
			animation-timeline: --c-section;
			animation-range: cover 0% cover 100%;
		}

		/* first section on the page (.c-parallax-top): design position at scroll 0, drifts over the
		   first viewport height of scrolling */
		.c-parallax-top .c-depth {
			animation-name: c-depth-top;
			animation-timeline: scroll(root block);
			animation-range: 0 100vh;
		}
	}
}

@keyframes c-depth {
	from { translate: 0 var(--pa); }
	to   { translate: 0 calc(var(--pa) * -1); }
}

@keyframes c-depth-top {
	from { translate: 0 0; }
	to   { translate: 0 calc(var(--pa) * -2); }
}

/* 4.8 Smooth wheel scrolling – Lenis 1.3.27 (assets/vendor/lenis/lenis.css, inlined here to save a
   request; loaded by main.js initSmoothScroll on mouse/trackpad devices only).
   iframes ignore the pointer only while a smooth scroll is running, so the wheel doesn't get
   stuck over a Beacon embed – they are clickable again as soon as the page stops. */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
	overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
	overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
	pointer-events: none;
}

.lenis.lenis-autoToggle {
	transition-property: overflow;
	transition-duration: 1ms;
	transition-behavior: allow-discrete;
}

/* 5. Header
   ========================================================================== */
.site-header {
	position: relative;
	z-index: 1030;
	overflow-x: clip; /* the dropdown's torn-paper background is 3.5% wider than the viewport */
	/* white by default; pages whose design has a cream band behind the header
	   get body.header-cream (see wfga_body_classes()) */
	background: var(--c-white);
}

.header-cream .site-header {
	background: var(--c-cream);
}

@media (min-width: 0px) {
	.header-cream-lg .site-header {
		background: var(--c-cream);
	}
}

.header-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1.5rem;
}

.site-logo {
	display: block;
	flex-shrink: 0;
	line-height: 0;
}

.site-logo img {
	width: 7.144rem; /* 114px mobile */
	height: auto;
}

.menu-toggle {
	display: inline-flex;
	padding: 0.5rem;
	margin-right: -0.5rem;
	background: none;
	border: 0;
	line-height: 0;
}

.menu-toggle img {
	width: 1.375rem;
}

/* 5.1 Desktop nav */
.header-right {
	display: none;
}

@media (min-width: 0px) {
	.header-inner {
		padding-top: 1.8125rem;
	}

	.site-logo {
		margin-left: -1.5625rem; /* circular text sits outside the content edge */
	}

	.site-logo img {
		width: 12.795rem; /* 204.7px */
	}

	.menu-toggle {
		display: none;
	}

	.header-right {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 1.5rem;
	}
}

.header-icons {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.header-icons a,
.header-icons button {
	display: inline-flex;
	padding: 0;
	background: none;
	border: 0;
	line-height: 0;
}

.header-icons img {
	width: 1rem;
	height: 1.125rem;
}

.header-icons .icon-search {
	width: 1.03rem;
	height: 1.03rem;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.main-nav__list {
	display: flex;
	align-items: center;
	gap: 3rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav__item {
	position: relative;
}

.main-nav__link {
	display: block;
	padding: 0;
	background: none;
	border: 0;
	color: var(--c-brown);
	font-family: var(--f-sans);
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 1;
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transform-origin: left center;
	transition: transform 0.2s ease;
}

/* hover (Figma 1887:2611): the label grows from its left edge (14 → 15px), colour stays brown;
   transform, so the neighbouring items don't move */
.main-nav__link:hover,
.main-nav__link:focus-visible,
.main-nav__item.is-open > .main-nav__link {
	color: var(--c-brown);
	transform: scale(1.07);
}

/* current section ("Selected") – 2px underline */
.main-nav__link[aria-current="page"] {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.55em;
}

.main-nav__ctas {
	display: flex;
	align-items: center;
	gap: 2rem;
}

/* Dropdown */
.main-nav__sub {
	position: absolute;
	top: calc(100% + 1.9rem);
	left: -0.86rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.25rem);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.main-nav__item.is-open > .main-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.main-nav__sub a {
	display: flex;
	align-items: center;
	gap: 0.32rem;
	color: var(--c-brown);
	font-family: var(--f-sans);
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 1;
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	white-space: nowrap;
}

.main-nav__sub a img {
	width: 0.744rem;
	height: auto;
}

/* hover (Figma 1887:2611): arrow + label grow (14 → 15px) around the label's start,
   so the arrow moves out to the left a little; colour stays brown */
.main-nav__sub a {
	position: relative;
	transform-origin: 1.064rem center; /* arrow width + gap */
	transition: transform 0.2s ease;
}

.main-nav__sub a:hover,
.main-nav__sub a:focus-visible {
	color: var(--c-brown);
	transform: scale(1.07);
}

/* current page ("Selected") – 2px rule under arrow + label */
.main-nav__sub a[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 0.19rem;
	right: 0;
	bottom: -0.5rem;
	height: 2px;
	background: currentColor;
}

/* Cream torn-paper panel + page dim while a dropdown is open */
.header-dropdown-bg {
	position: absolute;
	top: -1.736vw; /* SVG has 25px of shadow padding around a 1440px-wide shape */
	left: -1.736%;
	z-index: 1;
	width: 103.472%;
	aspect-ratio: 1490 / 327.771;
	background: url("../img/header-dropdown-bg.svg") no-repeat center top / 100% 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s;
}

@media (max-width: 0px) {
	.header-dropdown-bg {
		display: none; /* desktop dropdown only */
	}
}

.header-overlay {
	position: fixed;
	inset: 0;
	z-index: 0;
	background: var(--c-overlay);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s;
}

.site-header.is-dropdown-open .header-dropdown-bg,
.site-header.is-dropdown-open .header-overlay {
	opacity: 1;
	visibility: visible;
}

/* Header search panel */
.header-search {
	position: relative;
	z-index: 2;
}

.header-search__form {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-block: 1.5rem;
	border-bottom: 1px solid var(--c-line);
}

.header-search__form input {
	flex: 1;
	min-width: 0;
	padding: 0.5rem 0;
	background: transparent;
	border: 0;
	color: var(--c-brown);
	font-family: var(--f-serif);
	font-size: var(--fs-body-lg);
}

.header-search__form input:focus {
	outline: 0;
}

.header-search__form button {
	padding: 0.25rem;
	background: none;
	border: 0;
	line-height: 0;
}

.header-search__form button img {
	width: 1.25rem;
}

/* 5.2 Mobile menu (full-screen offcanvas) + collapse – own CSS, driven by assets/js/main.js
   (Bootstrap's JS components are not loaded; markup keeps the data-bs-* attributes). */
.offcanvas {
	position: fixed;
	inset: 0;
	z-index: 1045;
	display: flex;
	flex-direction: column;
	background: var(--c-cream);
	transform: translateY(-100%);
	visibility: hidden;
	transition: transform 0.35s ease, visibility 0s linear 0.35s;
}

.offcanvas.show {
	transform: none;
	visibility: visible;
	transition: transform 0.35s ease, visibility 0s;
}

.offcanvas-body {
	flex-grow: 1;
	overflow-y: auto;
}

.collapse:not(.show) {
	display: none;
}

.collapsing {
	height: 0;
	overflow: hidden;
	transition: height 0.35s ease;
}

body.is-offcanvas-open {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.offcanvas,
	.offcanvas.show,
	.collapsing {
		transition: none;
	}
}

.mobile-menu .offcanvas-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem var(--gutter) 0;
}

.mobile-menu .offcanvas-header .site-logo img {
	width: 7.144rem;
}

.mobile-menu__close {
	display: inline-flex;
	padding: 0.5rem;
	margin-right: -0.5rem;
	background: none;
	border: 0;
	line-height: 0;
}

.mobile-menu__close img {
	width: 1.0625rem;
}

.mobile-menu .offcanvas-body {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	padding: 2.5rem var(--gutter) 3rem;
}

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

.mobile-nav__item {
	padding-block: 1.5rem;
	border-bottom: 1px solid var(--c-line);
}

.mobile-nav__item:first-child {
	padding-top: 0;
}

.mobile-nav__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	background: none;
	border: 0;
	color: var(--c-raisin);
	font-family: var(--f-sans);
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 1.4;
	letter-spacing: var(--ls-wide);
	text-align: left;
	text-transform: uppercase;
}

.mobile-nav__toggle-icon {
	position: relative;
	width: 1.1rem;
	height: 1.1rem;
	flex-shrink: 0;
}

.mobile-nav__toggle-icon img {
	position: absolute;
	inset: 0;
	margin: auto;
	transition: opacity 0.2s ease;
}

.mobile-nav__toggle-icon .icon-chevron {
	width: 1.1rem;
}

.mobile-nav__toggle-icon .icon-close {
	width: 1.0625rem;
	opacity: 0;
}

.mobile-nav__link[aria-expanded="true"] .icon-chevron {
	opacity: 0;
}

.mobile-nav__link[aria-expanded="true"] .icon-close {
	opacity: 1;
}

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

.mobile-nav__sub li {
	padding-top: 1.5rem;
}

.mobile-nav__sub a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--c-raisin);
	font-family: var(--f-sans);
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 1.15;
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
}

.mobile-nav__sub a img {
	width: 1.23rem;
}

.mobile-menu__icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
}

.mobile-menu__icons a,
.mobile-menu__icons button {
	display: inline-flex;
	padding: 0;
	background: none;
	border: 0;
	line-height: 0;
}

.mobile-menu__icons img {
	width: 1.5rem;
	height: 1.6875rem;
}

.mobile-menu__ctas {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* 6. Footer
   ========================================================================== */
.site-footer {
	position: relative;
	background: var(--c-white);
	border-top: 2px solid var(--c-line-light);
}

/* the top rule again, above bottom-anchored torn edges that reach into the footer
   (e.g. home numbers rip, --b: -18, z-index 2) – they would hide the border */
.site-footer::after {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	right: 0;
	z-index: 3;
	height: 2px;
	background: var(--c-line-light);
	pointer-events: none;
}

.footer-section {
	margin-inline: calc(-1 * var(--gutter));
	padding: 3.5rem var(--gutter);
	border-top: 2px solid var(--c-line-light);
}

.footer-newsletter {
	border-top: 0;
}

.footer-newsletter__title {
	margin-top: 0.5rem;
	font-size: 2rem;
	line-height: 1.2;
}

/* Underlined one-field form with an arrow button – footer newsletter, search (searchform.php) */
.line-form {
	position: relative;
	border-bottom: 2px solid var(--c-line-light);
}

.newsletter-form {
	margin-top: 2.5rem;
}

.line-form input {
	width: 100%;
	padding: 0 2.5rem 0.5rem 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--c-brown);
	font-family: var(--f-sans);
	font-weight: 300;
	font-size: 0.875rem;
	line-height: 1.4;
	letter-spacing: var(--ls-tight);
}

.line-form input::placeholder {
	color: var(--c-brown);
	opacity: 1;
}

.line-form input:focus {
	outline: 0;
}

.line-form:focus-within {
	border-bottom-color: var(--c-brown);
}

.line-form button {
	position: absolute;
	top: 0.1rem;
	right: 0;
	padding: 0;
	background: none;
	border: 0;
	line-height: 0;
}

.line-form button img {
	width: 1rem;
	transition: transform 0.2s ease;
}

.line-form button:hover img {
	transform: translateX(0.25rem);
}

.footer-info {
	display: flex;
	flex-direction: column;
}

.footer-contact {
	order: 1;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	margin-block: 0;
}

.footer-contact__row dt {
	font-weight: 300;
}

.footer-contact__row dd {
	margin: 0.5rem 0 0;
	font-size: 1.125rem;
	line-height: 1.4;
}

.footer-contact__row a {
	color: inherit;
}

.footer-contact__row a:hover {
	color: var(--c-green);
}

.footer-social {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-social a {
	display: inline-flex;
	line-height: 0;
}

.footer-social a:hover {
	opacity: 0.7;
}

.footer-social img {
	width: 1.5rem;
	height: 1.5rem;
}

.footer-donate {
	order: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
}

.footer-donate p {
	font-size: 1.125rem;
	line-height: 1.4;
}

.footer-bottom__inner {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-block: 3.5rem;
	border-top: 2px solid var(--c-line-light);
	margin-inline: calc(-1 * var(--gutter));
	padding-inline: var(--gutter);
}

.footer-bottom .site-logo img {
	width: 7.144rem;
}

.footer-legal {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	font-family: var(--f-sans);
	font-weight: 300;
	font-size: 0.75rem;
	line-height: 1.4;
}

.footer-legal ul {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-legal a {
	color: inherit;
}

.footer-legal a:hover {
	color: var(--c-green);
}

/* Desktop footer: two columns split by a vertical line at 50% */
@media (min-width: 0px) {
	.site-footer::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 50%;
		z-index: 3; /* above torn edges reaching into the footer (see .site-footer::after) */
		width: 2px;
		background: var(--c-line-light);
		pointer-events: none;
	}

	.footer-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.footer-section {
		margin-inline: 0;
		padding: 0;
		border-top: 0;
	}

	.footer-top {
		padding-top: 5rem;
		padding-bottom: 6rem;
	}

	.footer-newsletter {
		max-width: 30.5rem;
	}

	.footer-newsletter__title {
		margin-top: 0.75rem;
		font-size: 2.5rem;
	}

	.line-form {
		max-width: 30rem;
	}

	.newsletter-form {
		margin-top: 5.5rem;
	}

	.line-form input {
		padding-bottom: 1rem;
		font-size: 1.125rem;
	}

	.line-form button {
		top: 0.35rem;
	}

	.line-form button img {
		width: 1.28rem;
	}

	.footer-info {
		gap: 4.5rem;
		padding-left: 7.5rem;
	}

	.footer-donate {
		order: 0;
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 2rem;
	}

	.footer-donate p {
		max-width: 19.75rem;
	}

	.footer-donate .btn-pill {
		--pill-h: 1.875rem;
		margin-top: 0.625rem;
		padding: 0 1rem;
		font-size: 0.875rem;
		line-height: 1;
	}

	.footer-contact {
		gap: 4.5rem;
	}

	.footer-contact__row {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 2rem;
	}

	.footer-contact__row dt {
		padding-top: 0.25rem;
	}

	.footer-contact__row dd {
		margin: 0;
		text-align: right;
	}

	.footer-contact__row--social {
		align-items: center;
	}

	.footer-contact__row--social dt {
		padding-top: 0;
	}

	.footer-social {
		gap: 1.5625rem;
	}

	.footer-bottom {
		border-top: 2px solid var(--c-line-light);
	}

	.footer-bottom__inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 0;
		margin-inline: 0;
		padding: 3rem 0;
		border-top: 0;
	}

	.footer-bottom .site-logo {
		margin-left: 0;
	}

	.footer-bottom .site-logo img {
		width: 12.795rem;
	}

	.footer-legal {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding-left: 7.5rem;
	}

	.footer-legal p {
		max-width: 19.875rem;
	}

	.footer-legal ul {
		align-items: flex-end;
		gap: 0.5rem;
		text-align: right;
	}
}

/* 7. Inner page components (reused across templates)
   ========================================================================== */
.inner-page {
	background: var(--c-white);
}

/* Page title (h1) – 32 mobile / 72 desktop, centred */
.page-title {
	font-size: 2rem;
	line-height: 1.2;
	text-align: center;
}

@media (min-width: 0px) {
	.page-title {
		font-size: 4.5rem;
		line-height: 1.1;
	}
}

/* left-aligned page title variant */
.page-title--left {
	text-align: left;
}

/* Dark green photo band behind a centred quote */
.quote-band {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: calc(var(--u) * var(--qb-mh, 668));
	overflow: hidden;
	background: var(--c-green);
}

.quote-band img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	opacity: 0.5;
}

.quote-band picture {
	display: contents;
}

@media (min-width: 0px) {
	.quote-band {
		height: calc(var(--u) * var(--qb-h, 719));
	}
}

.quote-band__quote,
.testimonial {
	margin: 0;
}

.quote-band__quote blockquote,
.testimonial blockquote {
	margin: 0;
}

.quote-band__quote {
	max-width: 19.25rem;
	margin-inline: auto;
	color: var(--c-cream);
	text-align: center;
}

.quote-band__quote p,
.testimonial p {
	font-size: 1.625rem;
	line-height: 1.2;
}

/* big opening quote mark */
.quote-band__quote blockquote::before,
.testimonial blockquote::before {
	content: "“";
	display: block;
	font-size: 5rem;
	line-height: 0.55;
	margin-bottom: 3.875rem;
}

@media (min-width: 0px) {
	.quote-band__quote {
		max-width: 59.4375rem;
	}

	.quote-band__quote p {
		font-size: 2.5rem;
		line-height: 1.3;
	}

	.quote-band__quote blockquote::before,
	.testimonial blockquote::before {
		font-size: 7.5rem;
		margin-bottom: 2.125rem;
	}
}

/* Testimonial: centred on mobile, left on desktop */
.testimonial {
	max-width: 20.625rem;
	margin-inline: auto;
	text-align: center;
}

.testimonial figcaption {
	margin-top: 2rem;
}

@media (min-width: 0px) {
	.testimonial {
		max-width: 33.4375rem;
		margin-inline: 0;
		text-align: left;
	}

	.testimonial blockquote::before {
		margin-bottom: 2rem;
		margin-left: -0.5rem;
	}

	.testimonial p {
		font-size: 2rem;
		line-height: 1.4;
	}

	.testimonial figcaption {
		margin-top: 3.5rem;
	}
}

/* Long copy in two columns (14 mobile / 18 desktop) */
.text-cols {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	font-size: 0.875rem;
	line-height: 1.4;
}

.text-cols__col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.text-cols a,
.prose a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	text-decoration-thickness: 1px;
}

.text-cols a:hover,
.prose a:hover {
	color: var(--c-green);
}

@media (min-width: 0px) {
	.text-cols {
		display: grid;
		grid-template-columns: repeat(2, 30.4375rem);
		column-gap: 3.8125rem;
		font-size: 1.125rem;
	}

	.text-cols__col {
		gap: 1.5rem;
	}
}

/* Photo printed on textured paper (white + multiplied texture, 10px border) */
.paper-frame {
	position: relative;
	padding: 0.625rem;
	background: var(--c-white);
}

.paper-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/home/paper-texture.jpg") center / cover;
	background-image: image-set(url("../img/home/paper-texture.avif") type("image/avif"), url("../img/home/paper-texture.jpg") type("image/jpeg"));
	mix-blend-mode: multiply;
	opacity: 0.31;
	pointer-events: none;
}

.paper-frame img {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Two call-to-action cards with a divider */
.cta-cards {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.cta-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.cta-card__media {
	width: 100%;
	height: 14rem; /* 224 */
}

.cta-card__title {
	margin-top: 1rem;
	font-size: 1.125rem;
	line-height: 1.4;
}

.cta-card__text {
	margin-top: 1rem;
	font-size: 0.875rem;
	line-height: 1.4;
}

.cta-card .btn-sketch {
	margin-top: 1.5rem;
}

@media (min-width: 0px) {
	.cta-cards {
		position: relative;
		display: grid;
		grid-template-columns: repeat(2, 34.125rem);
		column-gap: 7.5rem;
	}

	.cta-cards::before {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		width: 2px;
		height: 40.625rem; /* 650 */
		background: var(--c-sketch);
		transform: translateX(-50%);
	}

	.cta-card__media {
		height: 23.1625rem; /* 370.6 */
	}

	.cta-card__title {
		margin-top: 2.775rem;
		font-size: 2rem;
	}

	.cta-card__text {
		margin-top: 1.5rem;
		font-size: 1.125rem;
	}

	.cta-card .btn-sketch {
		margin-top: 2.75rem;
	}
}

/* collage: gold multiplied over a textured paper layer */
.c-gold::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-gold);
	mix-blend-mode: multiply;
}

.c-multiply img {
	mix-blend-mode: multiply;
}

/* collage wrapper (wfga_collage) – same box as the canvas */
.c-collage {
	position: absolute;
	inset: 0;
}

/* baked collage image (one per breakpoint, geometry in assets/css/collages.css) */
.c-baked img {
	width: 100%;
	height: 100%;
}
