/**
 * About page styles — 변호사 소개
 *
 * @package AriawellTheme
 */

body:has(.about-page) {
	background: var(--fp-color-white);
	color: var(--fp-color-text);
}

/* ── Hero ── */
.about-hero {
	display: flex;
	justify-content: space-between;
	min-height: 848px;
	overflow: hidden;
	padding-block: 56px 0;
	position: relative;
}

.about-hero__band {
	background: #f9efe5;
	bottom: 0;
	height: 340px;
	left: 0;
	position: absolute;
	width: 100%;
	z-index: 0;
}

.about-hero__watermark {
	bottom: 58px;
	color: #EEDDCC;
	max-width: var(--aw-container-max-width);
	width: 100%;
	font-family: var(--fp-font-lora);
	font-size: clamp(72px, 10vw, 194px);
	font-weight: 400;
	bottom: -5%;
	left: 50%;
	transform: translateX(-50%);
	letter-spacing: -0.04em;
	line-height: 0.9;
	margin: 0;
	opacity: 0.5;
	pointer-events: none;
	position: absolute;
	white-space: nowrap;
	z-index: 1;
}

.about-hero__inner {
	align-items: flex-start;
	display: flex;
	gap: 40px;
	justify-content: space-between;
	min-height: 672px;
	position: relative;
	z-index: 2;
}

.about-hero__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 80px;
	max-width: 603px;
	padding-top: 54px;
}

.about-hero__title {
	color: var(--fp-color-text);
	font-family: var(--fp-font-serif);
	font-size: 42px;
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1.5;
	margin: 0;
	-webkit-text-stroke-width: 0.1px;
	-webkit-text-stroke-color: var(--fp-color-text);
}

.about-hero__profile {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.about-hero__intro {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.about-hero__name {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.about-hero__name-ko {
	color: #070b15;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	margin: 0;
}

.about-hero__name-role {
	color: #070b15;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.05em;
	line-height: normal;
	margin: 0;
}

.about-hero__credentials {
	color: var(--fp-color-text-sub2);
	font-size: 18px;
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.6;
	margin: 0;
}

.about-hero__contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.about-hero__contact li {
	align-items: center;
	display: flex;
	gap: 16px;
}

.about-hero__contact-icon {
	flex-shrink: 0;
	height: 18px;
	width: 18px;
}

.about-hero__contact-icon img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.about-hero__contact a {
	color: var(--fp-color-text-sub2);
	font-size: 20px;
	font-weight: 400;
	text-decoration: none;
}

.about-hero__contact a:hover {
	opacity: 0.75;
}

.about-hero__photo {
	align-self: flex-end;
	flex-shrink: 0;
	height: 672px;
	margin-top: 72px;
	position: relative;
	width: min(458px, 38vw);
}

.about-hero__photo img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	width: 100%;
}

.about-hero .fade-up--onload.is-visible {
	animation-duration: 1.4s;
}

.about-hero .fade-up--onload[data-fade-delay="1"].is-visible {
	animation-delay: 0.2s;
}

.about-hero .fade-up--onload[data-fade-delay="2"].is-visible {
	animation-delay: 0.4s;
}

/* ── Content ── */
.about-content {
	padding-block: 160px;
}

.about-content .container {
	display: flex;
	flex-direction: column;
	gap: 100px;
}

.about-block {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.about-block__title {
	border-bottom: 1px solid #dadee4;
	color: var(--fp-color-text);
	font-family: var(--fp-font-serif);
	font-size: 32px;
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.2;
	margin: 0;
	padding-bottom: 20px;
	-webkit-text-stroke-width: 0.1px;
	-webkit-text-stroke-color: var(--fp-color-text);
}

.about-block__body {
	color: var(--fp-color-text-sub1);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
}

.about-block__body--greeting p {
	margin: 0 0 1.6em;
}

.about-block__body--greeting p:last-child {
	margin-bottom: 0;
}

.about-block__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.about-block__list li {
	color: var(--fp-color-text-sub1);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	padding-left: 14px;
	position: relative;
}

.about-block__list li::before {
	background: var(--fp-color-text-sub1);
	border-radius: 50%;
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	top: 0.65em;
	width: 4px;
}

.about-block__career-row {
	align-items: flex-start;
	display: flex;
	gap: 40px;
}

.about-block__career-row .about-block__list {
	flex: 1;
	min-width: 0;
}

.about-block__certificate {
	flex-shrink: 0;
	margin: 0;
	width: min(126px, 38%);
	border: 1px solid #eee;
}

.about-block__certificate img {
	display: block;
	height: auto;
	width: 100%;
}

.about-grid {
	display: grid;
	gap: 100px 60px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
	.about-hero {
		min-height: 0;
		padding-block: 40px 0;
	}

	.about-hero__band {
		height: 280px;
	}

	.about-hero__watermark {
		bottom: 40px;
		font-size: clamp(56px, 12vw, 120px);
	}

	.about-hero__inner {
		min-height: 0;
	}

	.about-hero__content {
		gap: 50px;
		padding-top: 40px;
	}

	.about-hero__title {
		font-size: 44px;
	}

	.about-hero__name-ko {
		font-size: 32px;
	}

	.about-hero__name-role,
	.about-hero__credentials,
	.about-hero__contact a {
		font-size: 18px;
	}

	.about-hero__photo {
		height: auto;
		margin-top: 40px;
		max-height: 560px;
		width: min(360px, 42vw);
	}

	.about-content {
		padding-block: 120px;
	}

	.about-content .container {
		gap: 80px;
	}

	.about-grid {
		gap: 80px 40px;
	}

	.about-block__title {
		font-size: 22px;
	}

	.about-block__body,
	.about-block__list li {
		font-size: 18px;
	}

}

/* ── Mobile (≤767px) ── */
@media (max-width: 767px) {
	.about-hero {
		padding-block: 24px 0;
		padding-top: 64px;
	}

	.about-hero__band {
		height: 220px;
	}

	.about-hero__watermark {
		bottom: 24px;
		font-size: 56px;
		line-height: 0.95;
		white-space: normal;
	}

	.about-hero__inner {
		flex-direction: column;
		gap: 0;
	}

	.about-hero__content {
		gap: 40px;
		max-width: none;
		padding-top: 16px;
		width: 100%;
	}

	.about-hero__title {
		font-size: 32px;
	}

	.about-hero__name-ko {
		font-size: 28px;
	}

	.about-hero__name-role,
	.about-hero__credentials,
	.about-hero__contact a {
		font-size: 16px;
	}

	.about-hero__photo {
		align-self: flex-end;
		margin-top: 24px;
		max-height: 480px;
		width: min(280px, 78vw);
	}

	.about-content {
		padding-block: 80px;
	}

	.about-content .container {
		gap: 60px;
	}

	.about-grid {
		gap: 60px;
		grid-template-columns: 1fr;
	}

	.about-block__title {
		font-size: 20px;
		padding-bottom: 16px;
	}

	.about-block__body,
	.about-block__list li {
		font-size: 16px;
	}

	.about-block__career-row {
		flex-direction: column;
		gap: 24px;
	}

	.about-block__certificate {
		width: min(160px, 100%);
	}

}
