/* About Us — scrapbook */

.eqc-about-us .mkdf-content,
.eqc-about-us .mkdf-content-inner {
	background: transparent;
}

.eqc-about-us .mkdf-title-holder,
.eqc-about-us .mkdf-page-header + .mkdf-title {
	display: none !important;
}

.eqc-about__main {
	--eqc-navy: #1a1f3c;
	--eqc-purple: #27183c;
	--eqc-blue: #3fa9f5;
	--eqc-blue-brush: #3197d4;
	--eqc-red: #d8232a;
	--eqc-red-bright: #e40b18;
	--eqc-paper: #f2f0e9;
	--eqc-font-display: "Oswald", "Arial Narrow", sans-serif;
	--eqc-font-hand: "Caveat", "Segoe Print", cursive;
	--eqc-font-body: "Muli", "Nunito Sans", sans-serif;
	--eqc-paper-tile: url("../img/homepage-v2/paper-tile.png");
	position: relative;
	overflow-x: clip;
	font-family: var(--eqc-font-body);
	color: var(--eqc-navy);
}

.eqc-about-hero,
.eqc-about-mission,
.eqc-about-principles {
	position: relative;
	isolation: isolate;
	width: 100%;
	background:
		linear-gradient(var(--eqc-navy), var(--eqc-navy)) top / 100% 72px no-repeat,
		var(--eqc-blue);
}

.eqc-about-mission,
.eqc-about-principles {
	background: var(--eqc-blue);
}

.eqc-about-hero__paper,
.eqc-about-mission__paper,
.eqc-about-principles__paper {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 140px max(20px, calc((100vw - 1180px) / 2)) 72px;
	box-sizing: border-box;
	overflow: visible;
	z-index: 1;
}

.eqc-about-mission__paper {
	padding-top: 56px;
	padding-bottom: 88px;
}

.eqc-about-hero__paper::before,
.eqc-about-mission__paper::before,
.eqc-about-principles__paper::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-color: var(--eqc-paper);
	background-image: var(--eqc-paper-tile);
	background-repeat: repeat;
	background-size: 256px 256px;
	background-position: center top;
}

.eqc-about-hero__paper > *,
.eqc-about-mission__paper > *,
.eqc-about-principles__paper > * {
	position: relative;
	z-index: 1;
}

/* ---- Hero / Our Team ---- */

.eqc-about-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	column-gap: 56px;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
}

.eqc-about-hero__polaroid {
	position: relative;
	margin: 0;
	width: min(100%, 420px);
	justify-self: center;
	background: #fff;
	padding: 14px 14px 52px;
	box-shadow:
		0 12px 32px rgba(26, 31, 60, 0.16),
		0 2px 4px rgba(26, 31, 60, 0.08);
	transform: rotate(-3.5deg);
	transform-origin: center top;
}

.eqc-about-hero__tape {
	position: absolute;
	left: -10px;
	top: 42px;
	width: 52px;
	height: 18px;
	background: rgba(229, 57, 53, 0.72);
	transform: rotate(-28deg);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	z-index: 3;
}

.eqc-about-hero__frame {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #d9d6cf;
}

.eqc-about-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eqc-about-hero__placeholder,
.eqc-about-polaroid__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, #e8e4db 25%, #d5d1c7 25%, #d5d1c7 50%, #e8e4db 50%, #e8e4db 75%, #d5d1c7 75%);
	background-size: 16px 16px;
}

.eqc-about-hero__caption {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 12px;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--eqc-font-hand);
	font-size: clamp(1.2rem, 2.1vw, 1.65rem);
	font-weight: 600;
	line-height: 1.1;
	color: var(--eqc-navy);
}

