/*
Theme Name: Patrick & Johanna Foundation
Theme URI: https://patrickjohannafoundation.org
Author: Patrick & Johanna Foundation
Description: Block theme for the Patrick & Johanna Foundation. Building Pathways. Changing Lives. Built as a lightweight, maintainable block theme using native WordPress functionality, no page builder required.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: pj-foundation
*/

/*
Note: In a block theme almost all visual styling lives in theme.json and
block-specific CSS below. This file intentionally stays minimal, WordPress
requires it to exist and reads the header above to register the theme.
*/

/* ==========================================================================
   Section-level and component styles not expressible via theme.json alone
   ========================================================================== */

/* ---- Skip link for accessibility */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999999;
	padding: 1em 1.5em;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--warm-white);
	text-decoration: none;
}
.skip-link:focus {
	left: 1em;
	top: 1em;
}

/* ---- Festival announcement ribbon, sitewide ---- */
.pj-announce {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--warm-white);
	text-align: center;
	padding: 0.65rem 1rem;
	font-size: 0.85rem;
	position: relative;
	z-index: 101;
}
.pj-announce a {
	color: var(--wp--preset--color--gold);
	text-decoration: none;
	font-weight: 600;
	margin-left: 0.5rem;
	white-space: nowrap;
}
.pj-announce a:hover { opacity: 0.8; }
.pj-announce strong { font-weight: 600; }

@media (max-width: 600px) {
	.pj-announce { font-size: 0.78rem; padding: 0.55rem 0.75rem; }
}

/* ---- Header ---- */
.pj-header {
	background-color: rgba(251, 249, 245, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 1px 0 rgba(11, 31, 58, 0.06), 0 12px 24px -20px rgba(11, 31, 58, 0.25);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: padding 0.2s ease;
}
.pj-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.1rem 0;
}
.pj-header__logo img {
	height: 44px;
	width: auto;
	display: block;
}
.pj-header__nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	flex-wrap: nowrap;
}
.pj-header__nav a {
	font-size: 0.92rem;
	color: var(--wp--preset--color--navy);
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
}
.pj-header__nav a:hover,
.pj-header__nav a:focus {
	color: var(--wp--preset--color--gold);
}
.pj-header__cta {
	flex-shrink: 0;
}
.pj-header__cta .wp-block-button__link {
	padding: 0.7rem 1.5rem;
	font-size: 0.88rem;
}

@media (max-width: 1080px) {
	.pj-header__nav { gap: 1.25rem; }
}

/* Mobile nav toggle, hidden on desktop */
.pj-header__toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}
.pj-header__toggle svg { display: block; width: 24px; height: 24px; }

.pj-mobile-nav {
	display: none;
	position: fixed;
	inset: 0;
	background: var(--wp--preset--color--navy);
	z-index: 200;
	padding: 2rem;
	flex-direction: column;
}
.pj-mobile-nav.is-open { display: flex; }
.pj-mobile-nav a {
	color: var(--wp--preset--color--warm-white);
	font-size: 1.5rem;
	text-decoration: none;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
.pj-mobile-nav__close {
	align-self: flex-end;
	background: none;
	border: none;
	color: var(--wp--preset--color--warm-white);
	cursor: pointer;
	padding: 0.5rem;
}

@media (max-width: 980px) {
	.pj-header__nav { display: none; }
	.pj-header__toggle { display: block; }
}

/* ---- Buttons ---- */
.wp-block-button__link {
	border-radius: 2px;
	padding: 1.05rem 2.25rem;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -8px rgba(11, 19, 33, 0.35);
}
.wp-block-button:has(.has-gold-background-color) .wp-block-button__link:hover {
	box-shadow: 0 10px 24px -6px rgba(212, 167, 44, 0.4);
}

.is-style-pj-secondary .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--navy) !important;
	border: 1px solid var(--wp--preset--color--navy);
	padding: 1rem 2.15rem;
}
.is-style-pj-secondary .wp-block-button__link:hover {
	background: var(--wp--preset--color--navy) !important;
	color: var(--wp--preset--color--warm-white) !important;
	box-shadow: 0 10px 24px -8px rgba(11, 19, 33, 0.35);
}

/* ---- Secondary button on a dark/navy background, needs light text/border ---- */
.is-style-pj-secondary.pj-on-dark .wp-block-button__link {
	color: var(--wp--preset--color--warm-white) !important;
	border-color: var(--wp--preset--color--warm-white) !important;
}
.is-style-pj-secondary.pj-on-dark .wp-block-button__link:hover {
	background: var(--wp--preset--color--warm-white) !important;
	color: var(--wp--preset--color--navy) !important;
}

.is-style-pj-text-link .wp-block-button__link {
	background: transparent !important;
	color: inherit !important;
	padding: 0.5rem 0 !important;
	text-transform: none;
	font-weight: 500;
	letter-spacing: 0.01em;
	position: relative;
}
.is-style-pj-text-link .wp-block-button__link:hover {
	transform: none;
	box-shadow: none;
	opacity: 0.7;
}
.is-style-pj-text-link .wp-block-button__link::after {
	content: "\2192";
	margin-left: 0.5rem;
	display: inline-block;
	transition: transform 0.2s ease;
}
.is-style-pj-text-link .wp-block-button__link:hover::after {
	transform: translateX(4px);
}

