﻿@charset "utf-8";

/* ============================================================
	msub11 — 포토에세이 (대형 이미지 + 스크롤 텍스트 오버레이)
	============================================================ */

/* ============================================================
	진행 바
	============================================================ */
.pe-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0%;
	background: var(--color-primary, #3b82f6);
	z-index: 9999;
	transition: width 0.1s linear;
}

/* ============================================================
	히어로
	============================================================ */
.pe-hero {
	position: relative;
	height: 100vh;
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.pe-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
	clip-path: inset(0 100% 0 0);
	will-change: clip-path, transform;
}

.pe-hero-bg.is-revealed {
	clip-path: inset(0 0% 0 0);
	transition: clip-path 1.4s cubic-bezier(0.77, 0, 0.18, 1);
}

.pe-hero-dim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.65) 100%);
	z-index: 1;
}

.pe-hero-inner {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	padding: 0 24px;
}

.pe-hero-cat {
	font-size: clamp(12px, calc(8px + 0.6vw), 16px);
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(12px);
	margin-bottom: 20px;
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}

.pe-hero-tit {
	font-family: "GMarketSans", sans-serif;
	font-size: clamp(36px, calc(24px + 3vw), 80px);
	font-weight: 700;
	margin-bottom: 20px;
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.75s ease 0.18s,
		transform 0.75s ease 0.18s;
}

.pe-hero-sub {
	font-size: clamp(16px, calc(12px + 0.6vw), 20px);
	font-weight: 300;
	opacity: 0;
	transform: translateY(12px);
	transition:
		opacity 0.75s ease 0.34s,
		transform 0.75s ease 0.34s;
}

.pe-hero.is-init .pe-hero-cat {
	opacity: 0.65;
	transform: none;
}
.pe-hero.is-init .pe-hero-tit {
	opacity: 1;
	transform: none;
}
.pe-hero.is-init .pe-hero-sub {
	opacity: 0.7;
	transform: none;
}

/* 스크롤 인디케이터 */
.pe-hero-scroll {
	position: absolute;
	bottom: 36px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	opacity: 0;
	transition: opacity 0.8s ease 1.2s;
	pointer-events: none;
}

.pe-hero.is-init .pe-hero-scroll {
	opacity: 0.6;
}

.pe-hero-scroll__mouse {
	width: 22px;
	height: 34px;
	border: 2px solid rgba(255, 255, 255, 0.7);
	border-radius: 11px;
	display: flex;
	justify-content: center;
	padding-top: 6px;
}

