/* 회사개요 전용 — ABOUT US(회사소개서 2쪽)·기업 개요 표·핵심 가치·그룹 구조·걸어온 길(표지의 가는 연도) */

/* 서브 히어로 설명이 두 줄일 때 둘째 줄이 짧게 남지 않도록 */

/* ---------- 1) ABOUT US: 큰 세로 사진 + 겹친 작은 사진 | 거대한 제목 + 원문 두 문단 ---------- */
.ab-intro { position: relative; overflow: hidden; }
.ab-intro__wm { top: clamp(56px, 7vw, 112px); right: -3vw; font-size: clamp(120px, 21vw, 360px); }
.ab-intro__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr);
  grid-template-areas: "photo ." "photo title" "photo body" "photo .";
  column-gap: clamp(48px, 7vw, 120px);
}
.ab-intro__display { grid-area: title; font-size: clamp(64px, 8.4vw, 140px); font-weight: 800; line-height: .86; }
.ab-intro__body { grid-area: body; display: grid; gap: 20px; margin-top: clamp(32px, 3.6vw, 52px); max-width: 600px; font-size: clamp(16px, 1.15vw, 17.5px); line-height: 1.9; }
.ab-intro__body p:first-child { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.85; font-weight: 500; color: var(--ink-2); }
/* align-self: 글이 사진보다 길 때 묶음이 늘어나 겹친 사진이 아래로 떨어지지 않게 */
.ab-intro__photos { grid-area: photo; align-self: center; position: relative; padding: 0 16% 17% 0; }
.ab-intro__main { aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft-2); }
.ab-intro__sub { position: absolute; right: 0; bottom: 0; width: 60%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft-2); box-shadow: 0 40px 70px -30px rgba(10, 14, 20, .5); }
.ab-intro__main img, .ab-intro__sub img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 2) 기업 개요: 머리말 + 세로 사진(카드 높이까지 채움) | 흰 카드 속 표 ---------- */
.ab-profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.ab-profile__head { display: flex; flex-direction: column; min-width: 0; }
.ab-profile__head .sec-head { margin-bottom: 0; }
.ab-profile__photo { position: relative; flex: 1 1 auto; min-height: 320px; margin-top: clamp(40px, 4vw, 56px); overflow: hidden; background: var(--soft-2); }
.ab-profile__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-profile__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(6px, 1vw, 12px) clamp(22px, 3vw, 44px); box-shadow: var(--shadow); min-width: 0; }
.ab-dl > div { display: grid; grid-template-columns: minmax(104px, 168px) minmax(0, 1fr); gap: 24px; padding-block: 22px; border-top: 1px solid var(--line); }
.ab-dl > div:first-child { border-top: 0; }
.ab-dl dt { font-size: 14.5px; font-weight: 600; line-height: 1.6; color: var(--muted); padding-top: 1px; }
.ab-dl dd { min-width: 0; font-size: 16.5px; font-weight: 600; line-height: 1.6; color: var(--ink); }
.ab-dl__en { display: block; margin-top: 2px; font-family: var(--f-display); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.ab-dl__note { display: block; margin-top: 4px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.ab-dl__num { font-family: var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.ab-dl__mail { color: var(--navy); border-bottom: 1px solid rgba(0, 65, 101, .3); transition: border-color .2s; }
.ab-dl__mail:hover { border-bottom-color: var(--navy); }
.ab-biz { display: grid; }
.ab-biz a { display: flex; align-items: baseline; gap: 14px; padding-block: 8px; transition: color .2s; }
.ab-biz li:first-child a { padding-top: 0; }
.ab-biz li:last-child a { padding-bottom: 0; }
.ab-biz__no { flex: none; min-width: 2.1em; font-family: var(--f-display); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--navy); }
.ab-biz__t { min-width: 0; }
.ab-biz .ic { align-self: center; margin-left: auto; width: 17px; height: 17px; color: var(--faint); transition: transform .3s var(--ease), color .3s var(--ease); }
.ab-biz a:hover { color: var(--navy); }
.ab-biz a:hover .ic { color: var(--navy); transform: translateX(4px); }

/* ---------- 3) 핵심 가치 4가지: 가는 큰 번호 + 아이콘 ---------- */
.ab-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.ab-value { min-width: 0; display: grid; align-content: start; padding: 30px clamp(20px, 2.2vw, 36px) 6px; }
.ab-value:first-child { padding-left: 0; }
.ab-value:last-child { padding-right: 0; }
.ab-value + .ab-value { border-left: 1px solid var(--line); }
.ab-value__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ab-value__no { font-family: var(--f-display); font-size: clamp(44px, 4.2vw, 64px); font-weight: 200; line-height: 1; letter-spacing: -0.02em; color: var(--navy); }
.ab-value__ic { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--soft); color: var(--navy); }
.ab-value__ic .ic { width: 23px; height: 23px; }
.ab-value__en { margin-top: 30px; font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ab-value__title { margin-top: 8px; font-size: 20px; font-weight: 700; line-height: 1.4; }
.ab-value__desc { margin-top: 12px; font-size: 15.5px; line-height: 1.8; color: var(--muted); }

/* ---------- 4) 그룹 구조: 글 | 3노드 도식 ---------- */
.ab-group { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ab-group__title { margin-top: 18px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.22; }
.ab-group__lead { margin-top: 20px; max-width: 520px; font-size: clamp(16px, 1.2vw, 17.5px); line-height: 1.85; color: var(--muted); }
.ab-group .link-arrow { margin-top: 32px; }

.ab-tree { --kg: clamp(14px, 2vw, 28px); --tree-line: #c9ced4; display: grid; justify-items: center; min-width: 0; }
.ab-tree__parent { display: flex; align-items: center; gap: 18px; max-width: 100%; padding: 12px 30px 12px 12px; border-radius: 24px; background: var(--navy-ink); color: #fff; box-shadow: 0 30px 60px -30px rgba(7, 28, 46, .6); }
.ab-tree__photo { flex: none; width: clamp(96px, 9vw, 132px); aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; }
.ab-tree__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.ab-tree__ptext { display: grid; gap: 4px; min-width: 0; }
.ab-tree__role { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13.5px; font-weight: 600; color: var(--gold-2); }
.ab-tree__name { font-size: clamp(20px, 1.9vw, 26px); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: #fff; }
.ab-tree__en { font-family: var(--f-display); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.ab-tree__role .ab-tree__en { color: rgba(255, 255, 255, .6); }
.ab-tree__stem { width: 1px; height: 26px; background: var(--tree-line); }
.ab-tree__label { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 10px; max-width: 100%; padding: 7px 18px; border: 1px solid var(--line-2); border-radius: 20px; background: #fff; text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.ab-tree__label .ab-tree__en { color: var(--muted); }
.ab-tree__kids { position: relative; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--kg); padding-top: 30px; }
.ab-tree__kids::before { content: ""; position: absolute; top: 0; left: calc((100% - var(--kg)) / 4); right: calc((100% - var(--kg)) / 4); height: 1px; background: var(--tree-line); }
/* 영문 이름이 두 줄이 되어도 꼬리표 줄은 두 카드가 같도록: 남는 높이는 셋째 줄(1fr)이 받는다 */
.ab-tree__kid { position: relative; min-width: 0; display: grid; grid-template-rows: auto auto 1fr auto; justify-items: center; gap: 6px; padding: 30px 20px 28px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.ab-tree__kid::before { content: ""; position: absolute; left: 50%; top: -31px; width: 1px; height: 30px; background: var(--tree-line); }
.ab-tree__kid--weishi { border-color: rgba(0, 65, 101, .35); box-shadow: 0 24px 50px -30px rgba(0, 65, 101, .45); }
.ab-tree__mark { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 8px; border-radius: 16px; background: var(--soft); font-family: var(--f-display); font-size: 22px; font-weight: 700; }
.ab-tree__mark img { width: 18px; height: auto; }
.ab-tree__kid--rent .ab-tree__mark { background: #1d5a3c; color: #fff; }
.ab-tree__kname { font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; line-height: 1.35; color: var(--ink); }
.ab-tree__ken { font-family: var(--f-display); font-size: 12px; font-weight: 500; letter-spacing: .1em; line-height: 1.5; color: var(--muted); }
.ab-tree__tag { align-self: end; margin-top: 10px; padding: 4px 12px; font-size: 12.5px; }

/* ---------- 5) 걸어온 길: 흐린 야경(표지) + 가는 큰 연도 ---------- */
.ab-history { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: rgba(255, 255, 255, .74); }
.ab-history__bg { position: absolute; inset: -60px; z-index: -1; background-image: var(--ab-history-bg); background-size: cover; background-position: center; filter: blur(16px) brightness(.36) saturate(.95); transform: scale(1.06); }
.ab-miles { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); padding-top: 44px; }
.ab-miles::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, .28); }
.ab-mile { position: relative; min-width: 0; }
.ab-mile::before { content: ""; position: absolute; top: -49px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 6px rgba(220, 192, 149, .16); }
.ab-mile__year { font-family: var(--f-display); font-size: clamp(72px, 9vw, 144px); font-weight: 200; line-height: .9; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.ab-mile__tag { margin-top: 26px; font-family: var(--f-display); font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.ab-mile__title { margin-top: 10px; font-size: clamp(21px, 1.8vw, 26px); font-weight: 700; line-height: 1.35; color: #fff; }
.ab-mile__desc { margin-top: 12px; max-width: 480px; font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .72); text-wrap: balance; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .ab-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-value:nth-child(2) { padding-right: 0; }
  .ab-value:nth-child(3) { border-left: 0; padding-left: 0; }
  .ab-value:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
  .ab-group { grid-template-columns: minmax(0, 1fr); }
  .ab-group__text { max-width: 640px; }
  .ab-tree { width: 100%; max-width: 720px; justify-self: center; }
}
@media (max-width: 960px) {
  .ab-intro__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "title" "photo" "body"; }
  .ab-intro__photos { margin-top: 44px; max-width: 620px; }
  .ab-intro__body { margin-top: 40px; }
  .ab-intro__wm { top: 48px; right: auto; left: -2vw; font-size: 30vw; }
  .ab-profile { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ab-profile__head .sec-head { margin-bottom: clamp(32px, 5vw, 48px); }
  .ab-profile__photo { flex: none; min-height: 0; aspect-ratio: 16 / 10; margin: 0 0 clamp(28px, 5vw, 40px); }
}
@media (max-width: 760px) {
  .ab-miles { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 0; padding-left: 30px; }
  .ab-miles::before { top: 12px; bottom: 12px; left: 5px; right: auto; width: 1px; height: auto; }
  .ab-mile::before { top: 26px; left: -30px; }
}
@media (max-width: 560px) {
  .ab-dl > div { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 18px; }
  .ab-dl dt { font-size: 13.5px; }
  .ab-values { grid-template-columns: minmax(0, 1fr); }
  .ab-value, .ab-value:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
  .ab-value + .ab-value { border-top: 1px solid var(--line); margin-top: 24px; }
  .ab-value__en { margin-top: 22px; }
  .ab-tree__parent { gap: 14px; padding-right: 20px; }
  .ab-tree__kid { padding: 24px 12px 22px; }
  .ab-tree__mark { width: 48px; height: 48px; border-radius: 14px; }
}

/* 휴대폰에서 그룹 도식의 영문 라벨은 12px 이상 */
@media (max-width: 640px) {
  body.pg-about .ab-tree__en { font-size: 12px; }
}
