/**
 * File: /main/living-systems/living-systems.css
 *
 * MICROBA Living Systems Page
 * Version: 1.1.0
 * Revision: 2026-07-25
 */

.mo-detail--living-systems {
	--mo-living-deep: #07100b;
	--mo-living-green: #233b2b;
	--mo-living-moss: #879274;
}

.mo-detail--living-systems .mo-living-hero {
	background-position: center center;
}

.mo-detail--living-systems .mo-living-hero::after {
	background:
		linear-gradient(90deg, rgba(3, 10, 6, .88) 0%, rgba(3, 10, 6, .60) 38%, rgba(3, 10, 6, .12) 78%, rgba(3, 10, 6, .03) 100%),
		linear-gradient(180deg, rgba(3, 10, 6, .08), rgba(3, 10, 6, .82));
}

.mo-detail--living-systems .mo-living-hero__content {
	max-width: 920px;
}

.mo-detail--living-systems .mo-living-hero__content h1 {
	max-width: 900px;
	font-size: clamp(3.7rem, 7.4vw, 7.4rem);
	text-shadow: 0 5px 30px rgba(0, 0, 0, .4);
}

.mo-living-hero__lead {
	max-width: 660px;
	margin: 30px 0 0;
	color: rgba(241, 236, 225, .82);
	font-size: clamp(1.05rem, 1.7vw, 1.3rem);
	line-height: 1.7;
}

.mo-detail--living-systems .mo-living-story__media {
	background-position: center;
}

.mo-detail--living-systems .mo-detail__story-copy h2 {
	font-size: clamp(2.7rem, 4.6vw, 4.8rem);
}

.mo-detail--living-systems .mo-detail__story-copy p + p {
	margin-top: 18px;
}

.mo-detail--living-systems .mo-living-principles {
	background:
		radial-gradient(circle at 12% 8%, rgba(128, 147, 105, .14), transparent 30%),
		var(--mo-detail-cream);
}

.mo-detail--living-systems .mo-detail__card {
	position: relative;
	overflow: hidden;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.mo-detail--living-systems .mo-detail__card::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--mo-detail-gold), transparent);
	opacity: .55;
}

.mo-detail--living-systems .mo-detail__card:hover {
	transform: translateY(-5px);
	border-color: rgba(111, 86, 39, .48);
	box-shadow: 0 24px 55px rgba(50, 55, 42, .12);
}

.mo-detail--living-systems .mo-living-quote {
	position: relative;
	isolation: isolate;
	min-height: clamp(620px, 70vw, 860px);
	display: grid;
	align-items: center;
	padding-block: clamp(100px, 13vw, 170px);
	background:
		var(--mo-detail-cta-image),
		var(--mo-living-deep);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	text-align: left;
}

.mo-detail--living-systems .mo-living-quote::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(4, 12, 7, .86) 0%, rgba(4, 12, 7, .64) 36%, rgba(4, 12, 7, .18) 68%, rgba(4, 12, 7, .04) 100%),
		linear-gradient(180deg, rgba(4, 12, 7, .05), rgba(4, 12, 7, .32));
}

.mo-detail--living-systems .mo-living-quote__inner {
	display: flex;
	justify-content: flex-start;
}

.mo-detail--living-systems .mo-living-quote blockquote {
	max-width: 760px;
	margin: 0;
	padding: clamp(26px, 3vw, 44px);
	border: 1px solid rgba(199, 164, 90, .18);
	background: rgba(4, 12, 7, .18);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	font-size: clamp(2.55rem, 4.8vw, 5rem);
	text-shadow: 0 4px 24px rgba(0, 0, 0, .68);
}

.mo-detail--living-systems .mo-living-cta {
	background:
		radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .36), transparent 36%),
		#d9cfb9;
}

.mo-detail--living-systems .mo-living-cta .mo-detail__eyebrow {
	margin-bottom: 20px;
	color: #80652e;
}

@media (max-width: 900px) {
	.mo-detail--living-systems .mo-living-hero::after {
		background:
			linear-gradient(90deg, rgba(3, 10, 6, .85), rgba(3, 10, 6, .28) 82%),
			linear-gradient(180deg, rgba(3, 10, 6, .06), rgba(3, 10, 6, .8));
	}

	.mo-detail--living-systems .mo-living-quote::before {
		background: linear-gradient(180deg, rgba(4, 12, 7, .16), rgba(4, 12, 7, .72));
	}

	.mo-detail--living-systems .mo-living-quote__inner {
		justify-content: center;
	}

	.mo-detail--living-systems .mo-living-quote blockquote {
		max-width: 800px;
		text-align: center;
	}
}

@media (max-width: 620px) {
	.mo-detail--living-systems .mo-living-hero {
		background-position: 60% center;
	}

	.mo-detail--living-systems .mo-living-hero::after {
		background: linear-gradient(180deg, rgba(3, 10, 6, .26), rgba(3, 10, 6, .94));
	}

	.mo-detail--living-systems .mo-living-hero__content h1 {
		font-size: clamp(3.15rem, 14vw, 4.8rem);
	}

	.mo-living-hero__lead {
		font-size: 1rem;
	}

	.mo-detail--living-systems .mo-living-quote {
		min-height: 650px;
		background-position: 66% center;
	}

	.mo-detail--living-systems .mo-living-quote blockquote {
		padding: 24px 18px;
		font-size: clamp(2.3rem, 10.8vw, 3.65rem);
	}
}
