/* Homepage story — independent editorial composition. */
body.home .luna-home-story {
	--story-green: var(--luna-theme-cta-bg, #d4dac5);
	--story-green-ink: var(--luna-theme-cta-text, #505f29);
	--story-ink: #273247;
	--story-muted: #726e75;
	position: relative;
	isolation: isolate;
	padding: clamp(58px, 8vw, 120px) 24px;
	overflow: clip;
}

body.home .luna-home-story::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: min(720px, 58vw);
	aspect-ratio: 1;
	top: -34%;
	left: -16%;
	border-radius: 50%;
	background: color-mix(in srgb, var(--story-green) 28%, transparent);
	filter: blur(4px);
}

body.home .luna-home-story__shell {
	width: min(1320px, 100%);
	margin-inline: auto;
	border: 1px solid rgba(255,255,255,.94);
	border-radius: 42px;
	background: rgba(255,252,249,.74);
	backdrop-filter: blur(24px) saturate(120%);
	overflow: hidden;
}

body.home .luna-home-story__main {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(250px, .5fr) minmax(320px, .72fr);
	min-height: 570px;
}

body.home .luna-home-story__copy {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(50px, 6vw, 86px);
	background:
		radial-gradient(circle at 94% 8%, color-mix(in srgb, var(--story-green) 40%, transparent), transparent 26%),
		linear-gradient(130deg, rgba(255,255,255,.7), transparent 60%);
}

body.home .luna-home-story__copy::after {
	content: "";
	position: absolute;
	top: 9%;
	left: 0;
	width: 1px;
	height: 82%;
	background: linear-gradient(transparent, color-mix(in srgb, var(--story-green-ink) 24%, transparent), transparent);
}

body.home .luna-home-story__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 25px;
}

body.home .luna-home-story__number {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 15px;
	background: var(--story-green);
	color: var(--story-green-ink);
	font-size: 12px;
	font-weight: 900;
	box-shadow: 0 12px 28px color-mix(in srgb, var(--story-green) 44%, transparent);
}

body.home .luna-home-story__eyebrow {
	color: var(--story-green-ink) !important;
	font-size: 12px !important;
	font-weight: 800 !important;
}

body.home .luna-home-story__title {
	/* max-width: 15ch; */
	margin: 0 0 24px;
	font-family: inherit;
	line-height: 1.32;
	/* letter-spacing: -.055em; */
	text-wrap: balance;
}

body.home .luna-home-story__title span,
body.home .luna-home-story__title em {
	display: block;
	font-size: clamp(2.1rem, 3.35vw, 3.45rem) !important;
	font-weight: 900 !important;
}

body.home .luna-home-story__title span { color: var(--story-ink) !important; }
body.home .luna-home-story__title em {
	margin-top: 2px;
	color: var(--story-green-ink) !important;
	font-style: normal;
}

body.home .luna-home-story__body {
	max-width: 58ch;
	margin: 0;
	color: var(--story-muted) !important;
	font-size: clamp(14px, 1.08vw, 16px) !important;
	line-height: 2.15 !important;
}

body.home .luna-home-story__link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: fit-content;
	min-height: 52px;
	margin-top: 30px;
	padding: 5px 18px 5px 5px;
	border-radius: 999px;
	background: var(--story-green);
	color: var(--story-green-ink) !important;
	font-size: 13px !important;
	font-weight: 850 !important;
	box-shadow: 0 16px 36px color-mix(in srgb, var(--story-green) 42%, transparent);
	transition: transform .25s ease, box-shadow .25s ease;
}

body.home .luna-home-story__link b {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255,255,255,.78);
	font-size: 17px;
	transition: transform .25s ease;
}

body.home .luna-home-story__link:hover {
	transform: translateY(-3px);
	box-shadow: 0 23px 44px color-mix(in srgb, var(--story-green) 52%, transparent);
}

body.home .luna-home-story__link:hover b { transform: translateX(-3px); }

body.home .luna-home-story__visual {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--story-green) 36%, white), color-mix(in srgb, var(--story-green) 68%, white));
	overflow: hidden;
}

body.home .luna-home-story__visual::before {
	content: "";
	position: absolute;
	inset: 18px;
	border: 1px solid rgba(255,255,255,.56);
	border-radius: 120px 120px 28px 28px;
}

