/* ==========================================================================
   EDC NSUK theme styles
   ========================================================================== */

:root {
	--font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
	--font-body: 'Inter', ui-sans-serif, system-ui, 'Segoe UI', Arial, sans-serif;

	--ink: #0d1f17;
	--forest: #0c3b2a;
	--forest-deep: #08291d;
	--green: #1f7a4c;
	--lime: #a8d94c;
	--gold: #f2b134;
	--paper: #f6f2e8;
	--cream: #fbf9f4;
	--white: #ffffff;
	--muted: #5b6b62;
	--line: #e3ded2;
	--line-dark: rgba(255, 255, 255, 0.14);

	--radius: 16px;
	--radius-lg: 26px;
	--shadow: 0 24px 60px rgba(8, 42, 30, 0.14);
	--shadow-soft: 0 8px 30px rgba(8, 42, 30, 0.08);
	--container: 1200px;
	--header-h: 78px;
	--section: clamp(4.5rem, 8vw, 7.5rem);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset
   ========================================================================== */

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.drawer-open {
	overflow: hidden;
}

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

img {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	color: inherit;
}

[hidden] {
	display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

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

p:last-child {
	margin-bottom: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

address {
	font-style: normal;
}

::selection {
	background: var(--gold);
	color: var(--ink);
}

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	flex: none;
	vertical-align: -0.125em;
}

/* Layout
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: var(--section) 0;
	position: relative;
}

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

.section__head {
	max-width: 740px;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.section__head--split {
	max-width: none;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.section__head--split > div {
	max-width: 680px;
}

.section__title {
	margin-top: 14px;
	font-size: clamp(2rem, 4.2vw, 3.35rem);
	line-height: 1.02;
}

.section__lead {
	margin-top: 18px;
	max-width: 64ch;
	color: var(--muted);
	font-size: 1.02rem;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--green);
}

.eyebrow::before {
	content: '';
	width: 26px;
	height: 2px;
	border-radius: 2px;
	background: var(--gold);
}

.eyebrow--light {
	color: rgba(255, 255, 255, 0.8);
}

/* Buttons and links
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn .icon {
	width: 17px;
	height: 17px;
	transition: transform 0.2s var(--ease);
}

.btn:hover .icon {
	transform: translateX(3px);
}

.btn--primary {
	background: var(--forest);
	color: var(--white);
}

.btn--primary:hover {
	background: var(--forest-deep);
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(8, 42, 30, 0.22);
}

.btn--gold {
	background: var(--gold);
	color: var(--ink);
}

.btn--gold:hover {
	background: #f7c14f;
	transform: translateY(-1px);
}

.btn--ghost {
	border-color: rgba(13, 31, 23, 0.22);
	background: transparent;
	color: var(--ink);
}

.btn--ghost:hover {
	border-color: var(--ink);
	background: rgba(13, 31, 23, 0.04);
}

.btn--ghost-light {
	border-color: rgba(255, 255, 255, 0.38);
	background: rgba(255, 255, 255, 0.04);
	color: var(--white);
}

.btn--ghost-light:hover {
	border-color: var(--white);
	background: rgba(255, 255, 255, 0.12);
}

.btn--sm {
	padding: 11px 17px;
	font-size: 0.82rem;
}

.btn--block {
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--green);
}

.link-arrow .icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
	transform: translateX(4px);
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(31, 122, 76, 0.1);
	color: var(--green);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	white-space: nowrap;
}

.chip--light {
	background: rgba(255, 255, 255, 0.14);
	color: var(--white);
}

/* Top bar and header
   ========================================================================== */

.utility-bar {
	background: var(--forest-deep);
	color: rgba(255, 255, 255, 0.66);
	font-size: 0.78rem;
}

.utility-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 38px;
}

.utility-bar__org {
	margin: 0;
	font-size: 0.67rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.utility-bar__actions {
	display: flex;
	align-items: center;
	gap: 22px;
}

.utility-bar__actions a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.8);
}

.utility-bar__actions a:hover {
	color: var(--white);
}

.utility-bar .icon {
	width: 13px;
	height: 13px;
}

.utility-bar__note {
	color: var(--gold) !important;
	font-weight: 600;
}

.utility-bar__note .icon {
	transition: transform 0.2s var(--ease);
}

.utility-bar__note:hover .icon {
	transform: translateX(3px);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.site-header.is-stuck {
	border-color: var(--line);
	box-shadow: 0 10px 34px rgba(8, 42, 30, 0.08);
}

.header-main {
	position: relative;
}

.header-main__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: var(--header-h);
}