/* ---- Hero ---- */
.pj-hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}
.pj-hero > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.pj-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(7,19,33,0.55) 0%, rgba(7,19,33,0.15) 45%, rgba(7,19,33,0.05) 70%),
		linear-gradient(0deg, rgba(7,19,33,0.88) 0%, rgba(7,19,33,0.5) 32%, rgba(7,19,33,0.1) 60%, rgba(7,19,33,0) 78%);
}
@media (max-width: 700px) {
	.pj-hero::after {
		background: linear-gradient(0deg, rgba(7,19,33,0.92) 0%, rgba(7,19,33,0.55) 40%, rgba(7,19,33,0.15) 68%, rgba(7,19,33,0) 85%);
	}
}
.pj-hero__content {
	position: relative;
	z-index: 2;
	color: var(--wp--preset--color--warm-white);
	padding: 3.5rem 0 4.5rem;
	width: 100%;
}
.pj-hero__content .wp-block-buttons { margin-top: 1.75rem; }

@media (max-width: 600px) {
	.pj-hero { min-height: 80vh; align-items: flex-end; }
	.pj-hero__content { padding: 2rem 0 3rem; }
}

/* ---- Where We Invest, editorial asymmetric layout ---- */
.pj-pathways {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	grid-template-rows: auto auto;
	gap: 1.5rem;
}
.pj-pathway {
	position: relative;
	overflow: hidden;
	min-height: 460px;
	display: flex;
	align-items: flex-end;
}
.pj-pathway--large {
	grid-row: 1 / 3;
	min-height: 640px;
}
.pj-pathway img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.pj-pathway:hover img { transform: scale(1.03); }
.pj-pathway::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(11,31,58,0.75) 0%, rgba(11,31,58,0) 55%);
}
.pj-pathway__label {
	position: relative;
	z-index: 2;
	color: var(--wp--preset--color--warm-white);
	padding: 1.75rem;
}
.pj-pathway__label .pj-gold-rule {
	display: block;
	width: 32px;
	height: 2px;
	background: var(--wp--preset--color--gold);
	margin-bottom: 0.75rem;
}
.pj-pathway__label h3 { margin: 0 0 0.4rem; font-size: 1.4rem; }
.pj-pathway__label p { margin: 0; font-size: 0.95rem; opacity: 0.9; max-width: 32ch; }

@media (max-width: 881px) {
	.pj-pathways { grid-template-columns: 1fr; }
	.pj-pathway--large { grid-row: auto; min-height: 420px; }
	.pj-pathway { min-height: 360px; }
}

/* ---- Evidence proof points ---- */
.pj-proof-points {
	display: flex;
	gap: 3rem;
	flex-wrap: wrap;
	margin-top: 2.5rem;
}
.pj-proof-point {
	flex: 1 1 220px;
	border-top: 2px solid var(--wp--preset--color--gold);
	padding-top: 1rem;
}
.pj-proof-point p { margin: 0; font-size: 1.05rem; }

/* ---- Flagship / Festival section ---- */
.pj-flagship {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}
.pj-flagship > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pj-flagship::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(11,31,58,0.8) 0%, rgba(11,31,58,0.1) 50%, rgba(11,31,58,0) 70%);
}
.pj-flagship__content {
	position: relative;
	z-index: 2;
	color: var(--wp--preset--color--warm-white);
	padding: 3rem 0;
}
.pj-flagship__label {
	display: inline-block;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
	margin-bottom: 1rem;
}
.pj-flagship__meta {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	margin: 1rem 0 1.75rem;
	font-size: 1rem;
	opacity: 0.95;
}

@media (max-width: 600px) {
	.pj-flagship { min-height: 560px; }
}

/* ---- Partnership CTA close ---- */
.pj-partnership-cta {
	text-align: center;
	padding: 5rem 0;
}
.pj-partnership-cta > div {
	position: relative;
	z-index: 2;
}
.pj-partnership-cta .wp-block-buttons {
	justify-content: center;
	margin-top: 2rem;
	align-items: center;
}

/* ---- Footer ---- */
.pj-footer {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--warm-white);
	padding: 5rem 0 2rem;
	margin-top: 0;
}
main#main {
	margin: 0;
}
main#main > *:last-child {
	margin-bottom: 0;
}
.pj-footer a { color: var(--wp--preset--color--warm-white); transition: opacity 0.2s ease; }
.pj-footer a:hover { opacity: 0.7; }
.pj-footer__logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}
.pj-footer__logo svg { height: 30px; width: auto; }
.pj-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 0.75fr 1.5fr;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(251,249,245,0.12);
}
.pj-footer__links { list-style: none; margin: 0; padding: 0; }
.pj-footer__links li { margin-bottom: 0.7rem; }
.pj-footer__links a { text-decoration: none; font-size: 0.95rem; opacity: 0.85; }
.pj-footer__links a:hover { opacity: 1; }
.pj-footer__legal {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding-top: 1.75rem;
	font-size: 0.82rem;
	opacity: 0.6;
}