.eqc-about-hero__heart {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.eqc-about-hero__copy {
	min-width: 0;
	padding-top: 8px;
}

.eqc-about-hero__title {
	margin: 0 0 12px;
	font-family: var(--eqc-font-hand);
	font-size: clamp(3.6rem, 7vw, 5.6rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--eqc-navy);
}

.eqc-about-team__title {
	margin: 0 0 18px;
}

.eqc-about-team__brush-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.eqc-about-team__brush {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 118%;
	min-width: 190px;
	height: auto;
	max-width: none;
	pointer-events: none;
	z-index: 0;
	user-select: none;
}

.eqc-about-team__label {
	position: relative;
	z-index: 1;
	padding: 0.35em 1.1em 0.3em;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.25rem, 2.6vw, 1.85rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
}

.eqc-about-team__text p {
	margin: 0 0 16px;
	max-width: 38em;
	font-size: 1.05rem;
	line-height: 1.55;
	color: #222;
}

.eqc-about-team__text p:last-child {
	margin-bottom: 0;
}

.eqc-about-team__text strong {
	color: var(--eqc-red);
	font-weight: 700;
}

/* ---- Shared polaroids ---- */

.eqc-about-polaroid {
	margin: 0;
	background: #fff;
	padding: 10px 10px 14px;
	box-shadow:
		0 10px 24px rgba(26, 31, 60, 0.14),
		0 2px 4px rgba(26, 31, 60, 0.08);
}

.eqc-about-polaroid__frame {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #d9d6cf;
}

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

.eqc-about-polaroid--team-1 { transform: rotate(-3.2deg); }
.eqc-about-polaroid--team-2 { transform: rotate(2.8deg); margin-top: 18px; }
.eqc-about-polaroid--team-3 { transform: rotate(2.2deg); }
.eqc-about-polaroid--team-4 { transform: rotate(-2.6deg); margin-top: 14px; }

/* ---- Our Mission ---- */

.eqc-about-mission__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	column-gap: 48px;
	align-items: start;
	max-width: 1100px;
	margin: 0 auto;
}

.eqc-about-mission__copy-col {
	min-width: 0;
}

.eqc-about-mission__title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0 0 18px;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.45rem, 3vw, 2.15rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.05;
	color: var(--eqc-navy);
}

.eqc-about-mission__title span {
	color: var(--eqc-red);
}

.eqc-about-mission__lead {
	margin: 0 0 16px;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	font-weight: 700;
	line-height: 1.45;
	color: var(--eqc-navy);
}

.eqc-about-mission__copy p {
	margin: 0 0 14px;
	font-size: 1.05rem;
	line-height: 1.55;
	color: #222;
}

.eqc-about-mission__copy p:last-child {
	margin-bottom: 0;
}

.eqc-about-mission__through {
	margin: 24px 0 14px;
	font-family: var(--eqc-font-hand);
	font-size: clamp(1.35rem, 2.3vw, 1.7rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--eqc-blue);
}

.eqc-about-mission__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.eqc-about-mission__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 1rem;
	line-height: 1.45;
	color: #222;
}

.eqc-about-mission__list img {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	margin-top: 2px;
	object-fit: contain;
}

.eqc-about-mission__cta {
	display: flex;
	justify-content: flex-start;
	margin-top: 32px;
}

.eqc-about-mission__cta .b-nav__next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #3197d4;
	color: #fff;
	padding: 15px 32px;
	border: none;
	border-radius: 5px;
	text-transform: uppercase;
	font-family: var(--eqc-font-display);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
	line-height: 1.2;
}

.eqc-about-mission__cta .b-nav__next:hover,
.eqc-about-mission__cta .b-nav__next:focus {
	opacity: 0.85;
	color: #fff;
}

.eqc-about-mission__photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 16px;
	align-items: start;
	padding-top: 8px;
}

/* ---- Guiding Principles ---- */

.eqc-about-principles__paper {
	padding-top: 48px;
	padding-bottom: 96px;
}

.eqc-about-principles__paper > .eqc-about-principles__sun,
.eqc-about-principles__paper > .eqc-about-principles__flight,
.eqc-about-principles__paper > .eqc-about-principles__plane {
	position: absolute;
	pointer-events: none;
}

.eqc-about-principles__sun {
	left: max(12px, calc((100vw - 1180px) / 2 - 36px));
	top: 18px;
	width: 72px;
	height: auto;
	z-index: 2;
	transform: rotate(-8deg);
}

.eqc-about-principles__flight {
	right: max(28px, calc((100vw - 1180px) / 2 + 8px));
	top: 8px;
	width: min(200px, 22vw);
	height: auto;
	z-index: 2;
}