.site-branding {
	display: flex;
	align-items: center;
	flex: none;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.brand img {
	display: block;
	width: auto;
	height: 46px;
}

.brand__name {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.brand__name span {
	color: var(--green);
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-height: 52px;
	width: auto;
}

.main-nav {
	margin-left: auto;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
}

.nav-item {
	position: relative;
}

.nav-item--mega {
	position: static;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--ink);
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
	background: rgba(12, 59, 42, 0.06);
}

.nav-item.is-current > .nav-link {
	color: var(--green);
	font-weight: 600;
}

.nav-link .icon {
	width: 15px;
	height: 15px;
	opacity: 0.55;
	transition: transform 0.25s var(--ease);
}

.has-submenu.is-open > .nav-link .icon {
	transform: rotate(180deg);
}

.submenu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 120;
	display: none;
	min-width: 250px;
	padding: 8px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--shadow);
}

.has-submenu.is-open > .submenu {
	display: block;
}

.submenu__list {
	list-style: none;
}

.submenu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 0.9rem;
}

.submenu a:hover {
	background: var(--paper);
	color: var(--green);
}

.submenu .icon {
	width: 14px;
	height: 14px;
	opacity: 0;
	transform: translateX(-4px);
	transition: 0.2s var(--ease);
}

.submenu a:hover .icon {
	opacity: 1;
	transform: none;
}

.mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 120;
	display: none;
	background: var(--white);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 30px 60px rgba(8, 42, 30, 0.14);
}

.has-submenu.is-open > .mega {
	display: block;
}

.mega__inner {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 48px;
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 40px 24px 46px;
}

.mega__intro {
	padding-right: 32px;
	border-right: 1px solid var(--line);
}

.mega__title {
	margin: 12px 0 12px;
	font-size: 1.75rem;
	line-height: 1.05;
}

.mega__title em {
	font-style: normal;
	color: var(--green);
}

.mega__text {
	margin-bottom: 18px;
	color: var(--muted);
	font-size: 0.9rem;
}

.mega__groups {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.mega__group h3 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	font-family: var(--font-body);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--muted);
}

.mega__count {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--paper);
	color: var(--green);
	font-size: 0.68rem;
}

.mega__group ul {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 26px;
}

.mega__group li {
	break-inside: avoid;
}

.mega__group a {
	display: block;
	padding: 6px 0;
	border-bottom: 1px solid transparent;
	font-size: 0.86rem;
	color: var(--ink);
	transition: color 0.2s;
}

.mega__group a:hover {
	color: var(--green);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.icon-button:hover,
.icon-button.is-active {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.icon-button .icon {
	width: 19px;
	height: 19px;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	cursor: pointer;
}

.nav-toggle .icon {
	width: 19px;
	height: 19px;
}

.nav-toggle__label {
	font-size: 0.8rem;
	font-weight: 600;
}

.header-search {
	padding: 18px 0;
	border-top: 1px solid var(--line);
	background: var(--white);
}

.header-search .search-form {
	max-width: 680px;
	margin: 0 auto;
}

/* Mobile drawer
   ========================================================================== */

.drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 290;
	background: rgba(4, 22, 15, 0.55);
	opacity: 0;
	transition: opacity 0.3s var(--ease);
}

.drawer-overlay.is-open {
	opacity: 1;
}

.drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 300;
	display: flex;
	flex-direction: column;
	width: min(430px, 100%);
	overflow-y: auto;
	background: var(--cream);
	transform: translateX(100%);
	transition: transform 0.32s var(--ease);
}

.drawer.is-open {
	transform: none;
}

.drawer__head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--line);
	background: var(--cream);
}

.drawer__head .brand img {
	height: 38px;
}

.drawer__head .custom-logo {
	max-height: 42px;
}

.drawer__close {
	flex: none;
}

.drawer__body {
	padding: 10px 20px 40px;
}

