/* ── About / Certifications page ── */
.site-page-about {
	background: #f7f7f7;
}

.about-page {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	background: #f7f7f7;
	padding: 72px 0 100px;
	box-sizing: border-box;
}

.about-page__inner {
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
	padding: 0 20px;
	box-sizing: border-box;
}

.page-section-head {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 56px;
	text-align: center;
}

.page-section-head__title-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.page-section-head__bg {
	display: block;
	font-family: var(--font-bold);
	font-size: 100px;
	font-weight: 700;
	line-height: 1;
	color: #000;
	opacity: .06;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.page-section-head__title {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	margin: 0;
	font-family: var(--font-bold);
	font-size: 50px;
	font-weight: 700;
	line-height: 1.1;
	color: #000;
	text-transform: uppercase;
	letter-spacing: .02em;
	white-space: nowrap;
}

.page-section-head__line {
	display: block;
	width: 44px;
	height: 5px;
	margin-top: 0;
	background: #111d5c;
	flex-shrink: 0;
}

.about-certs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 40px;
	margin: 0 0 64px;
}

.about-cert {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.about-cert__zoom {
	display: block;
	width: 100%;
	max-width: 420px;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	cursor: zoom-in;
	line-height: 0;
}

.about-cert__img {
	display: block;
	width: 100%;
	height: auto;
	background: #fff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
	transition: transform .35s ease, box-shadow .35s ease;
}

.about-cert__zoom:hover .about-cert__img,
.about-cert__zoom:focus-visible .about-cert__img {
	transform: translateY(-4px);
	box-shadow: 0 14px 36px rgba(0, 0, 0, .14);
}

.about-cert__zoom:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 4px;
}

.about-cert__title {
	margin: 22px 0 0;
	max-width: 100%;
	font-family: var(--font-bold);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: #000;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.about-page__content {

	margin: 0 auto;
	text-align: center;
	font-family: var(--font-light);
	font-size: 18px;
	font-weight: 300;
	line-height: 1.7;
	color: #111;
}

.about-page__content > *:first-child {
	margin-top: 0;
}

.about-page__content > *:last-child {
	margin-bottom: 0;
}

.about-page__content p {
	margin: 0 0 1em;
}

.about-page__content a {
	color: var(--navy);
	text-decoration: underline;
}

.about-page__content a:hover {
	color: var(--blue);
}

/* Lightbox */
.about-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
	box-sizing: border-box;
}

.about-lightbox[hidden] {
	display: none;
}

.about-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 16, 68, .78);
	cursor: zoom-out;
}

.about-lightbox__img {
	position: relative;
	z-index: 1;
	max-width: min(1100px, 100%);
	max-height: calc(100vh - 96px);
	width: auto;
	height: auto;
	object-fit: contain;
	background: #fff;
	box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
}

.about-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: #111d5c;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s, color .2s;
}

.about-lightbox__close:hover,
.about-lightbox__close:focus-visible {
	background: #fff;
	color: var(--blue);
}

body.about-lightbox-open {
	overflow: hidden;
}

@media (max-width: 1100px) {
	.about-page {
		padding: 56px 0 72px;
	}

	.page-section-head {
		margin-bottom: 40px;
	}

	.page-section-head__bg {
		font-size: 64px;
	}

	.page-section-head__title {
		font-size: 36px;
	}

	.about-certs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 28px;
		margin-bottom: 48px;
	}

	.about-cert__title {
		font-size: 24px;
		margin-top: 16px;
	}

	.about-page__content {
		font-size: 16px;
	}
}

@media (max-width: 640px) {
	.about-page {
		padding: 40px 0 56px;
	}

	.page-section-head__bg {
		font-size: 42px;
	}

	.page-section-head__title {
		font-size: 26px;
		white-space: normal;
		width: max-content;
		max-width: 90vw;
	}

	.page-section-head__line {
		width: 36px;
		height: 4px;
	}

	.about-certs {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-bottom: 40px;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.about-cert__title {
		font-size: 20px;
	}

	.about-page__content {
		font-size: 15px;
		line-height: 1.65;
	}

	.about-lightbox {
		padding: 72px 16px 24px;
	}

	.about-lightbox__close {
		top: 12px;
		right: 12px;
	}
}