@media (max-width: 700px) {
	.pj-footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* ---- Display serif, used selectively for major statements only ----
   Per the luxury brief: elegant serif for hero-level statements and
   pull-quotes, everything functional (nav, labels, body, section
   headers like "Where We Invest") stays sans-serif. Applied by hand
   to specific moments, never globally. */
.pj-display {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

/* ---- Gold discipline: thin lines, small labels, never fills or blocks ---- */
.pj-eyebrow {
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
	font-weight: 500;
}
.pj-credibility-line {
	font-size: 0.85rem;
	opacity: 0.55;
	margin-top: 1.5rem;
	letter-spacing: 0.02em;
}
.pj-purpose-photo {
	width: 100%;
	height: 70vh;
	object-fit: cover;
	display: block;
}
.pj-partner-split-img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	display: block;
}
.pj-two-col-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
@media (max-width: 700px) {
	.pj-two-col-split { grid-template-columns: 1fr; }
	.pj-partner-split-img { height: 300px; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	.pj-pathway img { transition: none; }
	.pj-pathway:hover img { transform: none; }
	* { scroll-behavior: auto !important; }
}

/* ---- Logo wordmark (temporary, until the approved logo file is supplied) ---- */
.pj-header__logo svg { display: block; height: 34px; width: auto; }

/* ---- Simple page hero (About, Impact, Partner, Contact — no photo) ---- */
.pj-page-hero {
	padding: 6rem 0 3.5rem;
	max-width: 900px;
}
.pj-page-hero h1 { margin-bottom: 1rem; }
.pj-page-hero p { font-size: 1.15rem; max-width: 60ch; opacity: 0.85; }

/* ---- Editorial alternating row (Our Work programme areas) ---- */
.pj-editorial-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	padding: 3.5rem clamp(1.5rem, 5vw, 4rem);
	border-bottom: 1px solid rgba(11,31,58,0.08);
}
.pj-editorial-row:last-child { border-bottom: none; }
.pj-editorial-row--reverse .pj-editorial-row__media { order: 2; }
.pj-editorial-row--reverse .pj-editorial-row__text { order: 1; }
.pj-editorial-row__media img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	display: block;
}
.pj-editorial-row__text { max-width: 420px; }
.pj-editorial-row--reverse .pj-editorial-row__text { justify-self: end; }
.pj-editorial-row__text .pj-eyebrow { display: block; margin-bottom: 0.75rem; }
.pj-editorial-row__text h2 { margin: 0 0 1rem; }
.pj-editorial-row__text p { font-size: 1.05rem; opacity: 0.85; max-width: 48ch; }
.pj-editorial-row__text .pj-display {
	font-size: 4rem !important;
	line-height: 1;
}

@media (max-width: 800px) {
	.pj-editorial-row { padding: 2.5rem clamp(1.25rem, 5vw, 2rem); }
	.pj-editorial-row__text { max-width: none; }
	.pj-editorial-row--reverse .pj-editorial-row__text { justify-self: stretch; }
}

@media (max-width: 800px) {
	.pj-editorial-row { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0; }
	.pj-editorial-row--reverse .pj-editorial-row__media,
	.pj-editorial-row--reverse .pj-editorial-row__text { order: initial; }
	.pj-editorial-row__media img { height: 280px; }
}

/* ---- Three-principle grid (About: Listen / Build / Measure) ---- */
.pj-principle-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
	margin-top: 2rem;
}
.pj-principle {
	border-top: 2px solid var(--wp--preset--color--gold);
	padding-top: 1.25rem;
}
.pj-principle h3 { margin: 0 0 0.5rem; }
.pj-principle p { margin: 0; opacity: 0.85; }

@media (max-width: 700px) {
	.pj-principle-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ---- Simple styled form (Partner With Us, Contact) ---- */
.pj-form { max-width: 640px; margin-top: 2rem; }
.pj-form label {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 0.4rem;
	font-weight: 500;
}
.pj-form input,
.pj-form select,
.pj-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	margin-bottom: 1.5rem;
	border: 1px solid rgba(11,31,58,0.25);
	border-radius: 2px;
	font-family: inherit;
	font-size: 1rem;
	background: var(--wp--preset--color--warm-white);
}
.pj-form textarea { min-height: 140px; resize: vertical; }
.pj-form__note {
	font-size: 0.85rem;
	opacity: 0.7;
	margin-top: -0.5rem;
	margin-bottom: 1.5rem;
}

/* ---- FAQ disclosure, native <details>, zero JS ---- */
.pj-faq { max-width: 760px; }
.pj-faq details {
	border-bottom: 1px solid rgba(11,31,58,0.12);
	padding: 1.25rem 0;
}
.pj-faq summary {
	cursor: pointer;
	font-weight: 500;
	font-size: 1.1rem;
	list-style: none;
	position: relative;
	padding-right: 2rem;
}
.pj-faq summary::-webkit-details-marker { display: none; }
.pj-faq summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 0;
	font-size: 1.3rem;
	color: var(--wp--preset--color--gold);
}
.pj-faq details[open] summary::after { content: "\2212"; }
.pj-faq p { margin: 1rem 0 0; opacity: 0.85; }

/* ---- Pricing / tier table, stacks on mobile ---- */
.pj-tier-list { margin-top: 2rem; }
.pj-tier {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 1.25rem 0;
	border-bottom: 1px solid rgba(11,31,58,0.1);
}
.pj-tier__name { font-weight: 500; font-size: 1.1rem; }
.pj-tier__value { font-family: var(--wp--preset--font-family--heading); font-size: 1.2rem; color: var(--wp--preset--color--gold); }

@media (max-width: 600px) {
	.pj-tier { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}

/* ---- Four-day programme blocks ---- */
.pj-day-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}
.pj-day {
	background: var(--wp--preset--color--warm-white);
	border: 1px solid rgba(11,31,58,0.1);
	padding: 1.5rem;
}
.pj-day__date { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wp--preset--color--gold); }
.pj-day h3 { margin: 0.5rem 0 0.75rem; font-size: 1.15rem; }
.pj-day ul { margin: 0; padding-left: 1.1rem; font-size: 0.92rem; opacity: 0.85; }

@media (max-width: 900px) {
	.pj-day-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.pj-day-grid { grid-template-columns: 1fr; }
}

/* ---- Festival-specific hero, more energetic treatment ---- */
.pj-festival-hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}
.pj-festival-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-festival-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(11,31,58,0.85) 0%, rgba(184,146,63,0.15) 40%, rgba(11,31,58,0.1) 70%);
}
.pj-festival-hero__content { position: relative; z-index: 2; color: var(--wp--preset--color--warm-white); padding: 3rem 0; }
.pj-festival-hero__eyebrow { color: var(--wp--preset--color--gold); font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; display: block; margin-bottom: 0.5rem; }
.pj-festival-hero__meta { display: flex; gap: 2rem; flex-wrap: wrap; margin: 1.25rem 0 2rem; font-size: 1.05rem; }

/* ==========================================================================
   FESTIVAL & ROAD RACE PAGE SYSTEM
   ========================================================================== */