.drawer-nav .nav-list--mobile {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.nav-list--mobile .nav-item {
	width: 100%;
}

.nav-list--mobile .nav-link {
	width: 100%;
	justify-content: space-between;
	padding: 15px 4px;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	font-size: 1rem;
}

.nav-list--mobile .nav-link:hover {
	background: transparent;
	color: var(--green);
}

.nav-list--mobile .submenu,
.nav-list--mobile .mega {
	position: static;
	display: none;
	padding: 0 0 10px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}

.nav-list--mobile .has-submenu.is-open > .submenu,
.nav-list--mobile .has-submenu.is-open > .mega {
	display: block;
}

.nav-list--mobile .submenu a {
	padding: 10px 4px;
	border-bottom: 1px solid rgba(227, 222, 210, 0.7);
	border-radius: 0;
}

.nav-list--mobile .mega__inner {
	display: block;
	padding: 6px 0 0;
}

.nav-list--mobile .mega__intro {
	display: none;
}

.nav-list--mobile .mega__groups {
	display: block;
}

.nav-list--mobile .mega__group {
	margin-top: 18px;
}

.nav-list--mobile .mega__group ul {
	grid-template-columns: 1fr;
}

.nav-list--mobile .mega__group a {
	padding: 9px 4px;
	border-bottom: 1px solid rgba(227, 222, 210, 0.7);
}

.drawer__cta {
	display: grid;
	gap: 10px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.drawer__cta .eyebrow {
	margin-bottom: 4px;
}

.drawer__contact {
	display: grid;
	gap: 10px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 0.84rem;
	color: var(--muted);
}

.drawer__contact p {
	display: flex;
	gap: 10px;
	margin: 0;
}

.drawer__contact .icon {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: var(--green);
	flex: none;
}

/* Hero
   ========================================================================== */

.hero {
	position: relative;
	color: var(--white);
	background: var(--forest-deep);
}

.hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 34%;
}

.hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(5, 27, 18, 0.94) 0%, rgba(5, 27, 18, 0.8) 44%, rgba(5, 27, 18, 0.34) 100%),
		linear-gradient(0deg, rgba(5, 27, 18, 0.7) 0%, rgba(5, 27, 18, 0) 48%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	padding-top: clamp(72px, 11vw, 132px);
	padding-bottom: clamp(64px, 9vw, 104px);
}

.hero__title {
	max-width: 13ch;
	margin: 20px 0 24px;
	font-size: clamp(2.75rem, 6.4vw, 5.4rem);
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.hero__title em {
	position: relative;
	color: var(--gold);
	font-style: normal;
	white-space: nowrap;
}

.hero__title em::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.08em;
	height: 0.14em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8c44-6 92-7 194-3' stroke='%23f2b134' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero__lead {
	max-width: 56ch;
	margin-bottom: 32px;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero__stats-wrap {
	position: relative;
	z-index: 3;
	margin-bottom: -58px;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 0;
	padding: 30px 36px;
	border-radius: var(--radius-lg);
	background: var(--white);
	color: var(--ink);
	box-shadow: 0 28px 64px rgba(4, 24, 16, 0.24);
}

.hero-stat {
	padding: 0 28px;
	border-left: 1px solid var(--line);
}

.hero-stat:first-child {
	padding-left: 0;
	border-left: 0;
}

.hero-stat dt {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--forest);
}

.hero-stat dd {
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 0.78rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

/* About
   ========================================================================== */

.about {
	padding-top: calc(var(--section) + 58px);
}

.about__grid {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}

.about__title {
	margin: 14px 0 18px;
	font-size: clamp(2rem, 3.6vw, 3.1rem);
	line-height: 1.02;
}

.about__title em {
	font-style: normal;
	color: var(--green);
}

.about__text {
	margin-bottom: 24px;
	color: var(--muted);
}

.checklist {
	display: grid;
	gap: 12px;
	margin-bottom: 30px;
	list-style: none;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.94rem;
}

.checklist .icon {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	color: var(--green);
	flex: none;
}

.about__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.about__media {
	position: relative;
}

.about__frame {
	position: absolute;
	inset: 18px -18px -18px 18px;
	z-index: 0;
	border: 2px solid var(--gold);
	border-radius: var(--radius-lg);
}

.about__img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3.2;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

.about__badge {
	position: absolute;
	z-index: 2;
	left: -24px;
	bottom: 28px;
	max-width: 270px;
	padding: 18px 22px;
	border-radius: 18px;
	background: var(--forest);
	color: var(--white);
	box-shadow: var(--shadow);
}

.about__badge strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.about__badge span {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.78rem;
}

/* Programmes
   ========================================================================== */

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

.programme-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.programme-card {
	padding: 30px 30px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
}

.programme-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.programme-card__head h3 {
	font-size: 1.28rem;
}

.programme-card__count {
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(31, 122, 76, 0.09);
	color: var(--green);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.programme-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 24px;
	list-style: none;
}

.programme-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(227, 222, 210, 0.7);
	font-size: 0.88rem;
	transition: color 0.2s;
}

