@charset "utf-8";

/* ============================================================
 * 대성테크윈 - 회사소개 (ok1) Renewal CSS
 * - 원본: 리뉴얼/sub04.php 의 <style> 영역
 * - 글로벌 헤더/푸터/모바일메뉴/skip-link/scroll-progress CSS 는 제거 (head.php/tail.php 가 담당)
 * - 모든 셀렉터는 .about-page 래퍼로 격리하여 다른 페이지에 영향 없음
 * (단, body.header-hidden 같은 글로벌 토글 상태는 글로벌 셀렉터로 유지)
 * ============================================================ */

/* ============================================================
 * ★ Heading Reset (bootstrap 의 h1~h6 margin 무력화)
 * ============================================================ */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { margin-top: 0; margin-bottom: 0; }

/* ==========================================
   1. Common — Container / Utility
========================================== */
.about-page { color: var(--on-surface, #0F172A); }

/* ★ 풀폭 wrapper 트릭 — 아미나 .at-container { max-width:1700px } 의 너비 제한에서 벗어나
   sub-page-header / hero-pin-sec / sticky-tab / content-section 이 viewport 전폭으로 펼쳐지게.
   (내부 .container 가 max-width 와 좌우 padding 을 담당하므로 콘텐츠 정렬에는 영향 없음) */
.about-page .sub-page-header,
.about-page .hero-pin-sec,
.about-page .sticky-tab-wrap,
.about-page .content-section {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.about-page .container {
	max-width: var(--site-width, 1760px) !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 1.25rem !important;
	box-sizing: border-box !important;
}
@media (min-width: 768px)  { 
	.about-page .container { padding: 0 2.5rem !important; } 
}
@media (min-width: 1024px) { 
	.about-page .container { padding: 0 5rem !important; } 
}
@media (min-width: 1440px) { 
	.about-page .container { padding: 0 7rem !important; } 
}
@media (min-width: 1760px) { 
	.about-page .container { padding: 0 5rem !important; } 
}

.about-page .tracking-kr-tight { letter-spacing: -0.05em; }
.about-page .focus-ring:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 4px; }
.about-page .sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0;
	margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
.about-page .sub-header { display: none; }

.about-page .section-eyebrow {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-weight: 800; font-size: 0.9375rem; color: var(--primary);
	margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .about-page .section-eyebrow { font-size: 1.125rem; margin-bottom: 1rem; } }
.about-page .section-eyebrow::before {
	content: ''; width: 6px; height: 6px; border-radius: 50%;
	background: currentColor; display: inline-block;
}
.about-page .eyebrow-white { color: var(--on-primary); }
.about-page .eyebrow-white::before { background: var(--on-primary); }

.about-page .sub-sec-title { display: block; font-size: 2rem; font-weight: 900; color: var(--on-surface); }
.about-page .main-heading { font-size: 2.25rem; font-weight: 900; line-height: 1.3; margin-bottom: 1.5rem; color: var(--on-surface); }
.about-page .desc-text { font-size: 1.0625rem; font-weight: 500; color: var(--on-surface-alt); line-height: 1.6; margin-bottom: 3rem; }
@media (min-width: 768px) {
	.about-page .sub-sec-title { font-size: 2.5rem; }
	.about-page .main-heading  { font-size: 3rem; }
	.about-page .desc-text     { font-size: 1.125rem; }
}

/* ==========================================
   2. Sub Page Header + Breadcrumb (공통 패치)
   ★ bootstrap.min.css 의 .page-header / .breadcrumb / .breadcrumb-item 등과 충돌하지 않도록
     sub- prefix 로 모든 클래스명 격리. 아미나빌더 기본 .page-title 도 침범하지 않음.
========================================== */
.about-page .sub-page-header {
	/* 기존 패딩을 더 줄여서 상단 여백을 더욱 타이트하게 다이어트합니다 */
	padding: 1.75rem 0 1rem;
	background: var(--surface);
	position: relative; z-index: 30;
	border-bottom: 1px solid rgba(0,0,0,0.04);
}
@media (min-width: 768px)  { .about-page .sub-page-header { padding: 2.25rem 0 1.25rem; } }
@media (min-width: 1024px) { .about-page .sub-page-header { padding: 2.75rem 0 1.5rem; } }

.about-page .sub-crumb-list {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
	list-style: none; margin: 0 0 1rem; padding: 0;
	font-size: 0.875rem; font-weight: 700;
	color: var(--on-surface-alt); letter-spacing: -0.02em;
}
.about-page .sub-crumb-item { display: inline-flex; align-items: center; }
.about-page .sub-crumb-link {
	color: var(--on-surface-alt); transition: color 0.3s ease;
	display: inline-flex; align-items: center; gap: 0.25rem; line-height: 1;
	text-decoration: none;
}
.about-page .sub-crumb-link i { font-size: 1rem; }
.about-page a.sub-crumb-link:hover { color: var(--primary); }
.about-page .sub-crumb-current { color: var(--primary); font-weight: 800; }
.about-page .sub-crumb-sep {
	color: var(--on-surface-alt); opacity: 0.5; font-size: 0.75rem;
	display: inline-flex; align-items: center;
}

.about-page .sub-page-headline {
	font-size: 2rem; font-weight: 900; line-height: 1.15;
	letter-spacing: -0.05em; color: var(--on-surface); margin: 0 0 1.5rem;
	word-break: keep-all;
}
@media (min-width: 768px)  { .about-page .sub-page-headline { font-size: 3rem;   margin-bottom: 2rem; } }
@media (min-width: 1024px) { .about-page .sub-page-headline { font-size: 3.5rem; margin-bottom: 2rem; } }
@media (min-width: 1440px) { .about-page .sub-page-headline { font-size: 4rem; } }

/* ==========================================
   3. Hero Pin Section
========================================== */
.about-page .hero-pin-sec { background: var(--surface); }
.about-page .hero-content-wrap {
	/* 모바일은 핀 애니메이션이 안 돌기 때문에 너무 큰 100vh 대신 적절한 여백 지정 */
	height: calc(60vh + 6rem); 
	display: flex; flex-direction: column;
	align-items: center; justify-content: center; overflow: hidden;
}
@media (min-width: 768px) { 
	.about-page .hero-content-wrap {
		/* PC는 GSAP 핀 애니메이션을 위해 100vh 꽉찬 높이 유지 */
		height: 100vh;
	}
}

.about-page .hero-wrapper {
	position: relative; width: 90%; height: 60vh;
	border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow-float); background: var(--surface);
	transform-origin: center;
}
@media (min-width: 768px) { .about-page .hero-wrapper { height: 70vh; } }
.about-page .hero-bg      { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-page .hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.about-page .hero-text-wrap {
	position: absolute; inset: 0; z-index: 15;
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	text-align: center; color: var(--on-primary); padding: 0 1.5rem;
	opacity: 1; transform: none;
}
.about-page .hero-text-wrap::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.15) 100%);
	border-radius: inherit;
}
.about-page .hero-title-text { font-size: 2rem; font-weight: 900; line-height: 1.2; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
@media (min-width: 768px)  { .about-page .hero-title-text { font-size: 3.5rem; } }
@media (min-width: 1024px) { .about-page .hero-title-text { font-size: 4rem; } }

/* Hero 텍스트 상시 노출 보강 */
.about-page .hero-text-wrap,
.about-page #hero-text {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
	z-index: 15 !important;
	pointer-events: auto;
}
.about-page .hero-text-wrap > * { opacity: 1 !important; transform: none !important; }