/* ---- Proper content container ----
   Root cause of text touching the viewport edge: raw HTML inside a
   wp:html block never inherits the block-editor's layout constraints
   (contentSize/wideSize), those only apply automatically to real
   WordPress blocks. Any bare <div class="alignwide"> sitting inside a
   wp:html block gets no padding at all on its own. This class fixes
   that explicitly for every section on this page. */
.pj-container {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 64px;
	padding-right: 64px;
	box-sizing: border-box;
}
.pj-container--narrow { max-width: 900px; }
.pj-container--copy { max-width: 720px; }

@media (max-width: 1024px) {
	.pj-container { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 600px) {
	.pj-container { padding-left: 22px; padding-right: 22px; }
}

/* ---- Active navigation state, thin gold underline, set via nav.js ---- */
.pj-header__nav a.is-active {
	color: var(--wp--preset--color--navy);
	position: relative;
}
.pj-header__nav a.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 1px;
	background: var(--wp--preset--color--gold);
}

/* ---- Festival hero refinements ---- */
.pj-fest2-hero {
	position: relative;
	min-height: 80vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}
.pj-fest2-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-fest2-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(11,19,33,0.88) 0%, rgba(11,19,33,0.35) 45%, rgba(11,19,33,0.05) 70%);
}
.pj-fest2-hero__content { position: relative; z-index: 2; color: var(--wp--preset--color--warm-white); padding: 4rem 0 4.5rem; width: 100%; }
.pj-fest2-hero__eyebrow {
	display: block;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
	margin-bottom: 1.25rem;
}
.pj-fest2-hero__meta {
	display: flex;
	gap: 2.5rem;
	flex-wrap: wrap;
	margin: 1.5rem 0 2.25rem;
	font-size: 1rem;
	opacity: 0.92;
}
.pj-fest2-hero__scroll-cue {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	width: 1px;
	height: 40px;
	background: rgba(255,255,255,0.4);
}
.pj-fest2-hero__scroll-cue::after {
	content: "";
	position: absolute;
	top: 0;
	left: -2px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--wp--preset--color--gold);
	animation: pj-scroll-cue 2s ease-in-out infinite;
}
@keyframes pj-scroll-cue {
	0% { top: 0; opacity: 1; }
	80% { opacity: 0; }
	100% { top: 32px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.pj-fest2-hero__scroll-cue::after { animation: none; top: 16px; }
}
@media (max-width: 600px) {
	.pj-fest2-hero { min-height: 74vh; }
}

/* ---- Manifesto section ---- */
.pj-manifesto {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 4rem;
	align-items: center;
}
.pj-manifesto__statement {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.9rem, 3.4vw, 2.6rem);
	font-weight: 400;
	line-height: 1.28;
	color: var(--wp--preset--color--navy);
	margin: 1rem 0 1.75rem;
}
.pj-manifesto__media img {
	width: 100%;
	height: 520px;
	object-fit: cover;
	display: block;
}
.pj-manifesto__close {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.3rem;
	margin-top: 2rem;
	color: var(--wp--preset--color--navy);
}
@media (max-width: 900px) {
	.pj-manifesto { grid-template-columns: 1fr; gap: 2rem; }
	.pj-manifesto__media img { height: 340px; }
}

/* ---- Four-day journey, editorial columns ---- */
.pj-journey {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin-top: 3rem;
	border-top: 1px solid rgba(251,249,245,0.15);
}
.pj-journey__day {
	padding: 2.25rem 1.75rem;
	border-right: 1px solid rgba(251,249,245,0.15);
}
.pj-journey__day:last-child { border-right: none; }
.pj-journey__date { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--gold); opacity: 0.9; }
.pj-journey__title { font-family: var(--wp--preset--font-family--display); font-size: 1.5rem; margin: 0.6rem 0 1rem; color: var(--wp--preset--color--warm-white); }
.pj-journey__day ul { margin: 0; padding: 0; list-style: none; }
.pj-journey__day li { font-size: 0.92rem; opacity: 0.8; padding: 0.35rem 0; }

@media (max-width: 900px) {
	.pj-journey { grid-template-columns: 1fr 1fr; }
	.pj-journey__day { border-bottom: 1px solid rgba(251,249,245,0.15); }
}
@media (max-width: 560px) {
	.pj-journey { grid-template-columns: 1fr; }
}

/* ---- Road race distances, editorial panels ---- */
.pj-distances {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
	margin-top: 3rem;
}
.pj-distance {
	border-top: 1px solid rgba(11,31,58,0.15);
	padding-top: 1.5rem;
}
.pj-distance__value {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.4rem, 4vw, 3.2rem);
	color: var(--wp--preset--color--navy);
	line-height: 1;
}
.pj-distance__label { font-size: 0.95rem; opacity: 0.65; margin-top: 0.5rem; }