.programme-list a:hover {
	color: var(--green);
}

.programme-list .icon {
	width: 14px;
	height: 14px;
	opacity: 0;
	transform: translateX(-4px);
	transition: 0.2s var(--ease);
	flex: none;
}

.programme-list a:hover .icon {
	opacity: 1;
	transform: none;
}

.programmes__foot {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}

/* Impact
   ========================================================================== */

.impact {
	overflow: hidden;
	background: var(--forest);
	color: var(--white);
}

.impact::before {
	content: '';
	position: absolute;
	top: -180px;
	right: -140px;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(168, 217, 76, 0.2), transparent 66%);
}

.impact::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 22px 22px;
	opacity: 0.32;
	pointer-events: none;
}

.impact__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: clamp(36px, 6vw, 72px);
	align-items: center;
}

.impact__title {
	margin: 14px 0 18px;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.02;
}

.impact__text {
	max-width: 48ch;
	color: rgba(255, 255, 255, 0.72);
}

.impact__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.impact-stat {
	padding-top: 18px;
	border-top: 1px solid var(--line-dark);
}

.impact-stat strong {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2.1rem, 3.9vw, 3.3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--gold);
}

.impact-stat span {
	display: block;
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.82rem;
}

/* Values
   ========================================================================== */

.values__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.value-card {
	padding: 26px 24px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
}

.value-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: rgba(168, 217, 76, 0.2);
	color: var(--forest);
}

.value-card__icon .icon {
	width: 22px;
	height: 22px;
}

.value-card h3 {
	margin-bottom: 8px;
	font-size: 1.08rem;
}

.value-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.87rem;
}

/* InnoFest
   ========================================================================== */

.innofest__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}

.innofest__media {
	position: relative;
	aspect-ratio: 4 / 3.1;
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	background: var(--forest);
}

.innofest__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.innofest__badge {
	position: absolute;
	top: 18px;
	left: 18px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--forest);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.innofest__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0 28px;
}

.innofest__tags span {
	padding: 6px 12px;
	border: 1px solid rgba(13, 31, 23, 0.16);
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.78rem;
}

/* News and story cards
   ========================================================================== */

.news__layout {
	display: grid;
	grid-template-columns: 1.12fr 0.88fr;
	gap: 36px;
	align-items: stretch;
}

.story-card {
	position: relative;
}

.story-card__media {
	display: block;
	overflow: hidden;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--paper), #e9e3d3);
}

.story-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--ease);
}

.story-card:hover .story-card__media img {
	transform: scale(1.035);
}

.story-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background:
		radial-gradient(circle at 30% 30%, rgba(168, 217, 76, 0.55), transparent 58%),
		linear-gradient(135deg, #123f2d, #1f7a4c);
}

.story-card__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--muted);
	font-size: 0.76rem;
}

.story-card__title a {
	color: var(--ink);
	transition: color 0.2s;
}

.story-card__title a:hover {
	color: var(--green);
}

.story-card--featured .story-card__media {
	aspect-ratio: 4 / 3;
}

.story-card--featured .story-card__body {
	padding: 22px 4px 0;
}

.story-card--featured .story-card__title {
	margin: 12px 0 10px;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.15;
}

.story-card__excerpt {
	margin-bottom: 16px;
	color: var(--muted);
	font-size: 0.94rem;
}

.story-card--compact {
	display: grid;
	grid-template-columns: 132px 1fr;
	gap: 18px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.story-card--compact:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.story-card--compact .story-card__media {
	aspect-ratio: 1;
	border-radius: 12px;
}

.story-card--compact time {
	color: var(--muted);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.story-card--compact .story-card__title {
	margin: 6px 0 0;
	font-size: 1.02rem;
	line-height: 1.35;
}

.news__list {
	padding: 6px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
}

.story-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.story-card--grid .story-card__media {
	aspect-ratio: 4 / 3;
}

.story-card--grid .story-card__body {
	padding-top: 16px;
}

.story-card--grid .story-card__title {
	margin: 10px 0 0;
	font-size: 1.15rem;
	line-height: 1.3;
}

/* Leadership
   ========================================================================== */

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

.leader-feature {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	overflow: hidden;
	margin-bottom: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
}

.leader-feature__media {
	aspect-ratio: 4 / 4.6;
	background: linear-gradient(160deg, var(--paper), #e4decb);
}

.leader-feature__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.leader-feature__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 4vw, 52px);
}

.leader-feature__name {
	margin: 10px 0 6px;
	font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}

.leader-feature__role {
	margin-bottom: 16px;
	color: var(--green);
	font-size: 0.9rem;
	font-weight: 600;
}

.leader-feature__text {
	max-width: 50ch;
	margin-bottom: 24px;
	color: var(--muted);
}

.leader-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.leader-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
}