/* ==========================================
   4. Sticky Tab Navigation
   ★ top 값은 ok1.js 가 #header 실제 높이를 측정해
     --sub-header-h CSS 변수로 주입 (resize 시 재계산).
     fallback 값 80px(PC) / 44px(모바일) 은 대성테크윈 글로벌 헤더 기본 높이.
========================================== */
.about-page .sticky-tab-wrap {
	position: sticky;
	top: var(--sub-header-h, 44px);  /* 모바일 헤더 fallback */
	z-index: 90;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid #E5E7EB;
	transition: top 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 1024px) {
	.about-page .sticky-tab-wrap { top: var(--sub-header-h, 80px); }  /* PC 헤더 fallback */
}
/* 글로벌 body.header-hidden 토글 시 상단 딱붙음 */
body.header-hidden .about-page .sticky-tab-wrap {
	top: 0 !important;
	/* box-shadow: 0 4px 20px rgba(0,0,0,0.05); 삭제 완료 */
}

.about-page .sub-tabs {
	display: flex; align-items: center; gap: 2rem; padding: 1.25rem 0;
	overflow-x: auto; white-space: nowrap;
}
.about-page .sub-tabs::-webkit-scrollbar { display: none; }
.about-page .sub-tabs button {
	font-size: 1.125rem; font-weight: 800; color: var(--on-surface-alt);
	transition: color 0.3s; position: relative; letter-spacing: -0.02em;
	border: none; background: none; cursor: pointer; font-family: inherit;
}
.about-page .sub-tabs button:hover { color: var(--on-surface); }
.about-page .sub-tabs button.active { color: var(--primary); }
.about-page .sub-tabs button.active::after {
	content: ''; position: absolute; bottom: -1.25rem; left: 0;
	width: 100%; height: 3px; background: var(--primary); border-radius: 2px;
}
@media (min-width: 768px) {
	.about-page .sub-tabs { gap: 3rem; justify-content: center; }
	.about-page .sub-tabs button { font-size: 1.25rem; }
}

