/*
Theme Name: NICOT
Theme URI: https://nicotcommunity.org/
Author: NICOT
Description: Custom theme for the Nigerian Community Tees Valley (NICOT). Home, About, Leadership, Founder's Welcome and Join pages, with the WPForms membership form on its own page.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: nicot
*/

/* ---------- Tokens ---------- */
:root {
	--green: #0b7a3b;
	--green-600: #096a33;
	--green-800: #064424;
	--green-50: #eef6f0;
	--gold: #c9a227;
	--ink: #0f1a14;
	--ink-2: #3b4a41;
	--muted: #66756c;
	--line: #dde6df;
	--paper: #ffffff;
	--cream: #f7f6f1;

	--font-display: "Fraunces", Georgia, serif;
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(15, 26, 20, .05), 0 8px 24px rgba(15, 26, 20, .07);
	--shadow-lg: 0 24px 60px rgba(6, 68, 36, .18);
	--gutter: 16px;
	--header-h: 72px;
}

@media (min-width: 768px) {
	:root { --gutter: 32px; --header-h: 84px; }
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-800); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 780px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .75em 1.4em;
	border-radius: 999px; border: 2px solid transparent;
	font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; color: var(--green-800); }
.btn--outline { color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { background: var(--cream); color: var(--green-800); }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
	margin: 0 0 .75rem;
	font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--green);
}
.eyebrow--light { color: #b9e4c7; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 26, 20, .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__logo { width: 48px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 700 1.35rem/1 var(--font-display); color: var(--green-800); letter-spacing: .02em; }
.brand__tag { font-size: .72rem; color: var(--muted); font-weight: 500; margin-top: 3px; }

.nav-toggle {
	display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px; padding: 0 10px;
	background: none; border: 0; cursor: pointer;
}
.nav-toggle__bar { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
	position: fixed; top: var(--header-h); left: 0; right: 0;
	height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
	display: flex; flex-direction: column; gap: 24px;
	padding: 24px var(--gutter) 40px;
	background: #fff;
	transform: translateX(100%); visibility: hidden;
	transition: transform .3s ease, visibility .3s;
	overflow-y: auto;
}
.nav.is-open { transform: none; visibility: visible; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list a {
	display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
	font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.nav__list .current-menu-item > a, .nav__list a:hover { color: var(--green); }
body.nav-open { overflow: hidden; }

@media (min-width: 960px) {
	.nav-toggle { display: none; }
	.nav {
		position: static; height: auto; flex-direction: row; align-items: center; gap: 28px;
		padding: 0; background: none; transform: none; visibility: visible; overflow: visible;
	}
	.nav__list { display: flex; gap: 28px; }
	.nav__list a { padding: 6px 0; border: 0; font-size: .97rem; color: var(--ink-2); position: relative; }
	.nav__list a::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
		background: var(--green); transform: scaleX(0); transition: transform .2s;
	}
	.nav__list a:hover::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); }
	.nav__cta { min-height: 44px; padding: .65em 1.25em; }
}

/* ---------- Hero ---------- */
.hero, .page-hero {
	position: relative; isolation: isolate; overflow: hidden;
	color: #fff; background: var(--green-800);
}
.hero__bg, .page-hero__bg {
	position: absolute; inset: 0; z-index: -2;
	width: 100%; height: 100%; object-fit: cover;
}
.hero::before, .page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(4, 40, 21, .88) 0%, rgba(4, 40, 21, .62) 45%, rgba(4, 40, 21, .15) 100%),
		linear-gradient(0deg, rgba(4, 40, 21, .55) 0%, rgba(4, 40, 21, 0) 40%);
}
.hero__content { padding-top: 96px; padding-bottom: 112px; }
.hero__title {
	max-width: 15ch; margin-bottom: 20px;
	font: 700 clamp(2.5rem, 7vw, 4.75rem)/1.02 var(--font-display);
	letter-spacing: -.01em;
}
.hero__title span { color: #9fe0b4; }
.hero__intro { max-width: 52ch; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, .9); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 768px) {
	.hero { min-height: min(86vh, 760px); display: flex; align-items: center; }
	.hero__content { padding-top: 120px; padding-bottom: 140px; }
}