.eqc-about-principles__plane {
	right: max(16px, calc((100vw - 1180px) / 2 - 8px));
	top: 28px;
	width: 58px;
	height: auto;
	z-index: 3;
	transform: rotate(12deg);
}

.eqc-about-principles__inner {
	max-width: 1180px;
	margin: 0 auto;
}

.eqc-about-principles__title {
	display: flex;
	justify-content: center;
	margin: 8px 0 18px;
}

.eqc-about-principles__brush-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.eqc-about-principles__brush {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 108%;
	min-width: 0;
	height: 1.7em;
	object-fit: cover;
	pointer-events: none;
	z-index: 0;
	user-select: none;
}

.eqc-about-principles__label {
	position: relative;
	z-index: 1;
	padding: 0.42em 1.35em 0.38em;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.05rem, 2.8vw, 1.85rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
}

.eqc-about-principles__tagline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 0 36px;
	font-family: var(--eqc-font-body);
	font-size: clamp(0.95rem, 1.5vw, 1.12rem);
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	color: var(--eqc-purple);
}

.eqc-about-principles__marks {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 0;
}

.eqc-about-principles__marks span {
	display: block;
	width: 3px;
	height: 14px;
	border-radius: 2px;
	background: var(--eqc-red-bright);
	transform: rotate(-28deg);
}

.eqc-about-principles__marks--right span {
	transform: rotate(28deg);
}

.eqc-about-principles__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px 16px;
}

.eqc-about-principle {
	--eqc-principle-torn: polygon(
		1.4% 2.6%, 6% 0.5%, 12% 2.1%, 19% 0.3%, 27% 1.9%, 35% 0.4%, 44% 2.2%, 53% 0.2%, 62% 1.8%, 71% 0.5%, 80% 2%, 89% 0.4%, 96% 2.4%, 99.4% 1.2%,
		100% 9%, 98.2% 18%, 100% 28%, 98.4% 39%, 99.8% 51%, 98.1% 63%, 100% 74%, 98.5% 85%, 99.6% 94%,
		97.2% 99%, 89% 98.1%, 80% 100%, 70% 98.2%, 60% 99.8%, 50% 98%, 40% 100%, 30% 98.3%, 20% 99.7%, 11% 98%, 3% 99.4%, 0.4% 97%,
		0% 88%, 1.7% 76%, 0% 64%, 1.8% 52%, 0.2% 40%, 1.6% 28%, 0% 16%, 1.5% 7%
	);
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 22px 20px 18px;
	overflow: visible;
	filter: drop-shadow(0 4px 10px rgba(39, 24, 60, 0.08));
}

.eqc-about-principle::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-color: #f7f3ea;
	background-image: var(--eqc-paper-tile);
	background-repeat: repeat;
	background-size: 256px 256px;
	clip-path: var(--eqc-principle-torn);
}

.eqc-about-principle:nth-child(even) {
	--eqc-principle-torn: polygon(
		0.8% 1.8%, 7% 2.4%, 15% 0.3%, 24% 2%, 33% 0.5%, 42% 1.7%, 51% 0.2%, 60% 2.3%, 69% 0.4%, 78% 1.9%, 87% 0.3%, 95% 2.2%, 99.2% 0.8%,
		100% 11%, 98.4% 22%, 99.8% 34%, 98.2% 46%, 100% 58%, 98.3% 70%, 99.7% 81%, 98.1% 91%,
		96.8% 99.4%, 88% 98%, 78% 100%, 68% 98.4%, 58% 99.6%, 48% 98.1%, 38% 100%, 28% 98.2%, 18% 99.8%, 8% 98%, 1% 99.2%,
		0% 90%, 1.6% 78%, 0.2% 66%, 1.8% 54%, 0% 42%, 1.5% 30%, 0.3% 18%, 1.4% 8%
	);
}

.eqc-about-principle > * {
	position: relative;
	z-index: 1;
}

.eqc-about-principle__copy {
	flex: 1 1 auto;
}

.eqc-about-principle__heading {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 10px;
}