/* 공통 Content Section */
.about-page .content-section {
	display: none; padding: 6rem 0;
	background: var(--surface); position: relative; z-index: 10;
	min-height: 50vh;
}
@media (min-width: 768px) { .about-page .content-section { padding: 8rem 0; } }
.about-page .content-section.active {
	display: block;
	animation: aboutFadeInTab 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes aboutFadeInTab {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   5-1. CEO 인사말 (Greeting)
========================================== */
.about-page .greeting-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) {
	.about-page .greeting-layout { grid-template-columns: 4fr 8fr; gap: 5rem; align-items: stretch; }
}

.about-page .greeting-img-wrap {
	position: relative; border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow-card);
	aspect-ratio: 3/4; width: 100%; max-width: 500px; margin: 0 auto;
}
.about-page .greeting-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-page .greeting-img-wrap::after {
	content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05); pointer-events: none;
}

.about-page .greeting-content { display: flex; flex-direction: column; justify-content: center; }
.about-page .greeting-quote {
	font-size: 1.5rem; font-weight: 900; color: var(--primary);
	line-height: 1.4; margin-bottom: 2rem; word-break: keep-all;
}
@media (min-width: 768px) { .about-page .greeting-quote { font-size: 2.25rem; margin-bottom: 3rem; } }

.about-page .greeting-text {
	font-size: 1.0625rem; color: var(--on-surface-alt); line-height: 1.8;
	margin-bottom: 1.5rem; font-weight: 500;
}
@media (min-width: 768px) { .about-page .greeting-text { font-size: 1.125rem; } }

.about-page .greeting-sign {
	margin-top: 3rem; text-align: right;
	border-top: 1px solid #E5E7EB; padding-top: 2rem;
}
.about-page .greeting-sign p { font-size: 1.125rem; font-weight: 700; color: var(--on-surface); margin-bottom: 0.5rem; }
.about-page .greeting-sign h4 {
	font-size: 1.5rem; font-weight: 900; color: var(--primary);
	display: flex; align-items: center; justify-content: flex-end; gap: 1rem;
}
.about-page .greeting-sign h4 span { font-size: 1rem; color: var(--on-surface-alt); font-weight: 500; }

/* ==========================================
   5-2. 회사개요 (Overview)
========================================== */
.about-page .overview-layout { display: flex; flex-direction: column; gap: 4rem; }
@media (min-width: 1024px) {
	.about-page .overview-layout { display: grid; grid-template-columns: 8fr 4fr; gap: 5rem; }
}

.about-page .overview-table-wrap { width: 100%; overflow-x: auto; }
.about-page .overview-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.about-page .overview-table th,
.about-page .overview-table td {
	padding: 1.25rem; border-bottom: 1px solid #E5E7EB; text-align: left;
}
.about-page .overview-table th {
	width: 25%; font-weight: 800; color: var(--on-surface);
	background: var(--surface-alt); font-size: 1.0625rem;
}
.about-page .overview-table td {
	font-weight: 500; color: var(--on-surface-alt);
	font-size: 1.0625rem; line-height: 1.6;
}

.about-page .overview-side { display: flex; flex-direction: column; gap: 2.5rem; }
.about-page .core-value-box {
	background: var(--primary); color: var(--on-primary);
	padding: 3rem 2rem; border-radius: var(--radius-lg); text-align: center;
}
.about-page .core-value-box h4 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1.5rem; opacity: 0.9; }
.about-page .core-value-list {
	display: flex; flex-direction: column; gap: 1rem;
	font-size: 1.5rem; font-weight: 900;
}