@media (max-width: 700px) {
	.pj-distances { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- Prize money, typography-led panels ---- */
.pj-prize-panels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.5rem;
	margin-top: 3rem;
}
.pj-prize-panel__distance {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.4rem;
	color: var(--wp--preset--color--gold);
	margin-bottom: 1.5rem;
}
.pj-prize-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(11,31,58,0.1);
}
.pj-prize-row__place { font-size: 0.95rem; opacity: 0.7; }
.pj-prize-row__amount {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.6rem;
	color: var(--wp--preset--color--navy);
}
@media (max-width: 700px) {
	.pj-prize-panels { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---- Race day, premium timeline ---- */
.pj-timeline { margin-top: 2.5rem; max-width: 560px; }
.pj-timeline__row {
	display: flex;
	gap: 2rem;
	padding: 0.9rem 0;
}
.pj-timeline__time {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.1rem;
	color: var(--wp--preset--color--gold);
	flex-shrink: 0;
	width: 70px;
}
.pj-timeline__activity { font-size: 1rem; opacity: 0.9; }

/* ---- Festival Village image mosaic ---- */
.pj-mosaic {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 1rem;
	margin-top: 2.5rem;
	height: 560px;
}
.pj-mosaic__large { grid-row: 1 / 3; }
.pj-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
	.pj-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
	.pj-mosaic__large { grid-row: auto; }
	.pj-mosaic img { height: 320px; }
}

/* ---- Exhibitor categories, grouped not tabular ---- */
.pj-exhibit-groups {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem;
	margin-top: 2.5rem;
}
.pj-exhibit-group h3 { font-size: 1.05rem; margin: 0 0 1rem; }
.pj-exhibit-group .pj-tier { padding: 0.65rem 0; }

@media (max-width: 700px) {
	.pj-exhibit-groups { grid-template-columns: 1fr; }
}

/* ---- Final CTA with Human Path linework ---- */
.pj-fest2-final {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 7rem 0;
}
.pj-fest2-final svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.06; }
.pj-fest2-final__content { position: relative; z-index: 2; }
.pj-fest2-final h2 {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.5rem, 5vw, 4rem);
	color: var(--wp--preset--color--warm-white);
	margin: 0;
}

/* ---- Festival page gold override removed: #D4A72C is now the site-wide
   gold (see theme.json), no page-specific override needed any more.
   The page-slug body class hook stays in functions.php for future use. */

/* ---- Hero: directional gradient instead of flat overlay ---- */
.pj-fest2-hero::after {
	background: linear-gradient(90deg,
		rgba(7, 25, 48, 0.82) 0%,
		rgba(7, 25, 48, 0.55) 35%,
		rgba(7, 25, 48, 0.25) 65%,
		rgba(7, 25, 48, 0.08) 100%
	);
}
@media (max-width: 700px) {
	/* On mobile the copy spans full width, so darken more evenly */
	.pj-fest2-hero::after {
		background: linear-gradient(180deg,
			rgba(7, 25, 48, 0.35) 0%,
			rgba(7, 25, 48, 0.55) 45%,
			rgba(7, 25, 48, 0.88) 100%
		);
	}
}

/* ---- Hero co-branding lockup ---- */
.pj-hero-partner-lockup {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(251,249,245,0.25);
}
.pj-hero-partner-lockup__label {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.75;
}
.pj-hero-partner-lockup__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.05rem;
	letter-spacing: 0.02em;
}
.pj-hero-partner-lockup__logo {
	height: 32px;
	width: auto;
	object-fit: contain;
}

/* ---- Prize note, quiet not dominant ---- */
.pj-prize-note {
	font-size: 0.85rem;
	opacity: 0.55;
	margin-top: 1.5rem;
}

/* ---- Why Come, four concise pillars ---- */
.pj-why-come {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin-top: 3rem;
}
.pj-why-pillar__label {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.3rem;
	color: var(--wp--preset--color--gold);
	display: block;
	margin-bottom: 0.6rem;
}
.pj-why-pillar p { margin: 0; font-size: 0.95rem; opacity: 0.8; }

