/* About page: CEO message band. */
/* =========================================================================
   CEO message
   A closing navy band that reuses the footer's exact background (the
   #03103c -> #000d37 gradient) as an overlay layered on top of the corporate
   building, which sits behind it and only shows through toward the right
   edge. Big scaled type, a wide quote column, the portrait hugging the
   right, and the white skyline pinned to the base. Rebuilt from the
   CEO Message reference onto the brand tokens (--sfm-green) and the theme
   font (--sfm-font-sans), sharing the page's left rail (--x0) and design
   unit (--u) with the sections above.
   ========================================================================= */

.ceo-msg {
	position: relative;
	overflow: hidden;
	--u: calc(100vw / 1840);
	--x0: max(24px, calc((100% - var(--ph-container, 1280px)) / 2 + 24px));
	background: #000d37 url("../img/ceo-building.jpg") no-repeat right center / cover;
	border-top: 5px solid var(--sfm-green);
	color: #fff;
	padding: calc(var(--u) * 90) var(--x0) calc(var(--u) * 150);
	font-family: var(--sfm-font-sans);
}

.ceo-msg *,
.ceo-msg *::before,
.ceo-msg *::after {
	box-sizing: border-box;
}

/* The footer shade reads as the band's own background; the building under it
   stays visible only near the right edge, veiled by this gradient. */
.ceo-msg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(100deg,
		rgba(3, 16, 60, .98) 0%,
		rgba(3, 16, 60, .93) 45%,
		rgba(0, 13, 55, .7) 72%,
		rgba(0, 13, 55, .35) 100%);
	pointer-events: none;
}

/* White skyline sitting on the bottom edge. */
.ceo-msg::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	z-index: 2;
	height: clamp(26px, 4vw, 64px);
	background: url("../img/ceo-skyline.png") no-repeat center bottom / 100% 100%;
	pointer-events: none;
}

.ceo-msg__inner {
	position: relative;
	max-width: 1213px;
	margin: 0;
	z-index: 3;
}

.ceo-msg__title {
	display: flex;
	align-items: center;
	gap: clamp(12px, calc(var(--u) * 18), 22px);
	margin: 0 0 clamp(28px, calc(var(--u) * 56), 56px);
	font-weight: var(--sfm-weight-bold);
	font-size: clamp(38px, 2.5vw, 46px);
	line-height: 1;
	letter-spacing: .005em;
	color: #fff;
}

.ceo-msg__title::before,
.ceo-msg__title::after {
	content: "";
	flex: none;
	width: clamp(10px, calc(var(--u) * 13), 14px);
	height: clamp(10px, calc(var(--u) * 13), 14px);
	border-radius: 50%;
	background: var(--sfm-green);
}

.ceo-msg__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 480px;
	column-gap: calc(var(--u) * 80);
	align-items: start;
}

.ceo-msg__quote {
	position: relative;
	margin: 0;
	padding-left: clamp(28px, calc(var(--u) * 36), 40px);
	max-width: 720px;
}

.ceo-msg__quote p {
	margin: 0 0 calc(var(--u) * 26);
	font-weight: var(--sfm-weight-medium);
	font-size: clamp(17px, 1.05vw, 19px);
	line-height: 1.6;
	color: #fff;
}

.ceo-msg__quote p:last-child {
	margin-bottom: 0;
}

.ceo-q {
	display: inline-block;
	width: clamp(22px, calc(var(--u) * 24), 26px);
	height: clamp(16px, calc(var(--u) * 18), 19px);
	fill: var(--sfm-green);
}

.ceo-q--open {
	position: absolute;
	left: 0;
	top: -6px;
	transform: rotate(180deg);
}

.ceo-q--close {
	margin-left: 10px;
	vertical-align: -4px;
}

.ceo-msg__person {
	margin: 0;
	text-align: center;
}

.ab-page .ceo-msg__photo {
	display: block;
	width: 100%;
	max-width: 480px;
	aspect-ratio: 440 / 449;
	object-fit: cover;
	border-radius: 14px;
	margin: 0 0 0 auto;
}

.ceo-msg__name {
	margin-top: 22px;
	font-weight: var(--sfm-weight-bold);
	font-size: max(20px, calc(var(--u) * 26));
	line-height: 1.2;
	color: #fff;
}

.ceo-msg__role {
	margin-top: 6px;
	font-weight: var(--sfm-weight-medium);
	font-size: max(14px, calc(var(--u) * 17));
	line-height: 1.3;
	color: rgba(255, 255, 255, .88);
}

@media (max-width: 1279px) {
	.ceo-msg__grid {
		grid-template-columns: 1fr;
		row-gap: clamp(36px, calc(var(--u) * 58), 64px);
	}

	.ceo-msg__title {
		justify-content: center;
	}

	.ceo-msg__person {
		order: 2;
	}

	.ab-page .ceo-msg__photo {
		max-width: 400px;
		margin: 0 auto;
	}
}

@media (max-width: 900px) {
	.ceo-msg {
		--x0: 20px;
		padding: clamp(44px, calc(var(--u) * 60), 60px) var(--x0) clamp(72px, calc(var(--u) * 130), 130px);
	}

	.ceo-msg__quote {
		max-width: none;
	}
}

