/* =========================================================================
   The three programme pages: How it works, Portfolio, Apply.
   -------------------------------------------------------------------------
   One stylesheet for all three because they are one set - a founder moves
   between them and the pages should not look like three different sites.

   The vocabulary is the one already on the site: Noto Sans, the #322783 to
   #5A3CC4 purple of the activity band, the blue-to-violet gradient of the
   "Together we rise" button, and 20px corners throughout.
   ====================================================================== */

.programpage {
	font-family: 'Noto Sans', sans-serif;
	color: #0D1216;
	/* 70px above the footer, which is what the other page templates leave. */
	padding-bottom: 70px;
}
/* Divi puts 58px on top of every .container and draws the right-hand sidebar
   rule as .container::before - a 1px line down the page at the width the
   sidebar would have been. Neither belongs on a full-width page. */
/* Divi sets this as "body:not(.et-tb) #main-content .container", so the
   override needs the id and the element to outrank it. */
body #main-content.programpage > .container {
	padding-top: 0;
	padding-bottom: 0;
}
.programpage .container::before {
	display: none;
}
.programpage p {
	font-size: 18px;
	line-height: 1.65;
	color: #35404A;
}
.programpage a {
	color: #442ec2;
}

/* ---- the opening block ------------------------------------------------ */

.programhero {
	padding: 60px 0 10px;
	max-width: 880px;
}
.programhero__eyebrow {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #5A3CC4;
}
.programhero__title {
	margin: 0 0 20px;
	font-size: 56px;
	line-height: 1.08;
	font-weight: 600;
	color: #0D1216;
	text-wrap: balance;
}
.programpage .programhero__lead {
	margin: 0;
	font-size: 22px;
	line-height: 1.55;
	color: #35404A;
}
.programhero__note {
	margin: 18px 0 0;
	padding: 14px 20px;
	border-left: 3px solid #01BCCB;
	background: #F2FBFD;
	font-size: 17px;
}
.programhero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

/* ---- buttons ---------------------------------------------------------- */

.programbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 55px;
	padding: 14px 26px;
	border: 0;
	border-radius: 10px;
	font-family: 'Noto Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.programbtn--primary {
	background: linear-gradient(90deg, #7D6FE0 0%, #009FE3 100%);
	color: #fff;
	cursor: pointer;
}
.programbtn--primary:hover,
.programbtn--primary:focus-visible {
	background: #7D6FE0;
	color: #fff;
	text-decoration: none;
}
.programbtn--ghost {
	border: 2px solid #D5DCE3;
	color: #322783;
	background: #fff;
}
.programbtn--ghost:hover,
.programbtn--ghost:focus-visible {
	border-color: #7D6FE0;
	color: #322783;
	text-decoration: none;
}
.programbtn--onDark {
	background: #fff;
	color: #322783;
}
.programbtn--onDark:hover,
.programbtn--onDark:focus-visible {
	background: #F0ECFF;
	color: #322783;
	text-decoration: none;
}
.programbtn--onDarkGhost {
	border: 2px solid rgba(255, 255, 255, 0.5);
	color: #fff;
}
.programbtn--onDarkGhost:hover,
.programbtn--onDarkGhost:focus-visible {
	border-color: #fff;
	color: #fff;
	text-decoration: none;
}

/* ---- a section -------------------------------------------------------- */

.programsection {
	padding: 54px 0 0;
	max-width: 980px;
}
.programsection--cost {
	scroll-margin-top: 110px;
}
.programsection__heading {
	margin: 0 0 14px;
	font-size: 38px;
	line-height: 1.18;
	font-weight: 600;
	color: #0D1216;
	text-transform: none;
	text-wrap: balance;
}
.programsection__sub {
	margin: 36px 0 12px;
	font-size: 24px;
	font-weight: 600;
	color: #0D1216;
}
.programpage .programsection__lead {
	margin: 0 0 26px;
	font-size: 19px;
	color: #5B6670;
}
.programsection p + p {
	margin-top: 16px;
}
.programbig {
	margin: 0 0 6px;
	font-size: 44px;
	line-height: 1.1;
	font-weight: 700;
	color: #322783;
}
.programpage .programnote {
	margin-top: 26px;
	font-size: 16px;
	color: #5B6670;
}
.programnote--centred {
	margin-top: 44px;
	text-align: center;
}

/* ---- plain cards ------------------------------------------------------ */