@media (max-width: 900px) {
	.pj-why-come { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.pj-why-come { grid-template-columns: 1fr; }
}

/* ---- Sponsor recognition: pure-CSS auto-scrolling logo carousel ----
   No JavaScript needed. Desktop/tablet: continuous marquee animation,
   paused on hover. Mobile: switches to native horizontal scroll-snap,
   which is swipeable by default with zero JS. Duplicate the logo list
   once in the HTML for a seamless infinite loop (see template comment
   for how to add real logos when they exist). */
.pj-logo-carousel {
	overflow: hidden;
	background: var(--wp--preset--color--warm-white);
	padding: 3rem 0;
	margin-top: 2.5rem;
}
.pj-logo-carousel__track {
	display: flex;
	align-items: center;
	gap: 5rem;
	width: max-content;
	animation: pj-logo-scroll 26s linear infinite;
}
.pj-logo-carousel:hover .pj-logo-carousel__track {
	animation-play-state: paused;
}
.pj-logo-carousel__track img {
	height: 80px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}
.pj-logo-carousel__cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	height: 80px;
	padding: 0 1.75rem;
	border: 1px dashed rgba(11,31,58,0.25);
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.pj-logo-carousel__cta:hover { border-color: var(--wp--preset--color--terracotta); background: rgba(181,86,58,0.04); }
.pj-logo-carousel__cta-plus { font-family: var(--wp--preset--font-family--display); font-size: 1.1rem; color: var(--wp--preset--color--terracotta); line-height: 1; }
.pj-logo-carousel__cta-text { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: rgba(11,31,58,0.5); text-align: center; line-height: 1.4; }
@keyframes pj-logo-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.pj-logo-carousel__track { animation: none; }
}
@media (max-width: 700px) {
	.pj-logo-carousel { overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
	.pj-logo-carousel__track { animation: none; gap: 3rem; padding: 0 1.5rem; }
	.pj-logo-carousel__track img { height: 64px; scroll-snap-align: center; }
}

/* ---- Partner recognition row, white plates so any partner's logo colours stay legible ---- */
.pj-partner-row {
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 2.5rem 0;
	margin-bottom: 1rem;
}
.pj-partner-plate {
	background: var(--wp--preset--color--warm-white);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem 2.25rem;
	min-width: 180px;
}
.pj-partner-plate img {
	max-height: 56px;
	width: auto;
	object-fit: contain;
}
.pj-partner-plate--brand {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}
.pj-partner-plate--brand img { max-height: 40px; }
.pj-partner-plate--brand span {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
}
.pj-partner-row__pending {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	color: var(--wp--preset--color--warm-white);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.05rem;
	opacity: 0.5;
	border: 1px dashed rgba(251,249,245,0.3);
	padding: 1.5rem 1.75rem;
	min-width: 180px;
}
.pj-partner-row__pending span {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.pj-sponsor-open {
	text-align: center;
	padding: 3rem 2rem;
	border: 1px solid rgba(251,249,245,0.2);
	margin-top: 2.5rem;
}
.pj-sponsor-open__label {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.3rem;
	color: var(--wp--preset--color--gold);
	display: block;
	margin-bottom: 1.25rem;
}

/* ---- Festival Village mosaic, staggered rather than uniform ---- */
.pj-mosaic--staggered {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 260px 180px;
	gap: 1rem;
	margin-top: 2.5rem;
}
.pj-mosaic--staggered > div:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.pj-mosaic--staggered > div:nth-child(2) { grid-column: 3; grid-row: 1 / 3; }
.pj-mosaic--staggered > div:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
.pj-mosaic--staggered img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 800px) {
	.pj-mosaic--staggered { grid-template-columns: 1fr; grid-template-rows: none; }
	.pj-mosaic--staggered > div { grid-column: 1 !important; grid-row: auto !important; }
	.pj-mosaic--staggered img { height: 280px; }
}

/* ---- Human Path signature device ----
   Used sparingly: a single restrained path line, not decorative clutter.
   Appears at section transitions and behind key CTAs only. */
.pj-human-path {
	position: relative;
	overflow: hidden;
}
.pj-human-path svg {
	position: absolute;
	pointer-events: none;
}
.pj-human-path--divider {
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pj-human-path--divider svg {
	position: static;
	width: 140px;
	height: 32px;
}
.pj-human-path--cta-bg svg {
	right: -60px;
	bottom: -40px;
	width: 420px;
	height: 260px;
	opacity: 0.15;
}

/* ---- Pathway colour accents (forest green / terracotta), used selectively ---- */
.pj-editorial-row__text .pj-eyebrow.is-forest { color: var(--wp--preset--color--forest-green); }
.pj-editorial-row__text .pj-eyebrow.is-terracotta { color: var(--wp--preset--color--terracotta); }
.pj-principle.is-forest { border-top-color: var(--wp--preset--color--forest-green); }
.pj-principle.is-terracotta { border-top-color: var(--wp--preset--color--terracotta); }
.pj-proof-point.is-forest { border-top-color: var(--wp--preset--color--forest-green); }
.pj-proof-point.is-terracotta { border-top-color: var(--wp--preset--color--terracotta); }

/* ---- The Hook: elevated treatment for the site's signature line ---- */
.pj-hook {
	position: relative;
	overflow: hidden;
	padding: 6rem 0;
	text-align: center;
	background: var(--wp--preset--color--warm-sand);
}
.pj-hook .pj-human-path {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.pj-hook .pj-human-path svg {
	position: absolute;
	right: -5%;
	bottom: -10%;
	width: 60%;
	height: auto;
	min-width: 400px;
}
.pj-hook__inner {
	position: relative;
	z-index: 2;
}
.pj-hook__statement {
	font-size: clamp(2.25rem, 4.5vw, 3.5rem);
	line-height: 1.15;
	color: var(--wp--preset--color--navy);
	margin: 1rem 0 1.5rem;
}
.pj-hook__sub {
	max-width: 46ch;
	margin: 0 auto;
	font-size: 1.05rem;
	opacity: 0.75;
}

@media (max-width: 700px) {
	.pj-hook { padding: 4rem 0; }
	.pj-hook .pj-human-path svg { width: 90%; min-width: 0; opacity: 0.6; }
}
.pj-pullquote {
	padding: 4.5rem 0;
	text-align: center;
}
.pj-pullquote p {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 600;
	line-height: 1.3;
	max-width: 20ch;
	margin: 0 auto;
	letter-spacing: -0.01em;
}
.pj-pullquote .pj-eyebrow { display: block; margin-bottom: 1.25rem; }

/* ---- Warm sand section variant ---- */
.is-style-pj-sand h1, .is-style-pj-sand h2, .is-style-pj-sand h3 {
	color: var(--wp--preset--color--navy);
}

/* ---- Two-column contact layout ---- */
.pj-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 4rem;
}
.pj-contact-grid__item { margin-bottom: 2rem; }
.pj-contact-grid__item h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.pj-contact-grid__item p { margin: 0; opacity: 0.85; }
.pj-contact-grid__item a { font-weight: 500; }

@media (max-width: 800px) {
	.pj-contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---- Trust badge strip, immediately below Homepage hero ---- */
.pj-trust-strip {
	background: var(--wp--preset--color--warm-white);
	border-bottom: 1px solid rgba(11,31,58,0.08);
	padding: 1.5rem 0;
}
.pj-trust-strip__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 2.5rem;
}
.pj-trust-strip__item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.9rem;
	opacity: 0.85;
	white-space: nowrap;
}
.pj-trust-strip__item svg { flex-shrink: 0; color: var(--wp--preset--color--forest-green); }

@media (max-width: 700px) {
	.pj-trust-strip__row { gap: 0.75rem 1.5rem; }
	.pj-trust-strip__item { font-size: 0.85rem; }
}

/* ---- How You Can Help, three routes with real icons ---- */
.pj-help-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 3rem;
	border-top: 1px solid rgba(11,31,58,0.12);
}
.pj-help-card {
	padding: 2.5rem 2rem 0;
	border-right: 1px solid rgba(11,31,58,0.12);
}
.pj-help-card:last-child { border-right: none; }
.pj-help-card__icon-wrap {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wp--preset--color--warm-white);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}
.pj-help-card__icon {
	width: 26px;
	height: 26px;
	color: var(--wp--preset--color--gold);
}
.pj-help-card h3 { font-size: 1.2rem; margin: 0 0 0.75rem; }
.pj-help-card p { opacity: 0.75; margin: 0 0 1.25rem; }