body.home .luna-home-story__moon {
	position: relative;
	z-index: 2;
	display: block;
	width: clamp(108px, 11vw, 152px);
	aspect-ratio: 1;
	margin-bottom: 28px;
	border: 1px solid rgba(255,255,255,.8);
	border-radius: 50%;
	background:
		radial-gradient(circle at 30% 24%, rgba(255,255,255,.88), transparent 24%),
		linear-gradient(145deg, #fefcf8, color-mix(in srgb, var(--story-green) 50%, white));
	box-shadow:
		0 0 0 18px rgba(255,255,255,.24),
		0 28px 58px color-mix(in srgb, var(--story-green-ink) 16%, transparent);
	animation: homeStoryMoon 5.8s ease-in-out infinite;
}

body.home .luna-home-story__moon i {
	position: absolute;
	top: 25%;
	right: 22%;
	width: 18%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: color-mix(in srgb, var(--story-green) 62%, transparent);
	box-shadow: -34px 42px 0 -3px color-mix(in srgb, var(--story-green) 44%, transparent), 22px 52px 0 -5px color-mix(in srgb, var(--story-green) 38%, transparent);
}

body.home .luna-home-story__orbit {
	position: absolute;
	left: 50%;
	top: 44%;
	border: 1px dashed color-mix(in srgb, var(--story-green-ink) 22%, transparent);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

body.home .luna-home-story__orbit.orbit-one { width: 230px; height: 230px; }
body.home .luna-home-story__orbit.orbit-two { width: 310px; height: 310px; opacity: .55; }

body.home .luna-home-story__visual strong {
	position: relative;
	z-index: 2;
	color: var(--story-green-ink);
	font-family: Georgia, serif;
	font-size: 26px;
	font-weight: 500;
	letter-spacing: .2em;
}

body.home .luna-home-story__visual small {
	position: relative;
	z-index: 2;
	margin-top: 6px;
	color: color-mix(in srgb, var(--story-green-ink) 68%, transparent);
	font-size: 9px;
	font-weight: 750;
	letter-spacing: .3em;
}

body.home .luna-home-story__manifesto {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(34px, 4vw, 54px);
	color: #fff;
	background:
		radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--story-green) 34%, transparent), transparent 28%),
		#273247;
	overflow: hidden;
}

body.home .luna-home-story__manifesto::before {
	content: "L";
	position: absolute;
	top: -38px;
	left: -14px;
	color: rgba(255,255,255,.045);
	font-family: Georgia, serif;
	font-size: 260px;
	line-height: 1;
}

body.home .luna-home-story__manifesto-head {
	position: absolute;
	top: 38px;
	right: 40px;
	left: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

body.home .luna-home-story__manifesto-head span {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--story-green);
	color: var(--story-green-ink);
	font-size: 18px;
}

body.home .luna-home-story__manifesto-head small {
	color: color-mix(in srgb, var(--story-green) 78%, white) !important;
	font-size: 11px !important;
	font-weight: 750 !important;
}

body.home .luna-home-story__manifesto h3 {
	position: relative;
	z-index: 1;
	max-width: 19ch;
	margin: 0 0 14px;
	color: #fff !important;
	font-family: inherit;
	font-size: clamp(1.25rem, 1.65vw, 1.65rem) !important;
	font-weight: 850 !important;
	line-height: 1.55;
}

body.home .luna-home-story__manifesto > p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: rgba(255,255,255,.66) !important;
	font-size: 13px !important;
	line-height: 2 !important;
}

body.home .luna-home-story__manifesto-line {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 26px;
}

body.home .luna-home-story__manifesto-line span {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--story-green) 56%, transparent));
}

body.home .luna-home-story__manifesto-line b {
	color: var(--story-green);
	font-size: 10px;
	font-weight: 750;
}

body.home .luna-home-story__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid rgba(80,95,41,.1);
	background: rgba(255,255,255,.36);
}

body.home .luna-home-story .home-story-stat {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 18px;
	align-items: center;
	min-width: 0;
	min-height: 148px;
	padding: 26px 30px;
	border: 0;
	border-inline-start: 1px solid rgba(80,95,41,.1);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.home .luna-home-story .home-story-stat:last-child { border-inline-start: 0; }
body.home .luna-home-story .home-story-stat::before { display: none; }

body.home .luna-home-story .about-stat-index {
	display: grid;
	grid-row: 1 / 3;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--story-green) 42%, white);
	color: var(--story-green-ink);
	font-size: 10px;
	font-weight: 850;
}

body.home .luna-home-story .home-story-stat strong {
	margin: 0 0 5px;
	color: var(--story-green-ink) !important;
	font-family: inherit;
	font-size: clamp(1.25rem, 1.8vw, 1.8rem) !important;
	font-weight: 950 !important;
}

body.home .luna-home-story .home-story-stat .about-stat-label {
	color: var(--story-muted) !important;
	font-size: 11px !important;
	line-height: 1.75 !important;
}

@keyframes homeStoryMoon {
	0%, 100% { transform: translateY(0) rotate(0); }
	50% { transform: translateY(-9px) rotate(2deg); }
}

@media (max-width: 1120px) {
	body.home .luna-home-story__main {
		grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
	}
	body.home .luna-home-story__visual { display: none; }
}