.leader-card__media {
	aspect-ratio: 4 / 4.2;
	background: linear-gradient(160deg, var(--paper), #e4decb);
}

.leader-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.leader-card__body {
	padding: 20px 22px 24px;
}

.leader-card__name {
	margin-bottom: 4px;
	font-size: 1.08rem;
	line-height: 1.25;
}

.leader-card__name a:hover {
	color: var(--green);
}

.leader-card__role {
	margin: 0;
	color: var(--green);
	font-size: 0.8rem;
	font-weight: 600;
}

/* Apply
   ========================================================================== */

.apply {
	overflow: hidden;
	background: var(--forest);
	color: var(--white);
}

.apply::before {
	content: '';
	position: absolute;
	top: -120px;
	left: -120px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(242, 177, 52, 0.13), transparent 65%);
}

.apply .container {
	position: relative;
	z-index: 1;
}

.apply__head {
	max-width: 700px;
	margin-bottom: 40px;
}

.apply__title {
	margin: 14px 0 16px;
	font-size: clamp(2rem, 4vw, 3.3rem);
	line-height: 1.02;
}

.apply__text {
	color: rgba(255, 255, 255, 0.75);
}

.portal-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.portal-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 26px;
	border: 1px solid var(--line-dark);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.portal-card:hover {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

.portal-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--gold);
	color: var(--forest);
}

.portal-card__icon .icon {
	width: 22px;
	height: 22px;
}

.portal-card h3 {
	font-size: 1.15rem;
}

.portal-card p {
	flex: 1;
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.87rem;
}

.portal-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--gold);
	font-size: 0.85rem;
	font-weight: 600;
}

.portal-card__link .icon {
	width: 15px;
	height: 15px;
	transition: transform 0.2s var(--ease);
}

.portal-card:hover .portal-card__link .icon {
	transform: translateX(4px);
}

.apply__foot {
	margin-top: 32px;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.88rem;
}

.apply__foot a {
	color: var(--white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Footer
   ========================================================================== */

.site-footer {
	padding-top: clamp(56px, 7vw, 84px);
	background: var(--forest-deep);
	color: rgba(255, 255, 255, 0.72);
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.35fr 0.75fr 0.95fr 1fr;
	gap: 40px;
}

.footer__brand .brand,
.footer__brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 14px;
	background: var(--white);
}

.footer__brand .brand img,
.footer__brand .custom-logo {
	height: 38px;
	width: auto;
}

.footer__brand .brand__name {
	display: none;
}

.footer__mission {
	max-width: 34ch;
	margin: 20px 0;
	font-size: 0.88rem;
}

.footer__social {
	display: flex;
	gap: 10px;
}

.footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: var(--white);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer__social a:hover {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--forest);
}

.footer__social .icon {
	width: 17px;
	height: 17px;
}

.footer__title {
	margin-bottom: 16px;
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.footer__list {
	display: grid;
	gap: 10px;
	list-style: none;
}

.footer__list a {
	font-size: 0.87rem;
	color: rgba(255, 255, 255, 0.75);
	transition: color 0.2s;
}

.footer__list a:hover {
	color: var(--white);
}

.footer__contact {
	display: grid;
	gap: 12px;
	font-size: 0.87rem;
}

.footer__contact a,
.footer__contact > span {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: rgba(255, 255, 255, 0.75);
}

.footer__contact .icon {
	width: 17px;
	height: 17px;
	margin-top: 2px;
	color: var(--gold);
	flex: none;
}

.footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 56px;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.77rem;
}

.footer__bottom p {
	margin: 0;
}

.footer__bottom a {
	color: rgba(255, 255, 255, 0.75);
}

.footer__bottom a:hover {
	color: var(--white);
}

/* Inner pages
   ========================================================================== */

.page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(54px, 7vw, 88px) 0;
	background: var(--forest);
	color: var(--white);
}