.page-hero__content { padding-top: 88px; padding-bottom: 88px; }
.page-hero__title { max-width: 20ch; font: 700 clamp(2.1rem, 5.5vw, 3.6rem)/1.05 var(--font-display); }
.page-hero__intro { max-width: 58ch; font-size: 1.15rem; color: rgba(255, 255, 255, .9); margin: 0; }

@media (min-width: 768px) {
	.page-hero__content { padding-top: 120px; padding-bottom: 120px; }
}

/* ---------- Values strip ---------- */
.values { position: relative; z-index: 2; margin-top: -48px; }
.values__grid {
	display: grid; grid-template-columns: repeat(2, 1fr);
	background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	padding: 8px;
}
.value {
	display: flex; align-items: center; gap: 10px; padding: 12px 10px;
	font-size: .88rem; line-height: 1.3; min-width: 0;
}
.value__icon {
	display: grid; place-items: center; flex: none;
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--green-50); color: var(--green); font-size: 1.3rem;
}
.value__text strong { display: block; color: var(--ink); }
.value__text { color: var(--green); font-weight: 500; min-width: 0; }

@media (min-width: 480px) {
	.value { gap: 12px; padding: 16px; font-size: .95rem; }
	.value__icon { width: 46px; height: 46px; }
}

@media (min-width: 900px) {
	.values__grid { grid-template-columns: repeat(4, 1fr); padding: 12px; }
	.value { padding: 20px 24px; }
	.value + .value { border-left: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--first { padding-top: 56px; }
.section--tint { background: var(--cream); }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__title { font: 700 clamp(1.75rem, 4vw, 2.6rem)/1.12 var(--font-display); color: var(--ink); letter-spacing: -.005em; }
.section__title a { color: inherit; text-decoration: none; }
.section__lead { font-size: 1.12rem; color: var(--ink-2); }

@media (min-width: 768px) {
	.section { padding: 112px 0; }
}

.split { display: grid; gap: 40px; align-items: center; }
.split__text p { color: var(--ink-2); }
.split__media { margin: 0; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; gap: 72px; }
}

/* ---------- Stats ---------- */
.stats { background: var(--green-800); color: #fff; padding: 56px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num { font: 700 clamp(2.2rem, 5vw, 3.2rem)/1 var(--font-display); color: #9fe0b4; }
.stat__label { font-size: .95rem; color: rgba(255, 255, 255, .82); max-width: 22ch; }

@media (min-width: 900px) {
	.stats__grid { grid-template-columns: repeat(4, 1fr); }
	.stat { padding-left: 24px; border-left: 2px solid rgba(255, 255, 255, .15); }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.card {
	background: #fff; border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 24px; }
.card__title { font: 700 1.35rem/1.2 var(--font-display); }
.card__body p { margin: 0; color: var(--ink-2); font-size: 1rem; }

@media (min-width: 768px) {
	.cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- News ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card__media { display: block; }
.post-card .card__body { display: flex; flex-direction: column; flex: 1; }
.post-card .card__title a { color: var(--ink); text-decoration: none; }
.post-card .card__title a:hover { color: var(--green); }
.post-card .card__body p:not(.post-meta) { margin-bottom: 16px; }
.post-card__more { margin-top: auto; }
.card__img--placeholder {
	display: grid; place-items: center;
	background: radial-gradient(circle at 30% 20%, #fff, var(--green-50) 70%);
}
.card__img--placeholder img { width: 96px; padding: 8px; background: #fff; border-radius: 50%; box-shadow: var(--shadow); }

.post-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
	margin: 0 0 8px !important; color: var(--muted) !important; font-size: .85rem !important; font-weight: 600;
}
.post-meta a { color: var(--green); text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }

.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; max-width: none; }
.section__head--row .section__title { margin-bottom: 0; }

.empty-state {
	padding: 48px 24px; text-align: center; color: var(--muted);
	background: var(--cream); border-radius: var(--radius-lg);
}

.pagination { margin-top: 48px; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination a, .pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--ink);
}
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .current { background: var(--green); border-color: var(--green); color: #fff; }
.pagination .dots { border: 0; min-width: 0; padding: 0 4px; }

.link-arrow--back { margin-bottom: 20px; }
.link-arrow--back .icon { transform: rotate(180deg); }
.link-arrow--back:hover .icon { transform: rotate(180deg) translateX(4px); }

.article__head { margin-bottom: 32px; }
.article__title { font: 700 clamp(2rem, 5vw, 3.2rem)/1.08 var(--font-display); margin: 0; }
.article__media { margin: 0 auto 40px; max-width: 1040px; }
.article__img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); }

.article__body { font-size: 1.1rem; line-height: 1.75; }
.article__body h2, .article__body h3 { font-family: var(--font-display); color: var(--ink); margin-top: 1.6em; }
.article__body h2 { font-size: 1.7rem; }
.article__body h3 { font-size: 1.35rem; }
.article__body ul, .article__body ol { padding-left: 1.3em; margin: 0 0 1em; }
.article__body li { margin-bottom: .35em; }
.article__body img { border-radius: var(--radius); }
.article__body figure { margin: 2em 0; }
.article__body figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; text-align: center; }
.article__body blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--green);
	font: 500 1.3rem/1.5 var(--font-display); color: var(--ink);
}
.article__body .alignwide, .article__body .alignfull { max-width: none; }
.article__body .aligncenter { margin-left: auto; margin-right: auto; }

