/**
 * About Block Styles
 * Auto-loaded when the about block is present on the page.
 * Design: Figma → Martin Heat About (node 4-278)
 */

/* ── Variables ────────────────────────────────────────────────────────────── */
.about {
	--ab-bg:     #F8FAFC;
	--ab-dark:   #191032;
	--ab-orange: #F17E25;
	--ab-border: rgba(25, 16, 50, 0.2);
	--ab-radius: 15px;
}

/* ── Section ──────────────────────────────────────────────────────────────── */
.about {
	background: var(--ab-bg);
	padding-top: 96px;
	padding-bottom: 96px;
	position: relative;
}

/* ── Main Grid ────────────────────────────────────────────────────────────── */
.about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

/* ── Left column ──────────────────────────────────────────────────────────── */
.about__left {
	display: flex;
	flex-direction: column;
	max-width: 574px;
}

/* ── Title ────────────────────────────────────────────────────────────────── */
.about__title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 56px;
	line-height: 1.05;
	letter-spacing: -2.5px;
	color: var(--ab-dark);
	margin: 0 0 31px;
}

.about__title span {
	color: var(--ab-orange);
}

/* ── Body (WYSIWYG) ───────────────────────────────────────────────────────── */
.about__body {
	font-size: 16px;
	line-height: 1.5;
	color: var(--ab-dark);
	margin-bottom: 40px;
	max-width: 546px;
}

.about__body p {
	margin: 0;
}

.about__body p + p {
	margin-top: 16px;
}

/* ── Highlights (hardcoded) ───────────────────────────────────────────────── */
.about__highlights {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
}

.about__highlight {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ab-dark);
	white-space: nowrap;
}

.about__highlight-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ab-orange);
	flex-shrink: 0;
}

/* ── CTA Button ───────────────────────────────────────────────────────────── */
.about__cta {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	width: fit-content;
	gap: 8px;
	background: var(--ab-dark);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 9999px;
	padding: 10px 10px 10px 20px;
	transition: background 0.2s ease;
}

.about__cta:hover {
	background: #2a1f55;
	color: #fff !important;
}

.about__cta-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.5px;
	white-space: nowrap;
	line-height: 1;
}

.about__cta-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--ab-orange);
	border-radius: 50%;
	flex-shrink: 0;
	color: #fff;
}

/* ── Right Media (image + diamond accent) ─────────────────────────────────── */
.about__right {
	display: flex;
	justify-content: center;
}

.about__media {
	position: relative;
	width: 100%;
	max-width: 600px;
	aspect-ratio: 1 / 1;     /* square stage so the rotated diamond corners can show */
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Rotated orange square peeking out behind the photo */
.about__diamond {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 72%;
	aspect-ratio: 489 / 470;
	transform: translate(-50%, -50%) rotate(45deg);
	background: var(--ab-orange);
	opacity: 0.2;
	border-radius: var(--ab-radius);
	z-index: 0;
}

.about__img {
	position: relative;
	z-index: 1;
	width: 72%;
	aspect-ratio: 489 / 470;
	object-fit: cover;
	border-radius: var(--ab-radius);
	display: block;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
	.about__title {
		font-size: 46px;
		letter-spacing: -2px;
	}
}

@media (max-width: 991px) {
	.about {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.about__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.about__left {
		max-width: 100%;
	}

	.about__title {
		font-size: 40px;
	}

	.about__media {
		max-width: 480px;
		margin: 0 auto;
	}
}

@media (max-width: 575px) {
	.about__title {
		font-size: 32px;
		letter-spacing: -1.2px;
	}

	.about__highlights {
		gap: 12px 20px;
	}
}