.about-page .download-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	background: var(--surface); color: var(--primary);
	border: 2px solid var(--primary); padding: 1.25rem 2rem;
	border-radius: var(--radius-pill); font-size: 1.125rem; font-weight: 800;
	transition: all 0.3s; width: 100%; text-decoration: none;
}
.about-page .download-btn:hover { background: var(--primary); color: var(--on-primary); }

/* ==========================================
   5-3. 회사연혁 (History)
========================================== */
.about-page .history-layout { display: flex; flex-direction: column; gap: 4rem; }
@media (min-width: 1024px) {
	.about-page .history-layout { display: grid; grid-template-columns: 2.5fr 7.5fr; gap: 4rem; align-items: stretch; }
}

.about-page .history-sidebar-wrap { position: relative; height: 100%; }
.about-page .history-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .about-page .history-sidebar { position: sticky; top: 180px; } }

.about-page .history-nav-list {
	display: flex; gap: 1rem; overflow-x: auto; white-space: nowrap;
	padding-bottom: 0.5rem; border-bottom: 1px solid #E5E7EB;
}
.about-page .history-nav-list::-webkit-scrollbar { display: none; }
.about-page .history-nav-link {
	font-size: 1.25rem; font-weight: 700; color: var(--on-surface-alt);
	transition: color 0.3s; padding: 0.5rem 0;
	border: none; background: none; cursor: pointer; font-family: inherit;
}
.about-page .history-nav-link.active { color: var(--primary); font-weight: 900; }

@media (min-width: 1024px) {
	.about-page .history-nav-list {
		flex-direction: column; overflow-x: visible;
		border-bottom: none; border-left: 2px solid #F3F4F6;
		padding-left: 2rem; padding-bottom: 0; gap: 2rem;
	}
	.about-page .history-nav-link {
		position: relative; text-align: left; font-size: 1.375rem;
		color: var(--on-surface-alt); padding: 0; transition: all 0.3s;
	}
	.about-page .history-nav-link.active { color: var(--primary); font-weight: 900; font-size: 1.5rem; }
	.about-page .history-nav-link.active::before {
		content:''; position: absolute; left: -2.1rem; top: 50%; transform: translateY(-50%);
		width: 4px; height: 1.5rem; background: var(--primary); border-radius: 4px;
	}
}

.about-page .history-content-wrap { display: flex; flex-direction: column; gap: 8rem; }
.about-page .history-decade { position: relative; }
.about-page .decade-title {
	font-size: 4.5rem; font-weight: 900; color: #CBD5E1;
	margin-bottom: 1.5rem; line-height: 1;
}
@media (min-width: 768px) { .about-page .decade-title { font-size: 8rem; margin-bottom: 2rem; letter-spacing: -0.02em; } }

.about-page .history-list {
	display: flex; flex-direction: column;
	border-left: 1px solid #E5E7EB; padding-left: 1.5rem; margin-left: 0.5rem;
}
@media (min-width: 768px) { .about-page .history-list { padding-left: 3rem; margin-left: 1rem; } }

.about-page .history-item {
	position: relative; padding-bottom: 4rem;
	display: flex; flex-direction: column; gap: 0.5rem;
}
.about-page .history-item:last-child { padding-bottom: 0; }
.about-page .history-item::before {
	content: ''; position: absolute; left: -1.9rem; top: 0.35rem;
	width: 14px; height: 14px; border-radius: 50%;
	background: var(--surface); border: 3px solid var(--primary);
}
@media (min-width: 768px) {
	.about-page .history-item::before { left: -3.4rem; top: 0.4rem; width: 16px; height: 16px; border: 4px solid var(--primary); }
}

.about-page .history-year { font-size: 1.5rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 1rem; }
@media (min-width: 768px) { .about-page .history-year { font-size: 1.75rem; } }

.about-page .history-events { display: flex; flex-direction: column; gap: 1.5rem; }
.about-page .history-event-row { display: flex; gap: 1.5rem; align-items: flex-start; }
.about-page .event-month { font-size: 1.125rem; font-weight: 900; color: var(--on-surface); min-width: 30px; }
.about-page .event-desc {
	font-size: 1.0625rem; font-weight: 500; color: var(--on-surface-alt);
	line-height: 1.6; margin: 0; word-break: keep-all;
}