.post-nav { display: grid; gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav__link {
	display: block; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--ink); text-decoration: none; font: 700 1.1rem/1.3 var(--font-display);
}
.post-nav__link span { display: block; margin-bottom: 4px; font: 600 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.post-nav__link:hover { border-color: var(--green); color: var(--green-800); }
.post-nav__link--next { text-align: right; }

@media (min-width: 640px) {
	.post-nav { grid-template-columns: 1fr 1fr; }
	.post-nav__link--next { grid-column: 2; }
}

/* ---------- Founder teaser ---------- */
.founder-teaser { max-width: 860px; text-align: center; }
.founder-teaser__quote { margin: 0 0 32px; }
.founder-teaser__quote p {
	font: 500 clamp(1.4rem, 3.4vw, 2.1rem)/1.35 var(--font-display);
	color: var(--green-800);
}
.founder-teaser__quote footer { display: flex; flex-direction: column; gap: 2px; }
.founder-teaser__quote footer span { color: var(--muted); font-size: .95rem; }

/* ---------- Join banner ---------- */
.join-banner { padding: 0 0 72px; }
.join-banner__inner {
	display: grid; gap: 24px; align-items: center;
	padding: 40px 28px; border-radius: var(--radius-lg);
	background:
		radial-gradient(circle at 100% 0%, rgba(159, 224, 180, .25), transparent 50%),
		linear-gradient(135deg, var(--green) 0%, var(--green-800) 100%);
	color: #fff;
}
.join-banner__title { font: 700 clamp(1.6rem, 3.6vw, 2.3rem)/1.15 var(--font-display); }
.join-banner p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 60ch; }

@media (min-width: 900px) {
	.join-banner { padding-bottom: 112px; }
	.join-banner__inner { grid-template-columns: 1fr auto; gap: 48px; padding: 56px; }
}

/* ---------- About ---------- */
.prose-wrap { display: grid; gap: 40px; align-items: start; }
.prose { color: var(--ink-2); }
.prose .lead { font-size: 1.25rem; color: var(--ink); line-height: 1.55; }
.prose strong { color: var(--ink); }

.council {
	padding: 28px; border-radius: var(--radius-lg);
	background: var(--green-50); border: 1px solid #d3e8da;
}
.council__title { font: 700 1.5rem/1.2 var(--font-display); }
.council__list { margin: 0; padding: 0; list-style: none; counter-reset: council; }
.council__list li {
	counter-increment: council;
	display: flex; align-items: center; gap: 14px;
	padding: 12px 0; border-top: 1px solid #d3e8da; font-weight: 600;
}
.council__list li::before {
	content: counter(council);
	display: grid; place-items: center; flex: none;
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--green); color: #fff; font-size: .85rem;
}