@media (max-width: 800px) {
	.pj-help-grid { grid-template-columns: 1fr; border-top: none; }
	.pj-help-card { border-right: none; border-top: 1px solid rgba(11,31,58,0.12); padding: 2rem 0 0; }
	.pj-help-card:first-child { border-top: none; }
}

/* ---- Contact page: split panel, full-bleed navy + form ---- */
.pj-contact-split {
	display: grid;
	grid-template-columns: 40% 60%;
	min-height: 80vh;
}
.pj-contact-split__intro {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--warm-white);
	padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 4.5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.pj-contact-split__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
	margin-bottom: 1.5rem;
}
.pj-contact-split__eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	background: var(--wp--preset--color--gold);
}
.pj-contact-split__intro h1 {
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	line-height: 1.15;
	margin: 0 0 1.5rem;
}
.pj-contact-split__intro p {
	opacity: 0.75;
	font-size: 1rem;
	max-width: 38ch;
	margin: 0;
}
.pj-contact-split__details {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(251,249,245,0.15);
}
.pj-contact-split__details a {
	display: block;
	color: var(--wp--preset--color--warm-white);
	opacity: 0.85;
	text-decoration: none;
	margin-bottom: 0.5rem;
}
.pj-contact-split__details a:hover { opacity: 1; }
.pj-contact-split__details p {
	opacity: 0.6;
	font-size: 0.9rem;
	margin: 0.75rem 0 0;
}
.pj-contact-split__form {
	padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 4.5rem);
	display: flex;
	align-items: center;
}
.pj-contact-split__form .pj-wpforms-wrap { width: 100%; max-width: 640px; }

@media (max-width: 900px) {
	.pj-contact-split { grid-template-columns: 1fr; min-height: auto; }
	.pj-contact-split__intro { padding: 3rem clamp(1.25rem, 5vw, 2rem) 2.5rem; }
	.pj-contact-split__form { padding: 2.5rem clamp(1.25rem, 5vw, 2rem) 3.5rem; }
}
.pj-wpforms-wrap { max-width: 640px; }
.pj-wpforms-wrap .wpforms-field-label { font-weight: 500; }
.pj-wpforms-wrap .wpforms-submit-container button {
	background: var(--wp--preset--color--gold) !important;
	color: var(--wp--preset--color--navy) !important;
	border-radius: 2px !important;
	font-weight: 600 !important;
}

/* ---- Native enquiry form ---- */
.pjf-enquiry-form { max-width: 640px; }
.pjf-form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.pjf-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}
@media (max-width: 600px) {
	.pjf-form-row { grid-template-columns: 1fr; }
}
.pjf-form-field { margin-bottom: 1.5rem; }
.pjf-enquiry-form label {
	display: block;
	font-size: 0.9rem;
	font-weight: 500;
	margin-bottom: 0.4rem;
}
.pjf-enquiry-form input[type="text"],
.pjf-enquiry-form input[type="email"],
.pjf-enquiry-form input[type="tel"],
.pjf-enquiry-form select,
.pjf-enquiry-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(11,31,58,0.2);
	border-radius: 2px;
	font-family: inherit;
	font-size: 1rem;
	background: var(--wp--preset--color--warm-white);
	box-sizing: border-box;
}
.pjf-enquiry-form textarea { min-height: 140px; resize: vertical; }
.pjf-enquiry-form input:focus,
.pjf-enquiry-form select:focus,
.pjf-enquiry-form textarea:focus {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 1px;
}
.pjf-form-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-bottom: 1.75rem;
	font-size: 0.85rem;
	opacity: 0.8;
}
.pjf-form-consent input { margin-top: 0.2rem; }
.pjf-form-consent a { color: inherit; text-decoration: underline; }
.pjf-form-notice {
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	border-radius: 2px;
	font-size: 0.95rem;
}
.pjf-form-notice--success {
	background: rgba(63, 92, 76, 0.12);
	border-left: 3px solid var(--wp--preset--color--forest-green);
}
.pjf-form-notice--error {
	background: rgba(181, 86, 58, 0.1);
	border-left: 3px solid var(--wp--preset--color--terracotta);
}
.pj-contact-split__form .pjf-enquiry-form label,
.pj-contact-split__form .pjf-form-consent {
	color: inherit;
}

/* ---- Governance two-column layout ---- */
.pj-governance-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 4rem;
	align-items: start;
}
.pj-governance-card {
	border: 1px solid rgba(251,249,245,0.2);
	padding: 0.5rem 1.75rem;
}
.pj-governance-card__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.1rem 0;
	border-bottom: 1px solid rgba(251,249,245,0.12);
	color: var(--wp--preset--color--warm-white);
}
.pj-governance-card__row:last-child { border-bottom: none; }
.pj-governance-card__row span { opacity: 0.7; font-size: 0.9rem; }
.pj-governance-card__row strong { font-weight: 600; }
.pj-governance-pledge {
	margin-top: 1.5rem;
	padding: 1.5rem 1.75rem;
	background: rgba(212, 167, 44, 0.08);
	border-left: 2px solid var(--wp--preset--color--gold);
}
.pj-governance-pledge p {
	margin: 0;
	color: var(--wp--preset--color--warm-white);
	opacity: 0.92;
	font-size: 0.95rem;
}

@media (max-width: 800px) {
	.pj-governance-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
/* ---- SDG colour tags: custom-designed badges using the public SDG
   colour palette, not a reproduction of the official UN pictogram
   artwork, used to add colour and tie pathways to global goals ---- */
.pj-sdg-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin: 1.5rem 0;
}
.pj-sdg-tag {
	display: inline-flex;
	align-items: center;
	font-size: 0.78rem;
	font-weight: 500;
	padding: 0.4rem 0.85rem 0.4rem 0.6rem;
	border-radius: 2px;
	background: rgba(11,31,58,0.04);
	position: relative;
	padding-left: 1.1rem;
}
.pj-sdg-tag::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--sdg-color, var(--wp--preset--color--gold));
}