.eqc-about-principle__num {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-top: 2px;
	border-radius: 50%;
	font-family: var(--eqc-font-display);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: var(--eqc-red-bright);
}

.eqc-about-principle:nth-child(5n + 2) .eqc-about-principle__num {
	background: var(--eqc-blue-brush);
}

.eqc-about-principle:nth-child(5n + 3) .eqc-about-principle__num {
	background: #e8a11a;
}

.eqc-about-principle:nth-child(5n + 4) .eqc-about-principle__num {
	background: var(--eqc-purple);
}

.eqc-about-principle:nth-child(5n + 5) .eqc-about-principle__num {
	background: #3e9b55;
}

.eqc-about-principle__title {
	margin: 0;
	font-family: var(--eqc-font-body);
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--eqc-purple);
}

.eqc-about-principle__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--eqc-purple);
}

.eqc-about-principle__icon-wrap {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-top: 16px;
	min-height: 132px;
}

.eqc-about-principle__icon {
	display: block;
	width: 128px;
	height: 128px;
	object-fit: contain;
}

.eqc-about-principle--wide {
	grid-column: span 2;
	flex-direction: row;
	align-items: center;
	gap: 12px 20px;
	padding: 24px 28px 22px;
}

.eqc-about-principle--wide .eqc-about-principle__icon-wrap {
	margin-top: 0;
	min-height: 0;
	flex: 0 0 148px;
}

.eqc-about-principle--wide .eqc-about-principle__icon {
	width: 148px;
	height: 148px;
}

@media (max-width: 980px) {
	.eqc-about-hero__paper {
		padding-top: 120px;
		padding-bottom: 56px;
	}

	.eqc-about-hero__inner,
	.eqc-about-mission__inner {
		grid-template-columns: 1fr;
		row-gap: 36px;
		justify-items: center;
	}

	.eqc-about-hero__copy,
	.eqc-about-mission__copy-col {
		width: 100%;
		max-width: 640px;
	}

	.eqc-about-mission__photos {
		width: min(100%, 420px);
	}

	.eqc-about-principles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eqc-about-principles__sun,
	.eqc-about-principles__plane,
	.eqc-about-principles__flight {
		opacity: 0.85;
	}
}

@media (max-width: 640px) {
	.eqc-about-hero__paper,
	.eqc-about-mission__paper,
	.eqc-about-principles__paper {
		padding-left: 16px;
		padding-right: 16px;
	}

	.eqc-about-hero__paper {
		padding-top: 108px;
		padding-bottom: 48px;
	}

	.eqc-about-hero__polaroid {
		width: min(100%, 340px);
		transform: rotate(-2deg);
	}

	.eqc-about-polaroid--team-2,
	.eqc-about-polaroid--team-4 {
		margin-top: 0;
	}

	.eqc-about-mission__cta {
		justify-content: center;
		margin-top: 28px;
	}

	.eqc-about-mission__cta .b-nav__next {
		width: auto;
		max-width: 100%;
		padding: 15px 28px;
		margin-bottom: 0;
		line-height: 1.2;
		white-space: nowrap;
	}

	.eqc-about-principles__paper {
		padding-top: 36px;
		padding-bottom: 64px;
	}

	.eqc-about-principles__grid {
		grid-template-columns: 1fr;
	}

	.eqc-about-principle--wide {
		grid-column: auto;
		flex-direction: column;
		align-items: stretch;
		padding: 22px 20px 18px;
	}

	.eqc-about-principle--wide .eqc-about-principle__icon-wrap {
		margin-top: 16px;
		flex-basis: auto;
	}

	.eqc-about-principles__brush {
		height: 1.7em;
	}

	.eqc-about-principles__label {
		white-space: normal;
		text-align: center;
	}

	.eqc-about-principles__tagline {
		flex-wrap: wrap;
		margin-bottom: 28px;
	}

	.eqc-about-principles__sun {
		width: 48px;
		left: 8px;
		top: 8px;
	}

	.eqc-about-principles__plane {
		width: 40px;
		right: 8px;
		top: 16px;
	}

	.eqc-about-principles__flight {
		width: 110px;
		right: 12px;
		top: 0;
	}
}