@media (min-width: 900px) {
	.prose-wrap { grid-template-columns: 1.6fr 1fr; gap: 72px; }
	.council { position: sticky; top: calc(var(--header-h) + 24px); }
}

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
	content: ""; position: absolute; top: 8px; bottom: 8px; left: 7px;
	width: 2px; background: linear-gradient(var(--green), var(--gold));
}
.timeline__item { position: relative; padding-left: 40px; margin-bottom: 28px; }
.timeline__item::before {
	content: ""; position: absolute; left: 0; top: 6px;
	width: 16px; height: 16px; border-radius: 50%;
	background: #fff; border: 4px solid var(--green);
}
.timeline__date { display: block; margin-bottom: 8px; font-weight: 700; color: var(--green); font-size: .95rem; }
.timeline__card { background: #fff; padding: 22px 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline__card h3 { font: 700 1.3rem/1.2 var(--font-display); }
.timeline__card p { margin: 0; color: var(--ink-2); }

@media (min-width: 900px) {
	.timeline::before { left: 50%; transform: translateX(-1px); }
	.timeline__item { width: 50%; padding: 0 48px 0 0; margin-bottom: 8px; text-align: right; }
	.timeline__item::before { left: auto; right: -8px; }
	.timeline__item:nth-child(even) { margin-left: 50%; padding: 0 0 0 48px; text-align: left; }
	.timeline__item:nth-child(even)::before { right: auto; left: -8px; }
}

/* ---------- Leadership ---------- */
.current-exco {
	margin-bottom: 72px; padding: 32px 28px;
	border-radius: var(--radius-lg); border: 2px dashed #bcd9c5; background: var(--green-50);
}
.current-exco p:last-child { margin-bottom: 0; }

.excos { display: grid; gap: 14px; }
.exco { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.exco[open] { box-shadow: var(--shadow); border-color: #cfe0d4; }
.exco__summary {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px;
	padding: 20px 56px 20px 24px; cursor: pointer; list-style: none; position: relative;
}
.exco__summary::-webkit-details-marker { display: none; }
.exco__summary::after {
	content: ""; position: absolute; right: 24px; top: 50%;
	width: 10px; height: 10px; margin-top: -7px;
	border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
	transform: rotate(45deg); transition: transform .2s;
}
.exco[open] .exco__summary::after { transform: rotate(-135deg); margin-top: -2px; }
.exco__term { font: 700 1.4rem/1.2 var(--font-display); color: var(--green-800); }
.exco__president { color: var(--muted); font-size: .95rem; }
.exco__grid { display: grid; gap: 1px; margin: 0; background: var(--line); border-top: 1px solid var(--line); }
.exco__role { background: #fff; padding: 14px 24px; }
.exco__role dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.exco__role dd { margin: 2px 0 0; font-weight: 600; }

@media (min-width: 640px) {
	.exco__grid { grid-template-columns: repeat(2, 1fr); }
	.exco__role--wide { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
	.exco__grid { grid-template-columns: repeat(4, 1fr); }
	/* 7 single roles: let the 7th (Welfare Officer) fill the row's remaining space */
	.exco__role:nth-child(7) { grid-column: span 2; }
}

/* ---------- Founder letter ---------- */
.letter { display: grid; gap: 40px; max-width: 1040px; }
.letter__aside { text-align: center; }
.letter__portrait {
	display: grid; place-items: center;
	width: 220px; aspect-ratio: 1; margin: 0 auto 20px;
	border-radius: 50%; overflow: hidden;
	background: #fff; border: 6px solid var(--green-50); box-shadow: var(--shadow-lg);
}
.letter__portrait-img { width: 100%; height: 100%; object-fit: cover; }
.letter__portrait-logo { width: 62%; }
.letter__name { margin: 0; font: 700 1.35rem/1.2 var(--font-display); }
.letter__role { color: var(--muted); font-size: .95rem; }
.letter__body {
	background: #fff; padding: 32px 24px; border-radius: var(--radius-lg);
	box-shadow: var(--shadow); border-top: 6px solid var(--green);
	font-size: 1.1rem;
}
.letter__salutation { font: 600 1.3rem/1.3 var(--font-display); color: var(--ink); }
.letter__signoff { margin-top: 32px; margin-bottom: 0; }
.letter__signature { font: 500 italic 1.6rem/1.6 var(--font-display); color: var(--green-800); }

@media (min-width: 900px) {
	.letter { grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
	.letter__aside { position: sticky; top: calc(var(--header-h) + 32px); }
	.letter__body { padding: 56px; }
}

/* ---------- Join page ---------- */
.join {
	padding: 56px 0 80px;
	background:
		radial-gradient(circle at 0% 0%, var(--green-50), transparent 45%),
		var(--cream);
}
.join__grid { display: grid; gap: 40px; align-items: start; }
.join__title { font: 700 clamp(2rem, 5vw, 3.2rem)/1.08 var(--font-display); }
.join__title span { color: var(--green); }
.join__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 52ch; }

.benefits { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 12px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.benefits__icon {
	display: grid; place-items: center; flex: none;
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--green); color: #fff; font-size: .9rem; margin-top: 1px;
}
.join__media { margin: 0; display: none; }
.join__media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.join__form-card {
	background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	padding: 28px 20px; border-top: 6px solid var(--green);
	scroll-margin-top: calc(var(--header-h) + 16px);
}
.join__form-title { font: 700 1.6rem/1.2 var(--font-display); margin-bottom: 4px; }
.join__form-note { color: var(--muted); font-size: .9rem; }
.notice { padding: 14px 16px; border-radius: 10px; background: #fff7e0; border: 1px solid #f0d78c; }

@media (min-width: 960px) {
	.join { padding: 88px 0 120px; }
	.join__grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
	.join__media { display: block; }
	.join__form-card { padding: 40px; position: sticky; top: calc(var(--header-h) + 24px); }
}

/* WPForms styling to match the theme */
.join__form-card .wpforms-container { margin: 16px 0 0 !important; }
.join__form-card .wpforms-field { padding: 8px 0 !important; }
.join__form-card .wpforms-field-label { font-weight: 600 !important; font-size: .95rem !important; color: var(--ink) !important; margin-bottom: 6px !important; }
.join__form-card .wpforms-required-label { color: var(--green) !important; }
.join__form-card input[type="text"],
.join__form-card input[type="email"],
.join__form-card input[type="tel"],
.join__form-card input[type="number"],
.join__form-card select,
.join__form-card textarea {
	width: 100% !important; max-width: 100% !important;
	min-height: 48px; padding: 10px 14px !important;
	font: 400 1rem/1.4 var(--font-body) !important; color: var(--ink) !important;
	background: #fbfcfb !important; border: 1.5px solid var(--line) !important; border-radius: 10px !important;
	box-shadow: none !important; transition: border-color .2s, box-shadow .2s;
}
.join__form-card input:focus,
.join__form-card select:focus,
.join__form-card textarea:focus {
	outline: none; border-color: var(--green) !important;
	box-shadow: 0 0 0 4px rgba(11, 122, 59, .15) !important; background: #fff !important;
}
.join__form-card .wpforms-submit-container { padding-top: 16px !important; }
.join__form-card button[type="submit"] {
	width: 100%; min-height: 52px; padding: 14px 24px !important;
	border: 0 !important; border-radius: 999px !important;
	background: var(--green) !important; color: #fff !important;
	font: 600 1.05rem/1 var(--font-body) !important; cursor: pointer;
	transition: background-color .2s;
}
.join__form-card button[type="submit"]:hover { background: var(--green-800) !important; }
.join__form-card .wpforms-error { color: #b42318 !important; font-size: .88rem !important; }
.join__form-card .wpforms-confirmation-container-full {
	background: var(--green-50) !important; border: 1px solid #bcd9c5 !important;
	border-radius: 12px; color: var(--green-800) !important; padding: 20px !important;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 64px 0 0; font-size: .97rem; }
.site-footer__grid { display: grid; gap: 40px; }
.site-footer__brand img { width: 80px; margin-bottom: 16px; background: #fff; border-radius: 50%; padding: 6px; }
.site-footer__brand p { max-width: 40ch; }
.site-footer__title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #9fe0b4; }
.site-footer__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	margin-top: 48px; padding-top: 24px; padding-bottom: 32px;
	border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem;
}
.site-footer__base p { margin: 0; }
.site-footer__values { color: #9fe0b4; }
.site-footer .site-footer__credit { flex-basis: 100%; width: 100%; text-align: center; color: rgba(255, 255, 255, .55); }

@media (min-width: 768px) {
	.site-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 64px; }
}

/* ---------- Generic content ---------- */
.post-summary + .post-summary { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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