.page-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 24px 24px;
	opacity: 0.4;
	pointer-events: none;
}

.page-hero .container {
	position: relative;
	z-index: 1;
}

.page-hero h1 {
	max-width: 24ch;
	margin-top: 14px;
	font-size: clamp(2.2rem, 4.6vw, 3.8rem);
	line-height: 1.02;
}

.page-hero__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.82rem;
}

.page-hero__desc {
	max-width: 62ch;
	margin-top: 16px;
	color: rgba(255, 255, 255, 0.72);
}

.page-body {
	padding: clamp(40px, 6vw, 80px) 0;
}

.prose {
	max-width: 760px;
	margin: 0 auto;
	font-size: 1.02rem;
}

.prose > * + * {
	margin-top: 1.2em;
}

.prose h2 {
	margin-top: 1.7em;
	font-size: clamp(1.5rem, 2.4vw, 1.85rem);
	line-height: 1.15;
}

.prose h3 {
	margin-top: 1.5em;
	font-size: 1.3rem;
}

.prose p,
.prose li {
	color: #25352c;
}

.prose ul,
.prose ol {
	padding-left: 1.2em;
}

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

.prose a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose img {
	height: auto;
	border-radius: 14px;
}

.prose blockquote {
	margin: 1.6em 0;
	padding: 8px 0 8px 22px;
	border-left: 4px solid var(--gold);
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--forest);
}

.prose figure {
	margin: 1.6em 0;
}

.prose figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.8rem;
	text-align: center;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.prose th,
.prose td {
	padding: 10px 12px;
	border: 1px solid var(--line);
	text-align: left;
}

.prose th {
	background: var(--paper);
}

.prose .wp-block-button__link {
	border-radius: 999px;
	background: var(--forest);
}

.prose .wp-block-quote {
	border-left-color: var(--gold);
}

.builder-content {
	width: 100%;
}

.builder-content > .elementor {
	width: 100%;
}

.post-media {
	max-width: 980px;
	margin: 0 auto clamp(28px, 4vw, 44px);
}

.post-media img {
	display: block;
	width: 100%;
	border-radius: var(--radius-lg);
}

.post-footer {
	max-width: 760px;
	margin: 48px auto 0;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.post-tags a {
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--paper);
	color: var(--muted);
	font-size: 0.75rem;
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font-size: 0.88rem;
	font-weight: 600;
}

.post-nav a:hover {
	color: var(--green);
}

.post-nav__next {
	margin-left: auto;
	text-align: right;
}

.empty-state {
	display: grid;
	justify-items: start;
	gap: 18px;
	max-width: 620px;
	padding: 40px 0;
	color: var(--muted);
}

.pagination {
	margin-top: 48px;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	font-size: 0.82rem;
}

.pagination .page-numbers:hover {
	border-color: var(--forest);
}

.pagination .current {
	border-color: var(--forest);
	background: var(--forest);
	color: var(--white);
}

/* Search and forms
   ========================================================================== */

.search-form {
	display: flex;
	align-items: stretch;
	gap: 8px;
	max-width: 520px;
}

.search-form label {
	flex: 1;
	margin: 0;
}

.search-form input[type='search'],
input[type='text'],
input[type='email'],
input[type='url'],
input[type='tel'],
input[type='number'],
textarea,
select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	color: var(--ink);
}

.search-form input[type='search'] {
	height: 48px;
}

.search-form .btn {
	height: 48px;
	border-radius: 12px;
}

/* 404
   ========================================================================== */

.error-404 {
	padding: clamp(70px, 10vw, 120px) 0;
	text-align: center;
}

.error-404__code {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(6rem, 16vw, 12rem);
	font-weight: 700;
	line-height: 0.8;
	color: var(--forest);
	opacity: 0.14;
}

.error-404 h1 {
	margin-top: -20px;
	font-size: clamp(2rem, 4vw, 3rem);
}

.error-404 > p:not(.error-404__code) {
	max-width: 50ch;
	margin: 16px auto 28px;
	color: var(--muted);
}

.error-404__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.error-404__search {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

/* WordPress core helpers
   ========================================================================== */

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

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 400;
	padding: 12px 18px;
	border-radius: 0 0 10px 10px;
	background: var(--forest);
	color: var(--white);
}

.skip-link:focus {
	top: 0;
}

.alignwide {
	margin-left: -80px;
	margin-right: -80px;
	max-width: calc(100% + 160px);
}

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

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

