@charset "UTF-8";

/* ─── 히어로 ─── */
.mg-hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	overflow: hidden;
	display: flex;
	align-items: center;
	clip-path: circle(30% at 50% 100%);
	will-change: clip-path;
}

.mg-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.mg-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mg-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(12, 28, 14, 0.62);
}

.mg-hero-inner {
	position: relative;
	z-index: 2;
	padding: 0 80px;
	max-width: 900px;
}

.mg-hero-label {
	display: block;
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 24px;
}

.mg-hero-tit {
	font-family: "MaruBuri", serif;
	font-size: clamp(48px, calc(24px + 4vw), 96px);
	font-weight: 200;
	color: #fff;
	margin-bottom: 20px;
}

.mg-hero-sub {
	font-size: clamp(16px, calc(6px + 1.6vw), 22px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 56px;
}

.mg-hero-hint {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.mg-hint-text {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.4);
}

.mg-hint-line {
	width: 1px;
	height: 40px;
	background: rgba(255, 255, 255, 0.35);
	transform-origin: top;
	animation: mg-hint-pulse 1.8s ease-in-out infinite;
}

@keyframes mg-hint-pulse {
	0% {
		transform: scaleY(0);
		opacity: 0;
	}
	30% {
		opacity: 1;
	}
	100% {
		transform: scaleY(1);
		opacity: 0;
	}
}

/* ─── 분할 레이아웃 ─── */
.mg-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 48px;
	gap: 80px;
}

/* ─── 왼쪽: 텍스트 ─── */
.mg-split-left {
	padding: 48px 0 80px;
}

.mg-step {
	padding: 40px 0;
	border-top: 1px solid var(--color-border);
}

.mg-step:first-child {
	border-top: none;
	padding-top: 48px;
}

.mg-step-head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 8px;
}

/* 모바일 썸네일 — 데스크탑 숨김 */
.mg-step-thumb {
	display: none;
}

.mg-step-num {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: var(--color-text-muted);
}

.mg-step-tit {
	font-family: "MaruBuri", serif;
	font-size: clamp(22px, calc(12px + 1.6vw), 36px);
	font-weight: 300;
	color: var(--color-text-main);
}

.mg-step-desc {
	font-size: clamp(14px, calc(6px + 1.2vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: var(--color-text-muted);
	margin-bottom: 10px;
}

.mg-step-body {
	font-size: clamp(16px, calc(8px + 1.2vw), 20px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: var(--color-text-main);
	margin-bottom: 16px;
}

.mg-step-quote {
	display: block;
	font-family: "MaruBuri", serif;
	font-size: clamp(14px, calc(6px + 1.2vw), 18px);
	font-weight: 300;
	color: var(--color-text-muted);
	padding-left: 20px;
	border-left: 2px solid var(--color-border);
}

/* ─── 오른쪽: 스티키 이미지 ─── */
.mg-split-right {
	position: relative;
}

.mg-sticky-panel {
	position: sticky;
	top: 90px;
	height: calc(100vh - 140px);
	overflow: hidden;
}

.mg-sticky-img {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.7s ease;
}

.mg-sticky-img.is-active {
	opacity: 1;
}

.mg-sticky-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ─── 반응형 ─── */
@media (max-width: 999px) {
	.mg-split {
		gap: 48px;
		padding: 0 40px;
	}

	.mg-sticky-panel {
		top: 70px;
		height: calc(100vh - 110px);
	}

	.mg-hero-inner {
		padding: 0 40px;
	}
}

@media (max-width: 768px) {
	.mg-split {
		grid-template-columns: 1fr;
		padding: 0 24px;
		gap: 0;
	}

	.mg-split-right {
		display: none;
	}

	.mg-step-thumb {
		display: block;
		aspect-ratio: 16 / 9;
		overflow: hidden;
		border-radius: 12px;
		margin-bottom: 20px;
	}

	.mg-step-thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.mg-split-left {
		padding: 48px 0 80px;
	}

	.mg-step {
		padding: 40px 0;
	}

	.mg-hero-inner {
		padding: 0 24px;
	}

	.mg-hero-tit {
		margin-bottom: 14px;
	}

	.mg-hero-sub {
		margin-bottom: 36px;
	}
}

@media (max-width: 499px) {
	.mg-split {
		padding: 0 20px;
	}

	.mg-split-left {
		padding: 32px 0 60px;
	}

	.mg-step {
		padding: 32px 0;
	}

	.mg-hero-inner {
		padding: 0 20px;
	}
}