/* ---- Real SDG icon badges, the actual official artwork where supplied ---- */
.pj-sdg-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
.pj-sdg-icons img {
	width: 64px;
	height: 64px;
	display: block;
}
.pj-sdg-overview {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
}
.pj-sdg-overview img {
	width: 56px;
	height: 56px;
}
.pj-sdg-overview__label {
	font-size: 0.85rem;
	opacity: 0.6;
	margin-right: 0.5rem;
}
.pj-impact-model {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-top: 2.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.05rem;
	font-weight: 500;
}
.pj-impact-model span:not(.pj-impact-model__arrow) {
	color: var(--wp--preset--color--warm-white);
}
.pj-impact-model__arrow {
	color: var(--wp--preset--color--gold);
	opacity: 0.7;
	font-weight: 400;
}
@media (max-width: 700px) {
	.pj-impact-model { flex-direction: column; align-items: flex-start; }
	.pj-impact-model__arrow { transform: rotate(90deg); margin-left: 0.5rem; }
}

/* ---- Where Your Support Goes, infographic flow ---- */
.pj-support-flow {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1.5rem;
	text-align: left;
}
.pj-support-flow__stage { flex: 1 1 220px; max-width: 240px; }
.pj-support-flow__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(212, 167, 44, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}
.pj-support-flow__icon svg {
	width: 24px;
	height: 24px;
	color: var(--wp--preset--color--gold);
}
.pj-support-flow__stage h3 {
	color: var(--wp--preset--color--warm-white);
	font-size: 1.1rem;
	margin: 0 0 0.6rem;
}
.pj-support-flow__stage p {
	color: var(--wp--preset--color--warm-white);
	opacity: 0.7;
	font-size: 0.9rem;
	margin: 0;
}
.pj-support-flow__arrow {
	color: var(--wp--preset--color--gold);
	opacity: 0.4;
	font-size: 1.5rem;
	padding-top: 0.9rem;
	flex: 0 0 auto;
}

@media (max-width: 900px) {
	.pj-support-flow { flex-direction: column; align-items: center; }
	.pj-support-flow__stage { text-align: center; max-width: 320px; }
	.pj-support-flow__arrow { transform: rotate(90deg); padding: 0; }
}
.pj-journey-flow {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-top: 2.5rem;
}
.pj-journey-flow__step { flex: 1 1 180px; }
.pj-journey-flow__word {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.6rem, 2.5vw, 2.1rem);
	color: var(--wp--preset--color--gold);
	margin: 0 0 0.5rem;
}
.pj-journey-flow__step p {
	color: var(--wp--preset--color--warm-white);
	opacity: 0.7;
	font-size: 0.92rem;
	margin: 0;
}
.pj-journey-flow__arrow {
	color: var(--wp--preset--color--gold);
	opacity: 0.4;
	font-size: 1.5rem;
	padding-top: 0.5rem;
	flex: 0 0 auto;
}

@media (max-width: 800px) {
	.pj-journey-flow { flex-direction: column; }
	.pj-journey-flow__arrow { transform: rotate(90deg); padding: 0.5rem 0; }
}
.pj-impact-steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.25rem;
	margin-top: 2.5rem;
}
.pj-impact-step {
	border-top: 3px solid var(--step-color);
	padding-top: 1rem;
}
.pj-impact-step__num {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	color: var(--step-color);
	display: block;
	margin-bottom: 0.5rem;
}
.pj-impact-step h4 {
	color: var(--wp--preset--color--warm-white);
	font-size: 1.05rem;
	margin: 0 0 0.5rem;
}
.pj-impact-step p {
	color: var(--wp--preset--color--warm-white);
	opacity: 0.7;
	font-size: 0.88rem;
	margin: 0;
}

@media (max-width: 900px) {
	.pj-impact-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.pj-impact-steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PHASE 1 ADDITIONS — Homepage merge (audited against existing theme)
   New rules only; nothing above this point in the file was altered.
   ========================================================================== */

/* ---- SDG Alignment (standalone Homepage section, corrected final icon set) ---- */
.pj-sdg-alignment {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
	flex-wrap: wrap;
}
.pj-sdg-alignment__text { flex: 1 1 320px; max-width: 480px; }
.pj-sdg-alignment__icons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	flex: 1 1 320px;
}
.pj-sdg-alignment__icons img {
	width: 64px;
	height: 64px;
	display: block;
	border-radius: 2px;
}
@media (max-width: 700px) {
	.pj-sdg-alignment { flex-direction: column; align-items: flex-start; }
}

/* ---- Perspectives — "Launching Soon" intentional state, not a placeholder ---- */
.pj-perspectives {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2.5rem;
	flex-wrap: wrap;
}
.pj-perspectives__text { flex: 1 1 320px; max-width: 480px; }
.pj-perspectives__panel {
	flex: 1 1 360px;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--warm-white);
	border-radius: 2px;
	padding: clamp(2rem, 4vw, 3rem);
}
.pj-perspectives__panel-label {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--wp--preset--color--gold);
}
.pj-perspectives__panel-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.75rem;
	margin-top: 1.5rem;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.65;
}
@media (max-width: 700px) {
	.pj-perspectives { flex-direction: column; }
}

/* H1 responsive override — theme.json's clamp(3.3rem, 5.5vw, 5.4rem) floors
   at 3.3rem regardless of viewport; on narrow phones (<480px) two-line
   headlines like the Homepage hero need a smaller explicit minimum. */
@media (max-width: 480px) {
	h1 { font-size: 2.6rem !important; }
}