.wp-caption-text {
	color: var(--muted);
	font-size: 0.8rem;
	text-align: center;
}

.entry-content::after {
	content: '';
	display: table;
	clear: both;
}

/* Motion
   ========================================================================== */

.has-js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.has-js [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

/* Desktop hover menus
   ========================================================================== */

@media (hover: hover) and (min-width: 1025px) {
	.has-submenu:hover > .submenu,
	.has-submenu:hover > .mega {
		display: block;
	}

	.has-submenu:hover > .nav-link .icon {
		transform: rotate(180deg);
	}
}

/* Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.mega__inner {
		grid-template-columns: 260px 1fr;
		gap: 32px;
	}

	.nav-link {
		padding: 10px 10px;
		font-size: 0.86rem;
	}

	.footer__grid {
		gap: 28px;
	}
}

@media (max-width: 1024px) {
	.main-nav {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.about__grid,
	.innofest__grid,
	.impact__grid {
		grid-template-columns: 1fr;
	}

	.about__media {
		max-width: 640px;
	}

	.impact__stats {
		max-width: 720px;
	}

	.leader-feature {
		grid-template-columns: 0.9fr 1.1fr;
	}

	.news__layout {
		grid-template-columns: 1fr;
	}

	.news__list {
		padding: 6px 24px;
	}
}

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

	.values__grid {
		grid-template-columns: 1fr 1fr;
	}

	.leader-grid {
		grid-template-columns: 1fr 1fr;
	}

	.leader-feature {
		grid-template-columns: 1fr;
	}

	.leader-feature__media {
		aspect-ratio: 4 / 3;
	}

	.portal-grid {
		grid-template-columns: 1fr;
	}

	.story-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.alignwide {
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
	}
}

@media (max-width: 720px) {
	:root {
		--header-h: 68px;
	}

	.utility-bar__org {
		display: none;
	}

	.utility-bar__inner {
		justify-content: center;
		min-height: 34px;
	}

	.utility-bar__actions {
		gap: 14px;
	}

	.header-main__inner {
		gap: 12px;
	}

	.brand img {
		height: 38px;
	}

	.header-apply {
		display: none;
	}

	.nav-toggle__label {
		display: none;
	}

	.nav-toggle {
		width: 42px;
		padding: 0;
	}

	.hero__inner {
		padding-top: 64px;
		padding-bottom: 76px;
	}

	.hero__stats-wrap {
		margin-bottom: 0;
	}

	.hero-stats {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 10px 22px;
		border-radius: 20px;
	}

	.hero-stat {
		padding: 16px 0;
		border-top: 1px solid var(--line);
		border-left: 0;
	}

	.hero-stat:first-child {
		padding-top: 8px;
		border-top: 0;
	}

	.hero-stat:last-child {
		padding-bottom: 8px;
	}

	.about {
		padding-top: var(--section);
	}

	.about__frame {
		inset: 10px -10px -10px 10px;
	}

	.about__badge {
		left: 12px;
		bottom: 12px;
		padding: 14px 18px;
	}

	.section__head--split {
		display: block;
	}

	.section__head--split .link-arrow {
		margin-top: 16px;
	}

	.programme-card {
		padding: 24px 22px 20px;
	}

	.programme-list {
		grid-template-columns: 1fr;
	}

	.impact__stats {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.values__grid,
	.leader-grid,
	.story-grid {
		grid-template-columns: 1fr;
	}

	.news__list {
		padding: 4px 18px;
	}

	.story-card--compact {
		grid-template-columns: 104px 1fr;
		gap: 14px;
	}

	.footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer__bottom {
		margin-top: 36px;
	}

	.post-nav {
		flex-direction: column;
		gap: 12px;
	}

	.post-nav__next {
		margin-left: 0;
		text-align: left;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 18px;
	}

	.hero__title {
		font-size: clamp(2.4rem, 11vw, 3.2rem);
	}

	.hero__actions .btn {
		width: 100%;
	}

	.impact__stats {
		grid-template-columns: 1fr;
	}

	.chip {
		white-space: normal;
	}

	.search-form {
		flex-direction: column;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.has-js [data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* Inner page content system
   ========================================================================== */

.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.62);
}

