﻿@charset "utf-8";

/* ============================================================
	msub07 — 인터뷰 Q&A
	인물 사진 Sticky + Q&A 스크롤
	============================================================ */

/* ============================================================
	서브 비주얼
	============================================================ */
.intv-hero {
	position: relative;
	height: 72vh;
	min-height: 480px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.intv-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
	z-index: 0;
}

.intv-hero-dim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.18) 60%, transparent 100%);
	z-index: 1;
}

.intv-hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1599px;
	margin: 0 auto;
	padding: 0 60px 56px;
	color: #fff;
}

.intv-hero-cat {
	font-size: 16px;
	text-transform: uppercase;
	opacity: 0.6;
	margin-bottom: 16px;
}

.intv-hero-tit {
	font-family: "GMarketSans", sans-serif;
	font-size: clamp(28px, 4vw, 52px);
	font-weight: 700;
	margin-bottom: 14px;
}

.intv-hero-name {
	font-size: clamp(16px, 1.2vw, 18px);
	opacity: 0.65;
}

/* ── 서브비주얼 진입 애니메이션 ── */
.intv-hero-bg {
	will-change: transform;
}

.intv-hero-cat,
.intv-hero-tit,
.intv-hero-name {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.75s ease,
		transform 0.75s ease;
}

.intv-hero.is-init .intv-hero-cat {
	opacity: 0.6;
	transform: none;
	transition-delay: 0.1s;
}

.intv-hero.is-init .intv-hero-tit {
	opacity: 1;
	transform: none;
	transition-delay: 0.26s;
}

.intv-hero.is-init .intv-hero-name {
	opacity: 0.65;
	transform: none;
	transition-delay: 0.4s;
}

/* ============================================================
	인터뷰이 프로필 바
	============================================================ */