.programpair,
.programgrid {
	display: grid;
	gap: 20px;
	margin-top: 8px;
}
.programpair {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.programgrid {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.programcard {
	padding: 28px 30px;
	border: 1px solid #E3E8ED;
	border-radius: 20px;
	background: #fff;
}
.programcard__title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 600;
	color: #322783;
}
.programcard p {
	margin: 0;
	font-size: 17px;
}

/* ---- the four stages -------------------------------------------------- */

.programstages {
	display: grid;
	gap: 22px;
}
.programstage {
	padding: 34px 38px 32px;
	border: 1px solid #E3E8ED;
	border-radius: 20px;
	background: #fff;
}
.programstage__head {
	display: flex;
	gap: 22px;
	align-items: flex-start;
}
.programstage__num {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 16px 0 16px 0;
	background: linear-gradient(180deg, #322783 0%, #5A3CC4 100%);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}
.programstage__title {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 600;
	color: #0D1216;
}
.programstage__lead {
	margin: 0;
	font-size: 18px;
	color: #5B6670;
}
.programstage__list {
	margin: 22px 0 0;
	padding: 0 0 0 22px;
}
.programstage__list li {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 1.6;
	color: #35404A;
}
.programstage__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px 26px;
	margin: 24px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid #EDF1F4;
}
.programstage__meta dt {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8A93A0;
}
.programstage__meta dd {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: #0D1216;
}
.programstage__link {
	display: inline-block;
	margin-top: 22px;
	font-size: 16px;
	font-weight: 600;
	color: #442ec2;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}
.programstage__link:hover,
.programstage__link:focus-visible {
	color: #322783;
}

/* ---- the cost callout ------------------------------------------------- */

.programcallout {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	margin-top: 30px;
	padding: 30px 34px;
	border-radius: 20px;
	background: #F2FBFD;
	border: 1px solid #CDEDF5;
}
.programcallout__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 600;
	color: #0D1216;
}
.programcallout__text {
	margin: 0;
	max-width: 640px;
	font-size: 16px;
}
.programcallout .programbtn {
	flex: 0 0 auto;
}

/* ---- ticks, crosses, steps -------------------------------------------- */

.programticks,
.programcrosses {
	margin: 0;
	padding: 0;
	list-style: none;
}
.programticks li,
.programcrosses li {
	position: relative;
	margin: 0 0 14px;
	padding-left: 36px;
	font-size: 18px;
	line-height: 1.6;
	color: #35404A;
}
.programticks li::before,
.programcrosses li::before {
	position: absolute;
	left: 0;
	top: 1px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}
.programticks li::before {
	content: "\2713";
	background: #E4F7EC;
	color: #1E8A4E;
}
.programcrosses li::before {
	content: "\00d7";
	background: #FDEBEB;
	color: #C0392B;
	font-size: 16px;
}

.programsteps {
	counter-reset: programstep;
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 18px;
}
.programsteps li {
	counter-increment: programstep;
	position: relative;
	padding: 24px 30px 24px 78px;
	border: 1px solid #E3E8ED;
	border-radius: 20px;
	background: #fff;
}
.programsteps li::before {
	content: counter(programstep);
	position: absolute;
	left: 28px;
	top: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #322783;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}
.programsteps h3 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 600;
	color: #0D1216;
}
.programsteps p {
	margin: 0;
	font-size: 17px;
}

/* ---- questions -------------------------------------------------------- */

.programfaq {
	display: grid;
	gap: 12px;
}
.programfaq__item {
	border: 1px solid #E3E8ED;
	border-radius: 16px;
	background: #fff;
}
.programfaq__item summary {
	padding: 20px 26px;
	cursor: pointer;
	font-size: 19px;
	font-weight: 600;
	color: #0D1216;
	list-style: none;
}
.programfaq__item summary::-webkit-details-marker {
	display: none;
}
.programfaq__item summary::after {
	content: "+";
	float: right;
	margin-left: 16px;
	color: #5A3CC4;
	font-weight: 400;
}
.programfaq__item[open] summary::after {
	content: "\2212";
}
.programfaq__item p {
	margin: 0;
	padding: 0 26px 22px;
	font-size: 17px;
}

/* ---- the numbers strip ------------------------------------------------ */

.programstats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 18px;
	margin-top: 44px;
}
.programstat {
	padding: 26px 24px;
	border-radius: 20px;
	background: linear-gradient(180deg, #322783 0%, #5A3CC4 100%);
	color: #fff;
}
.programstat__value {
	display: block;
	font-size: 44px;
	line-height: 1.05;
	font-weight: 700;
}
.programstat__label {
	display: block;
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.84);
}

/* ---- portfolio cards -------------------------------------------------- */

.portfoliogrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 22px;
}
.portfoliocard {
	border: 1px solid #E3E8ED;
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.18s ease, transform 0.18s ease;
}
.portfoliocard:hover {
	border-color: #5A3CC4;
	transform: translateY(-2px);
}
.portfoliocard__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}
.portfoliocard__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: #F2F5F8;
	overflow: hidden;
}
.portfoliocard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.portfoliocard__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 24px 26px 26px;
}
.portfoliocard__name {
	font-size: 22px;
	font-weight: 600;
	color: #0D1216;
}
.portfoliocard__line {
	margin-top: 10px;
	font-size: 16px;
	line-height: 1.6;
	color: #5B6670;
}
.portfoliocard__more {
	margin-top: auto;
	padding-top: 18px;
	font-size: 15px;
	font-weight: 600;
	color: #442ec2;
}
.portfoliocard__link:hover .portfoliocard__more {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---- quotes ----------------------------------------------------------- */

.programquote {
	margin: 0;
	padding: 30px 32px;
	border-radius: 20px;
	background: #F6F8FA;
}
.programquote p {
	margin: 0 0 18px;
	font-size: 19px;
	line-height: 1.6;
	color: #0D1216;
}
.programquote p::before {
	content: "\201C";
}
.programquote p::after {
	content: "\201D";
}
.programquote cite {
	display: block;
	font-style: normal;
	font-size: 15px;
	color: #5B6670;
}
.programquote cite strong {
	display: block;
	font-size: 16px;
	color: #0D1216;
}

/* ---- the closing band ------------------------------------------------- */

.programcta {
	margin-top: 64px;
	padding: 52px 60px 56px;
	border-radius: 20px;
	background: linear-gradient(180deg, #322783 0%, #5A3CC4 100%);
	color: #fff;
	text-align: center;
}
.programcta__title {
	margin: 0 0 12px;
	font-size: 40px;
	font-weight: 700;
	color: #fff;
}
.programpage .programcta__text {
	margin: 0 auto 28px;
	max-width: 640px;
	font-size: 19px;
	color: rgba(255, 255, 255, 0.88);
}
.programcta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

/* ---- the application form --------------------------------------------- */

.mvpapply {
	margin-top: 56px;
	padding: 40px 44px 44px;
	border: 1px solid #E3E8ED;
	border-radius: 20px;
	background: #fff;
	scroll-margin-top: 110px;
}
.mvpapply .applyform__heading {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 600;
	color: #0D1216;
}
.mvpapply .applyform__sub {
	margin: 0 0 28px;
	font-size: 17px;
	color: #5B6670;
}
.mvpapply__form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
}
.mvpapply .applyfield {
	display: flex;
	flex-direction: column;
}
.mvpapply .applyfield--wide {
	grid-column: 1 / -1;
}
.mvpapply .applyfield label {
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #0D1216;
}
.mvpapply .applyinput {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid #D5DCE3;
	border-radius: 10px;
	background: #fff;
	font-family: inherit;
	font-size: 16px;
	color: #0D1216;
}
.mvpapply .applyinput:focus {
	outline: 2px solid #5A3CC4;
	outline-offset: 1px;
	border-color: #5A3CC4;
}
.mvpapply textarea.applyinput {
	resize: vertical;
}
.mvpapply .applyfield__hint {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.5;
	color: #7A838D;
}
.mvpapply .applyform__hp {
	position: absolute;
	left: -9999px;
}
.mvpapply .applyform__actions {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	margin-top: 4px;
}
.mvpapply .applyform__message {
	margin: 0;
	font-size: 16px;
}
.mvpapply .applyform__message.is-ok {
	color: #1E8A4E;
}
.mvpapply .applyform__message.is-error {
	color: #C0392B;
}
/* Once it has gone, the fields are no use to anyone - leave the message. */
.mvpapply__form.is-done .applyfield,
.mvpapply__form.is-done .applyform__submit {
	display: none;
}

/* ---- narrower ---------------------------------------------------------- */

@media (max-width: 1024px) {
	.programhero__title {
		font-size: 42px;
	}
	.programsection__heading {
		font-size: 30px;
	}
	.programstage {
		padding: 28px 26px;
	}
	.programcta {
		padding: 42px 30px 46px;
	}
	.programcta__title {
		font-size: 32px;
	}
	.mvpapply {
		padding: 32px 28px 36px;
	}
}

@media (max-width: 640px) {
	.programpage {
		padding-bottom: 50px;
	}
	.programhero {
		padding-top: 36px;
	}
	.programhero__title {
		font-size: 32px;
	}
	.programhero__lead {
		font-size: 18px;
	}
	.programhero__actions .programbtn,
	.programcta__actions .programbtn {
		width: 100%;
	}
	.programsection {
		padding-top: 40px;
	}
	.programsection__heading {
		font-size: 26px;
	}
	.programbig {
		font-size: 34px;
	}
	.programstage__head {
		gap: 14px;
	}
	.programstage__num {
		width: 42px;
		height: 42px;
		font-size: 16px;
	}
	.programstage__title {
		font-size: 22px;
	}
	.programstat__value {
		font-size: 36px;
	}
	.programcallout {
		padding: 24px 22px;
	}
	.programsteps li {
		padding: 22px 22px 22px 68px;
	}
	.mvpapply__form {
		grid-template-columns: minmax(0, 1fr);
	}
	.mvpapply {
		padding: 26px 20px 30px;
	}
	.portfoliogrid {
		grid-template-columns: minmax(0, 1fr);
	}
}