.breadcrumb a {
	color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
	color: var(--white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.breadcrumb .icon {
	width: 14px;
	height: 14px;
	opacity: 0.6;
	transform: rotate(-90deg);
}

.page-prose {
	max-width: 1000px;
}

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

.page-prose > p:first-of-type {
	font-size: 1.14rem;
	line-height: 1.6;
	color: var(--forest);
}

.page-prose .edc-cards {
	display: grid;
	gap: 16px;
	margin: 26px 0 6px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.page-prose .edc-card {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
}

.page-prose .edc-card h3 {
	margin: 10px 0 8px;
	font-size: 1.08rem;
}

.page-prose .edc-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.94rem;
}

.edc-card__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--paper);
	color: var(--green);
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 700;
}

.page-prose .edc-checklist,
.page-prose .edc-link-list,
.page-prose .edc-steps {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.page-prose .edc-checklist li {
	position: relative;
	padding-left: 32px;
}

.page-prose .edc-checklist li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0.18em;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	font-size: 0.7rem;
	line-height: 1;
}

.page-prose .edc-steps {
	gap: 16px;
	counter-reset: edc-step;
}

.page-prose .edc-steps li {
	position: relative;
	padding-left: 54px;
	counter-increment: edc-step;
}

.page-prose .edc-steps li::before {
	content: counter(edc-step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--forest);
	color: var(--gold);
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 700;
}

.page-prose .edc-link-list a {
	color: var(--green);
	text-decoration: none;
}

.page-prose .edc-link-list a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.page-prose .edc-note {
	margin: 28px 0;
	padding: 18px 22px;
	border-left: 3px solid var(--gold);
	border-radius: 0 14px 14px 0;
	background: var(--paper);
}

.page-prose .edc-note p {
	margin: 0;
}

.page-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: clamp(40px, 5vw, 64px);
	padding: clamp(26px, 4vw, 40px);
	border-radius: var(--radius-lg);
	background: var(--forest);
	color: var(--white);
}

.page-cta h2 {
	margin-top: 12px;
	max-width: 26ch;
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	color: var(--white);
}

.page-cta .eyebrow {
	color: var(--gold);
}

.page-cta__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Contact page
   ========================================================================== */

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

.contact-panel {
	padding: clamp(22px, 3.4vw, 38px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
}

.contact-heading {
	font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.contact-intro {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.95rem;
}

.contact-form {
	margin-top: 22px;
}

.contact-form .field {
	margin-top: 16px;
}

.contact-form .field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 16px;
}

.contact-form .field-row .field {
	margin-top: 0;
}

.contact-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--forest);
}

.contact-form input[type='text'],
.contact-form input[type='email'],
.contact-form input[type='tel'],
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--cream);
	color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form textarea {
	min-height: 150px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: 0 0 0 3px rgba(31, 122, 76, 0.14);
}

.contact-form input[aria-invalid='true'],
.contact-form textarea[aria-invalid='true'] {
	border-color: #b3453a;
	background: #fdf7f6;
}

.field-error {
	margin: 6px 0 0;
	font-size: 0.8rem;
	color: #a33a2f;
}

.contact-form .checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 0;
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--muted);
}

.contact-form .checkbox input {
	margin-top: 3px;
	accent-color: var(--green);
}

.contact-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-submit {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 22px;
}

.form-note {
	margin: 0;
	font-size: 0.78rem;
	color: var(--muted);
}

.contact-alert {
	margin-bottom: 4px;
	padding: 16px 18px;
	border: 1px solid;
	border-radius: 14px;
}

.contact-alert h2 {
	margin-bottom: 6px;
	font-size: 1.2rem;
}

.contact-alert p {
	margin: 0;
}

.contact-alert__actions {
	margin-top: 14px;
}

.contact-alert--error {
	border-color: #ecc8c2;
	background: #fcf1ef;
	color: #8c2f24;
}

.contact-alert--success {
	border-color: #c3e2cf;
	background: #eef8f2;
	color: #1d5a3b;
}

.contact-aside {
	display: grid;
	gap: 14px;
}

.contact-card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
}

.contact-card > .icon {
	width: 20px;
	height: 20px;
	margin-top: 3px;
	color: var(--green);
}

.contact-card h2 {
	margin-bottom: 4px;
	font-size: 0.95rem;
}

.contact-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.contact-card a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.contact-social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
}

.contact-map {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: 240px;
	border: 0;
}

@media (max-width: 960px) {
	.contact-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.contact-form .field-row {
		grid-template-columns: 1fr;
	}

	.contact-form .field-row .field + .field {
		margin-top: 16px;
	}
}