/* ==========================================
   5-4. 조직도 (Organization Chart)
========================================== */
.about-page .org-wrap { width: 100%; overflow-x: auto; padding-bottom: 2rem; }
.about-page .org-wrap::-webkit-scrollbar { height: 6px; }
.about-page .org-wrap::-webkit-scrollbar-thumb { background: var(--on-surface-alt); border-radius: 4px; opacity: 0.4; }

.about-page .org-tree {
	display: flex; flex-direction: column; align-items: center;
	min-width: 1000px;
}

.about-page .org-level {
	display: flex; justify-content: center; gap: 2rem;
	position: relative; width: 100%;
}
.about-page .org-level::before {
	content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
	width: calc(100% - 200px); height: 1px; background: #E5E7EB; z-index: 1;
}
.about-page .org-level.top-level::before { display: none; }

.about-page .org-node-wrap {
	display: flex; flex-direction: column; align-items: center;
	position: relative; flex: 1;
}
.about-page .org-node-wrap::before {
	content: ''; position: absolute; top: -2rem; left: 50%;
	width: 1px; height: 2rem; background: #E5E7EB; z-index: 1;
}
.about-page .org-level.top-level > .org-node-wrap::before { display: none; }
.about-page .org-node-wrap.has-children::after {
	content: ''; position: absolute; bottom: -2rem; left: 50%;
	width: 1px; height: 2rem; background: #E5E7EB; z-index: 1;
}

.about-page .org-card {
	background: var(--surface); border: 1px solid var(--color-edge, #E5E7EB);
	border-top: 4px solid var(--primary);
	border-radius: var(--radius-md); padding: 1.5rem; text-align: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.04); z-index: 2; position: relative;
	min-width: 180px; max-width: 220px;
	transition: transform 0.3s, box-shadow 0.3s;
}
.about-page .org-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.about-page .org-card.ceo { border-top-color: var(--secondary); background: var(--surface-alt); }
.about-page .org-card.lab { border-top-color: var(--primary); opacity: 0.95; }

.about-page .org-title { font-size: 1.125rem; font-weight: 800; color: var(--on-surface); margin-bottom: 0.25rem; }
.about-page .org-name  { font-size: 0.9375rem; font-weight: 500; color: var(--on-surface-alt); }

.about-page .org-children {
	display: flex; justify-content: center; gap: 1.5rem;
	width: 100%; padding-top: 2rem; flex-wrap: wrap;
}

.about-page .org-team-list {
	margin-top: 1rem;
	display: flex; flex-direction: column; gap: 0.5rem;
	width: 100%; align-items: stretch;
}
.about-page .org-team {
	background: var(--surface-alt); border: 1px solid #E5E7EB;
	padding: 0.75rem 1rem; border-radius: 8px;
	font-size: 0.9375rem; font-weight: 600; color: var(--on-surface-alt);
	width: 100%; text-align: left;
	display: flex; align-items: center; gap: 0.5rem;
}
.about-page .org-team::before { content: '•'; color: var(--primary); font-size: 1.2rem; line-height: 1; }

/* ==========================================
   5-5. 오시는 길 (Map)
========================================== */
.about-page .map-wrap {
	border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow-card); margin-bottom: 3rem;
	height: 400px; background: var(--surface-alt);
}
@media (min-width: 768px) { .about-page .map-wrap { height: 500px; } }
.about-page .map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

.about-page .map-info-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .about-page .map-info-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }

.about-page .map-info-item { display: flex; gap: 1.5rem; }
.about-page .map-icon {
	width: 3rem; height: 3rem; border-radius: 50%;
	background: var(--surface-alt);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.5rem; color: var(--primary); flex-shrink: 0;
}
.about-page .map-text h4 { font-size: 1.125rem; font-weight: 800; color: var(--on-surface); margin-bottom: 0.5rem; }
.about-page .map-text p {
	font-size: 1.0625rem; color: var(--on-surface-alt);
	line-height: 1.6; word-break: keep-all; font-weight: 500;
}

/* ==========================================
   6. GSAP 초기 상태 (애니메이션 시작 전)
========================================== */
.about-page .gsap-fade-up,
.about-page .gsap-stagger-item {
	will-change: transform, opacity;
}

/* ==========================================
   7. 메인페이지 헤더와 동일 — at-body padding-top 무력화 가능 시 적용
   (아미나 빌더 옵션 페이지 컨테이너가 자체 padding-top 을 가지면 제거)
========================================== */
.is-index .at-body { padding-top: 0 !important; }