/* Compact landscape/laptop composition for short 13-inch viewports. */
@media (min-width: 821px) and (max-height: 850px) {
	body.home .luna-home-story {
		padding-block: clamp(26px, 4vh, 42px);
	}

	body.home .luna-home-story__main {
		min-height: clamp(420px, 57vh, 500px);
	}

	body.home .luna-home-story__copy {
		padding: clamp(36px, 4.5vw, 58px);
	}

	body.home .luna-home-story__meta {
		margin-bottom: 16px;
	}

	body.home .luna-home-story__title {
		margin-bottom: 16px;
	}

	body.home .luna-home-story__title span,
	body.home .luna-home-story__title em {
		font-size: clamp(1.85rem, 2.8vw, 2.8rem) !important;
	}

	body.home .luna-home-story__body {
		font-size: 13px !important;
		line-height: 1.95 !important;
	}

	body.home .luna-home-story__link {
		min-height: 46px;
		margin-top: 20px;
	}

	body.home .luna-home-story__link b {
		width: 36px;
		height: 36px;
	}

	body.home .luna-home-story__moon {
		width: clamp(92px, 9vw, 124px);
		margin-bottom: 20px;
	}

	body.home .luna-home-story__orbit.orbit-one { width: 190px; height: 190px; }
	body.home .luna-home-story__orbit.orbit-two { width: 250px; height: 250px; }

	body.home .luna-home-story__manifesto {
		padding: 34px;
	}

	body.home .luna-home-story__manifesto-head {
		top: 26px;
		right: 30px;
		left: 30px;
	}

	body.home .luna-home-story__manifesto h3 {
		font-size: 1.2rem !important;
		line-height: 1.45;
	}

	body.home .luna-home-story__manifesto > p {
		font-size: 12px !important;
		line-height: 1.8 !important;
	}

	body.home .luna-home-story__manifesto-line {
		margin-top: 16px;
	}

	body.home .luna-home-story .home-story-stat {
		min-height: 108px;
		padding: 18px 22px;
	}

	body.home .luna-home-story .about-stat-index {
		width: 36px;
		height: 36px;
	}

	body.home .luna-home-story .home-story-stat strong {
		font-size: 1.25rem !important;
	}

	body.home .luna-home-story .home-story-stat .about-stat-label {
		font-size: 10px !important;
		line-height: 1.55 !important;
	}
}

@media (max-width: 820px) {
	body.home .luna-home-story { padding: 40px 14px 64px; }
	body.home .luna-home-story__shell { border-radius: 30px; }
	body.home .luna-home-story__main { grid-template-columns: 1fr; min-height: 0; }
	body.home .luna-home-story__copy {
		min-height: 560px;
		padding: 92px 28px 46px;
	}
	body.home .luna-home-story__copy::after { display: none; }
	body.home .luna-home-story__manifesto { min-height: 390px; padding: 110px 28px 38px; }
	body.home .luna-home-story__manifesto-head { top: 30px; right: 28px; left: 28px; }
	body.home .luna-home-story__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.home .luna-home-story .home-story-stat {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 7px;
		min-height: 158px;
		padding: 18px 12px;
		border-top: 0;
		border-inline-start: 1px solid rgba(80,95,41,.1);
	}
	body.home .luna-home-story .home-story-stat:last-child { border-inline-start: 0; }
	body.home .luna-home-story .about-stat-index {
		width: 32px;
		height: 32px;
		flex: 0 0 auto;
	}
	body.home .luna-home-story .home-story-stat strong {
		margin: 0;
		font-size: clamp(1rem, 5vw, 1.3rem) !important;
	}
	body.home .luna-home-story .home-story-stat .about-stat-label {
		display: -webkit-box;
		overflow: hidden;
		font-size: 9px !important;
		line-height: 1.55 !important;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 4;
	}
}

@media (max-width: 480px) {
	body.home .luna-home-story__copy { min-height: 0; padding: 78px 20px 36px; }
	body.home .luna-home-story__meta { margin-bottom: 20px; }
	body.home .luna-home-story__title span,
	body.home .luna-home-story__title em { font-size: clamp(1.65rem, 8.2vw, 2.15rem) !important; }
	body.home .luna-home-story__body { font-size: 13px !important; }
	body.home .luna-home-story__link { width: 100%; }
	body.home .luna-home-story__manifesto { min-height: 360px; padding-inline: 20px; }
	body.home .luna-home-story .home-story-stat { min-height: 150px; padding: 16px 9px; }
}

@media (prefers-reduced-motion: reduce) {
	body.home .luna-home-story__moon { animation: none; }
	body.home .luna-home-story__link,
	body.home .luna-home-story__link b { transition: none; }
}