.pe-hero-scroll__wheel {
	width: 3px;
	height: 6px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 2px;
	animation: pe-scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes pe-scroll-wheel {
	0%,
	100% {
		transform: translateY(0);
		opacity: 1;
	}
	60% {
		transform: translateY(8px);
		opacity: 0;
	}
}

.pe-hero-scroll__text {
	font-size: 11px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
	인트로 텍스트
	============================================================ */
.pe-intro {
	background: var(--color-bg-main, #fff);
	padding: 80px 24px;
}

.pe-intro-inner {
	max-width: 640px;
	margin: 0 auto;
}

.pe-intro-inner p {
	font-size: clamp(18px, calc(14px + 0.5vw), 22px);
	color: var(--color-text-sub, #6b7280);
	word-break: keep-all;
	margin-bottom: 24px;
}

.pe-intro-inner p:last-child {
	margin-bottom: 0;
}

/* ============================================================
	패널 (대형 이미지 + 텍스트 오버레이)
	============================================================ */
.pe-panels-wrap {
	padding: 48px 0;
	background: var(--color-bg-main, #fff);
	display: flex;
	flex-direction: column;
}

.pe-panel {
	position: relative;
	height: 66vh;
	min-height: 380px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}

.pe-panel--short {
	height: 52vh;
	min-height: 300px;
}

.pe-panel--dark {
	align-items: center;
	justify-content: center;
}

/* 배경 이미지 */
.pe-panel-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
	will-change: transform;
}

/* 오버레이 */
.pe-panel-dim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.pe-panel-dim--bottom {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
}

.pe-panel-dim--full {
	background: rgba(0, 0, 0, 0.55);
}

/* 텍스트 블록 공통 */
.pe-panel-txt {
	position: relative;
	z-index: 2;
	padding: 36px 48px;
	color: #fff;
	max-width: 520px;
	opacity: 0;
	will-change: opacity, transform;
}

.pe-panel-txt--left {
	align-self: flex-end;
	margin-right: auto;
}

.pe-panel-txt--right {
	align-self: flex-end;
	margin-left: auto;
	text-align: right;
}

.pe-panel-txt--center {
	align-self: center;
	margin: 0 auto;
	text-align: center;
	max-width: 680px;
}

/* 패널 번호 */
.pe-panel-num {
	display: block;
	font-family: "GMarketSans", "Roboto", sans-serif;
	font-size: clamp(11px, calc(9px + 0.3vw), 14px);
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 14px;
}

/* 패널 제목 */
.pe-panel-heading {
	font-family: "GMarketSans", sans-serif;
	font-size: clamp(24px, calc(16px + 1.5vw), 44px);
	font-weight: 700;
	margin-bottom: 18px;
	word-break: keep-all;
}

/* 패널 본문 */
.pe-panel-desc {
	font-size: clamp(15px, calc(12px + 0.5vw), 18px);
	color: rgba(255, 255, 255, 0.82);
	word-break: keep-all;
}

/* ============================================================
	풀 쿼트
	============================================================ */
.pe-quote {
	background: var(--color-bg-inverse, #111827);
	padding: 120px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pe-quote-inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.pe-quote-block {
	margin: 0;
}

.pe-quote-text {
	font-family: "GMarketSans", sans-serif;
	font-size: clamp(22px, calc(14px + 1.5vw), 40px);
	font-weight: 700;
	color: #fff;
	word-break: keep-all;
	margin-bottom: 28px;
	opacity: 0;
	transform: translateY(20px);
	will-change: opacity, transform;
}

.pe-quote-text.is-visible {
	opacity: 1;
	transform: none;
	transition:
		opacity 0.9s ease,
		transform 0.9s ease;
}

.pe-quote-cite {
	display: block;
	font-size: clamp(14px, calc(11px + 0.4vw), 18px);
	color: rgba(255, 255, 255, 0.45);
	font-style: normal;
	opacity: 0;
	transition: opacity 0.9s ease 0.3s;
}

.pe-quote-cite.is-visible {
	opacity: 1;
}

/* ============================================================
	브리지 텍스트
	============================================================ */
.pe-bridge {
	background: var(--color-bg-main, #fff);
	padding: 80px 24px;
	border-top: 1px solid var(--color-border, #eee);
}

.pe-bridge-inner {
	max-width: 640px;
	margin: 0 auto;
}

.pe-bridge-inner p {
	font-size: clamp(15px, calc(12px + 0.4vw), 18px);
	color: var(--color-text-sub, #6b7280);
	word-break: keep-all;
	margin-bottom: 16px;
}

.pe-bridge-credit {
	margin-top: 32px;
	font-size: clamp(13px, calc(11px + 0.3vw), 16px);
	color: var(--color-text-muted, #9ca3af);
}

/* ============================================================
	반응형 — 999px 이하
	============================================================ */
@media all and (max-width: 999px) {
	.pe-panels-wrap {
		padding-top: 32px;
	}

	.pe-intro {
		padding: 60px 24px;
	}

	.pe-panel-txt {
		padding: 28px 24px;
		max-width: 100%;
	}

	.pe-quote {
		padding: 80px 24px;
	}

	.pe-bridge {
		padding: 60px 24px;
	}
}

/* ============================================================
	반응형 — 768px 이하
	============================================================ */
@media all and (max-width: 768px) {
	.pe-hero {
		min-height: 480px;
	}

	.pe-panels-wrap {
		padding-top: 24px;
	}

	.pe-panel {
		height: 56vh;
		min-height: 280px;
	}

	.pe-panel--short {
		height: 44vh;
		min-height: 240px;
	}

	.pe-panel-txt--right {
		text-align: left;
		margin-left: 0;
	}

	.pe-quote {
		padding: 60px 20px;
	}

	.pe-intro {
		padding: 48px 20px;
	}

	.pe-bridge {
		padding: 48px 20px;
	}
}

/* ============================================================
	반응형 — 499px 이하
	============================================================ */
@media all and (max-width: 499px) {
	.pe-panel {
		height: 52vh;
		min-height: 240px;
	}

	.pe-panel-txt {
		padding: 22px 18px;
	}
}