.intv-profile-bar {
	border-top: 1px solid var(--color-border, #eee);
	border-bottom: 1px solid var(--color-border, #eee);
	padding: 32px 60px;
	max-width: 1599px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 48px;
}

.intv-profile-name {
	font-family: "GMarketSans", sans-serif;
	font-size: clamp(22px, 2.5vw, 34px);
	font-weight: 700;
	white-space: nowrap;
}

.intv-profile-divider {
	width: 1px;
	height: 48px;
	background: var(--color-border, #eee);
	flex-shrink: 0;
}

.intv-profile-info {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.intv-profile-role {
	font-size: 16px;
	text-transform: uppercase;
	color: var(--color-text-muted, #9ca3af);
}

.intv-profile-desc {
	font-size: 16px;
	color: var(--color-text-sub, #666);
	max-width: 560px;
}

/* ============================================================
	인터뷰 본문 — 2단 레이아웃
	============================================================ */
.intv-wrap {
	max-width: 1599px;
	margin: 0 auto;
	padding: 64px 60px 80px;
	display: flex;
	gap: 80px;
	align-items: flex-start;
}

/* 왼쪽: sticky 인물 사진 */
.intv-portrait-wrap {
	width: 320px;
	flex-shrink: 0;
	position: sticky;
	top: 110px;
}

.intv-portrait-img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
}

.intv-portrait-caption {
	margin-top: 16px;
	font-size: 14px;
	color: var(--color-text-muted, #9ca3af);
}

.intv-portrait-caption strong {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: var(--color-text-main, #111);
	margin-bottom: 2px;
}

/* 오른쪽: Q&A 스크롤 영역 */
.intv-content {
	flex: 1;
	min-width: 0;
}

.intv-intro {
	font-size: clamp(16px, 1.2vw, 18px);
	color: var(--color-text-sub, #666);
	padding-bottom: 48px;
	border-bottom: 1px solid var(--color-border, #eee);
	margin-bottom: 48px;
}

/* ============================================================
	Q&A 아이템
	============================================================ */
.intv-qa-list {
	display: flex;
	flex-direction: column;
	counter-reset: qa-num;
}

.intv-qa {
	counter-increment: qa-num;
	padding: 48px 0;
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.65s ease,
		transform 0.65s ease;
}

.intv-qa:first-child {
	padding-top: 0;
}

.intv-qa:last-child {
	padding-bottom: 0;
}

.intv-qa + .intv-qa {
	border-top: 1px solid var(--color-border, #eee);
}

/* 번호 카운터 */
.intv-qa::before {
	content: "0" counter(qa-num);
	display: block;
	font-size: 11px;
	font-family: "GMarketSans", sans-serif;
	color: var(--color-text-muted, #9ca3af);
	margin-bottom: 20px;
}

.intv-qa.is-visible {
	opacity: 1;
	transform: none;
}

/* Q */
.intv-q {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 22px;
}

.intv-q-mark {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--color-primary, #3b82f6);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 800;
}

.intv-q-text {
	font-size: clamp(16px, 1.35vw, 20px);
	font-weight: 700;
	border-left: 2.5px solid var(--color-primary, #3b82f6);
	padding-left: 14px;
	margin: 2px 0;
}

/* A */
.intv-a {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.intv-a-mark {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid var(--color-border-strong, #d1d5db);
	color: var(--color-text-muted, #9ca3af);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	margin-top: 2px;
}

.intv-a-text {
	font-size: clamp(16px, 1.15vw, 17px);
	color: var(--color-text-sub, #666);
}

/* ============================================================
	아웃트로 섹션
	============================================================ */
.intv-outro {
	border-top: 1px solid var(--color-border, #eee);
	background: var(--color-bg-main, #fff);
	padding: 80px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 44px;
}

.intv-outro-label {
	font-size: 16px;
	text-transform: uppercase;
	color: var(--color-text-muted, #bbb);
}

.intv-outro-tit {
	font-family: "GMarketSans", sans-serif;
	font-size: clamp(26px, 3.5vw, 46px);
	font-weight: 700;
}

.intv-outro-links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	justify-content: center;
}

.intv-outro-link {
	display: flex;
	flex-direction: column;
	width: 200px;
	gap: 10px;
	text-align: left;
	transition: opacity 0.2s;
}

.intv-outro-link:hover {
	opacity: 0.72;
}

.intv-outro-link .img-box {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.intv-outro-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.intv-outro-link:hover img {
	transform: scale(1.06);
}

.intv-outro-link .link-cate {
	font-size: 14px;
	text-transform: uppercase;
	color: var(--color-text-muted, #bbb);
}

.intv-outro-link .link-tit {
	font-size: 16px;
	font-weight: 500;
}

/* ============================================================
	반응형 — 999px 이하
	============================================================ */
@media all and (max-width: 999px) {
	.intv-hero-inner {
		padding: 0 24px 40px;
	}

	.intv-profile-bar {
		padding: 24px;
		gap: 24px;
		flex-wrap: wrap;
	}

	.intv-profile-divider {
		display: none;
	}

	.intv-wrap {
		flex-direction: column;
		padding: 40px 24px 60px;
		gap: 40px;
	}

	/* 모바일: sticky 해제, 가로 레이아웃으로 전환 */
	.intv-portrait-wrap {
		position: static;
		width: 100%;
		display: flex;
		gap: 20px;
		align-items: center;
	}

	.intv-portrait-img {
		width: 120px;
		height: 120px;
		aspect-ratio: unset;
		border-radius: 50%;
		object-position: center top;
	}

	.intv-portrait-caption {
		margin-top: 0;
		flex: 1;
	}

	.intv-outro-links {
		gap: 16px;
	}

	.intv-outro-link {
		width: 150px;
	}
}

@media all and (max-width: 480px) {
	.intv-hero {
		height: 60vh;
	}

	.intv-outro-link {
		width: calc(33.333% - 10px);
		min-width: 90px;
	}

	.intv-outro-links {
		width: 100%;
		gap: 10px;
	}
}
