/*
 * FLO — About: mission and vision, how we help, the wide photo, the legacy
 * statement, the next pages, the partners card. The hero, history and
 * values are library sections. Values from design/source/about.dc.html.
 */

/* ---- Mission and vision ---- */

.p-mv {
	overflow: hidden;
	padding: clamp(80px, 9vw, 116px) var(--gutter) clamp(84px, 9vw, 120px);
}

.p-mv .c-glow--top {
	top: -280px;
	width: 900px;
	height: 900px;
}

.p-mv__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: clamp(34px, 5vw, 72px);
	align-items: start;
}

.p-mv__mission {
	margin: 20px 0 0;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: clamp(26px, 3.6vw, 46px);
	line-height: 1.1;
	letter-spacing: -.03em;
	color: var(--paper);
}

.p-mv__vision {
	padding-left: clamp(0px, 3vw, 40px);
	border-left: 2px solid rgba(245, 163, 4, .42);
}

.p-mv__vision-text {
	margin: 20px 0 0;
	font-size: clamp(17px, 1.9vw, 22px);
	line-height: 1.6;
	color: rgba(255, 255, 255, .82);
}

/* ---- How we help ---- */

.p-help {
	overflow: hidden;
	padding: clamp(84px, 10vw, 120px) var(--gutter) clamp(88px, 10vw, 124px);
}

.p-help__rays {
	position: absolute;
	right: -220px;
	top: -180px;
	width: 640px;
	height: 640px;
	background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(245, 163, 4, .06) 0deg .6deg, transparent .6deg 6deg);
	-webkit-mask: radial-gradient(circle, #000, transparent 62%);
	mask: radial-gradient(circle, #000, transparent 62%);
	pointer-events: none;
}

.p-help__inner {
	position: relative;
}

.p-help__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.p-help__title {
	max-width: 20ch;
	margin: 16px 0 0;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: clamp(28px, 3.8vw, 48px);
	line-height: 1.02;
	letter-spacing: -.03em;
	color: var(--paper);
}

.is-dark .p-help__link {
	flex: none;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	color: var(--gold);
	text-decoration: none;
}

.is-dark .p-help__link:hover {
	color: #ffb524;
}

.p-help__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: clamp(44px, 5vw, 64px);
}

.p-help__col {
	padding: 0 clamp(0px, 2.4vw, 34px);
	border-left: 1px solid rgba(255, 255, 255, .16);
}

.p-help__col:first-child {
	padding-left: 0;
	border-left: 0;
}

.p-help__medal {
	position: relative;
	display: block;
	width: 62px;
	height: 62px;
}

.p-help__medal::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 1.5px solid rgba(245, 163, 4, .42);
	border-radius: 50%;
}

.p-help__num {
	position: absolute;
	inset: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(245, 163, 4, .12);
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: 17px;
	color: var(--gold);
}

.p-help__name {
	margin: 24px 0 0;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 700;
	font-size: clamp(21px, 2.3vw, 27px);
	line-height: 1.1;
	letter-spacing: -.022em;
	color: var(--paper);
}

.p-help__text {
	max-width: 34ch;
	margin: 14px 0 0;
	font-size: 16px;
	line-height: 1.66;
	color: rgba(255, 255, 255, .74);
}

/* ---- Wide photo ---- */

.p-photo-band {
	padding: clamp(72px, 9vw, 128px) var(--gutter) clamp(76px, 9vw, 104px);
}

.p-photo-band__frame {
	position: relative;
	margin: 0;
	aspect-ratio: 21 / 9;
	border-radius: 24px;
	overflow: hidden;
	background: var(--sand);
	box-shadow: 0 30px 66px -48px rgba(0, 27, 66, .45);
}

.p-photo-band__frame::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 46%;
	background: linear-gradient(to top, rgba(0, 27, 66, .7), transparent);
	pointer-events: none;
}

.p-photo-band__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.p-photo-band__caption {
	position: absolute;
	z-index: 1;
	left: clamp(22px, 3vw, 38px);
	right: clamp(22px, 3vw, 38px);
	bottom: clamp(20px, 2.6vw, 30px);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.5;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .82);
}

/* ---- Legacy ---- */

.p-legacy {
	overflow: hidden;
	padding: clamp(88px, 10vw, 120px) var(--gutter) clamp(92px, 10vw, 124px);
}

.p-legacy .c-glow--top {
	top: -260px;
	width: 820px;
	height: 820px;
	background: radial-gradient(circle, rgba(245, 163, 4, .1), transparent 64%);
}

.p-legacy__inner {
	position: relative;
}

.p-legacy__statement {
	max-width: 32ch;
	margin: 24px 0 0;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: clamp(30px, 4.4vw, 56px);
	line-height: 1.08;
	letter-spacing: -.03em;
	color: var(--paper);
}

.p-legacy__text {
	max-width: 64ch;
	margin: 26px 0 0;
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .78);
}

.p-legacy__actions {
	margin-top: 30px;
}

.p-legacy .c-btn {
	padding: 15px 30px;
}

/* ---- Next pages ---- */

.p-next {
	padding: 80px var(--gutter) 96px;
}

.p-next__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

.p-next__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 36px 38px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--white);
	color: inherit;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}

.p-next__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 26px 52px -34px rgba(0, 27, 66, .4);
	color: inherit;
}

.p-next__eyebrow {
	display: block;
	font-weight: 700;
	font-size: 11px;
	line-height: 1;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold-text);
}

.p-next__title {
	display: block;
	margin-top: 10px;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: clamp(22px, 2.4vw, 28px);
	line-height: normal;
	letter-spacing: -.02em;
	color: var(--navy);
}

.p-next__text {
	display: block;
	max-width: 34ch;
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
}

.p-next__arrow {
	flex: none;
	font-weight: 700;
	font-size: 22px;
	line-height: 1;
	color: var(--gold-text);
}

/* ---- Partners card ---- */

.p-partners-card {
	padding: clamp(72px, 9vw, 104px) var(--gutter) clamp(76px, 9vw, 108px);
}

.p-partners-card__link {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--line);
	border-radius: 24px;
	overflow: hidden;
	background: var(--white);
	color: inherit;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}

.p-partners-card__link:hover {
	transform: translateY(-4px);
	box-shadow: 0 28px 56px -36px rgba(0, 27, 66, .4);
	color: inherit;
}

.p-partners-card__photo {
	position: relative;
	display: block;
	min-height: 260px;
	background: #EDE7DB;
}

.p-partners-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.p-partners-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(30px, 3.6vw, 44px);
}

.p-partners-card__title {
	max-width: 20ch;
	margin: 14px 0 0;
	font-family: var(--font-display);
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.04;
	letter-spacing: -.026em;
	color: var(--navy);
}

.p-partners-card__text {
	display: block;
	max-width: 46ch;
	margin: 16px 0 0;
	font-size: 16.5px;
	line-height: 1.68;
	color: var(--text);
}

.p-partners-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	color: var(--navy-ink);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
	.p-mv__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.p-mv__vision {
		padding-top: 26px;
		padding-left: 0;
		border-top: 2px solid rgba(245, 163, 4, .42);
		border-left: 0;
	}

	.p-help__cols {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.p-help__col {
		padding: 0;
		border-left: 0;
	}
}

@media (max-width: 768px) {
	.p-next__grid,
	.p-partners-card__link {
		grid-template-columns: 1fr;
	}
}
