@charset "utf-8";

/* people — Figma 1200:1377 @ 1920×1922 (좌표 1:1) */

/* 문서 스크롤바는 html에 붙음 — 우측/하단 스크롤바 숨김 (휠 스크롤은 유지) */
html.people-page-html {
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.people-page-html::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body.people-page-body {
  margin: 0;
  background: #fff;
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  color: #050505;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.people-page-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.people-page {
  width: 100%;
  overflow-x: hidden;
}

/* Hero — 기업소식(news)과 동일 */
.people-page .page-hero {
  background: #004e8f;
}

.people-page .page-hero__dim {
  background-color: transparent;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  background-size: 650px 100%;
  background-position: left top;
  background-repeat: no-repeat;
}

.people-page .page-hero__bg {
  inset: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
}

/* —— stage: page y 275 → 1572 (Figma) —— */
.people-main {
  position: relative;
  width: 1920px;
  min-height: 1297px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.people-stage {
  position: relative;
  width: 1920px;
  height: 1297px;
}

.people-stage__bg {
  position: absolute;
  left: 60px;
  width: 1800px;
  pointer-events: none;
  z-index: 0;
  display: block;
}

.people-stage__bg--1 {
  top: 32px; /* 307 - 275 */
  height: 644px;
}

.people-stage__bg--2 {
  top: 406px; /* 681 - 275 */
  height: 644px;
}

.people-stage__bg--3 {
  top: 780px; /* 1055 - 275 */
  height: 457px;
}

/* hit area wraps photo + text (Figma bounds) */
.people-hit {
  position: absolute;
  z-index: 1;
  display: block;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.people-hit:hover,
.people-hit:focus {
  color: inherit;
  text-decoration: none;
}

.people-hit__photo {
  position: absolute;
  display: block;
  overflow: hidden;
}

.people-hit__photo-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.people-hit__photo-img--color {
  opacity: 0;
  transition: opacity 0.22s ease;
}

.people-hit:hover .people-hit__photo-img--color,
.people-hit:focus-within .people-hit__photo-img--color {
  opacity: 1;
}

.people-hit__info {
  position: absolute;
  width: 290px;
  box-sizing: border-box;
}

.people-hit__slogan {
  margin: 0;
  padding-left: 20px; /* align with button name (Figma) */
  box-sizing: border-box;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.8px;
  color: #050505;
  word-break: keep-all;
}

.people-hit__team-ko {
  margin: 10px 0 0;
  padding-left: 20px; /* align with button name (Figma) */
  box-sizing: border-box;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #01457e;
}

.people-hit__team-en {
  margin: 0;
  padding-left: 20px; /* align with button name (Figma) */
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.4px;
  color: #01457e;
}

.people-hit:hover .people-hit__slogan,
.people-hit:focus-within .people-hit__slogan {
  color: #050505;
}

.people-hit:hover .people-hit__team-ko,
.people-hit:hover .people-hit__team-en,
.people-hit:focus-within .people-hit__team-ko,
.people-hit:focus-within .people-hit__team-en {
  color: #01457e;
}

.people-hit:hover .people-hit__name,
.people-hit:focus-within .people-hit__name {
  color: #01457e;
}

.people-hit__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 290px;
  height: 50px;
  margin-top: 30px;
  padding: 0 20px;
  border: 1px solid rgba(1, 69, 126, 0.45);
  border-radius: 999px;
  box-sizing: border-box;
  background: #fff;
}

.people-hit__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #01457e;
}

.people-hit__plus {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@keyframes people-plus-spin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(45deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.people-hit:hover .people-hit__plus,
.people-hit:focus-within .people-hit__plus {
  animation: people-plus-spin 0.55s ease;
}

.people-hit--right .people-hit__info {
  text-align: right;
}

/* right cards: slogan/team align to + icon (20px from button right) */
.people-hit--right .people-hit__slogan,
.people-hit--right .people-hit__team-ko,
.people-hit--right .people-hit__team-en {
  padding-left: 0;
  padding-right: 20px;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Card 1 정현우: photo 260,356 / info 550,437 —— */
.people-hit--1 {
  left: 260px;
  top: 81px; /* 356-275 */
  width: 580px; /* 840-260 */
  height: 373px;
}

.people-hit--1 .people-hit__photo {
  left: 0;
  top: 0;
  width: 267px;
  height: 373px;
}

.people-hit--1 .people-hit__info {
  left: 290px; /* 550-260 */
  top: 81px; /* 437-356 */
}

/* —— Card 2 박정인: info 1080,437 / photo 1419,357 —— */
.people-hit--2 {
  left: 1080px;
  top: 82px; /* 357-275 */
  width: 580px; /* 1660-1080 */
  height: 360px;
}

.people-hit--2 .people-hit__photo {
  left: 339px; /* 1419-1080 */
  top: 0;
  width: 241px;
  height: 360px;
}

.people-hit--2 .people-hit__info {
  left: 0;
  top: 80px; /* 437-357 */
}

/* —— Card 3 이인애: photo 260,786 / info 550,811 —— */
.people-hit--3 {
  left: 260px;
  top: 511px; /* 786-275 */
  width: 580px;
  height: 317px;
}

.people-hit--3 .people-hit__photo {
  left: 0;
  top: -19px;
  width: 253px;
  height: 336.5px;
}

.people-hit--3 .people-hit__info {
  left: 290px;
  top: 25px; /* 811-786 */
}

/* —— Card 4 조성필: info 1080,811 / photo 1419,742 —— */
.people-hit--4 {
  left: 1080px;
  top: 467px; /* 742-275 */
  width: 580px; /* 1660-1080 */
  height: 350px;
}

.people-hit--4 .people-hit__photo {
  left: 339px; /* 1419-1080 */
  top: 0;
  width: 241px;
  height: 350px;
}

.people-hit--4 .people-hit__info {
  left: 0;
  top: 69px; /* 811-742 */
}

/* —— Card 5 서범수: photo 260,1130 / info 550,1185 —— */
.people-hit--5 {
  left: 260px;
  top: 855px; /* 1130-275 */
  width: 580px;
  height: 347px;
}

.people-hit--5 .people-hit__photo {
  left: 0;
  top: 0;
  width: 277px;
  height: 347px;
}

.people-hit--5 .people-hit__info {
  left: 290px;
  top: 55px; /* 1185-1130 */
}

/* CTA — Figma 1348 / 1385 / 1460 */
.people-cta {
  position: absolute;
  z-index: 1;
  left: 1390px;
  top: 1073px; /* 1348-275 */
  width: 412px;
  text-align: right;
}

.people-cta__sub {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.45px;
  color: #000;
}

.people-cta__title {
  margin: 10px 0 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.75px;
  color: #000;
}

.people-cta__btn {
  position: absolute;
  right: 0;
  top: 112px; /* 1460-1348 */
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 240px;
  height: 50px;
  padding: 0 25px;
  border: none;
  border-radius: 25px;
  background: #0077d9;
  color: #fff;
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.5px;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

.people-cta__btn::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 11px;
  background: url("../img/main/new/icon_arrow.svg") no-repeat center / contain;
}

.people-cta__btn:hover::after {
  animation: peopleCtaArrowNudge 0.45s ease;
}

@keyframes peopleCtaArrowNudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.people-page-body .main-footer {
  position: relative;
  width: 100%;
  min-width: 1920px;
  height: 350px;
  background: #0a1c31;
  color: #fff;
}

/* ===== people team popup (Figma: panel 1270×784 @ 325,90) ===== */
html:has(body.people-page-body.is-people-popup-open),
body.people-page-body.is-people-popup-open {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

body.people-page-body.is-people-popup-open .people-popup,
body.people-page-body.is-people-popup-open .people-popup * {
  touch-action: auto;
}

.people-popup[hidden] {
  display: none !important;
}

.people-popup {
  position: fixed;
  inset: 0;
  z-index: 1000000; /* header(999999) 위 — 메뉴는 dim 뒤에 보임 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  visibility: hidden;
  pointer-events: none;
}

.people-popup.is-open {
  visibility: visible;
  pointer-events: auto;
}

.people-popup__dim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.32s ease;
}

.people-popup.is-open .people-popup__dim {
  opacity: 1;
}

/* panel = white rounded card — 페이드만 (scale/translate 시 우측 카피가 흔들림) */
.people-popup__panel {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 1270px;
  height: 784px;
  box-sizing: border-box;
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.36s ease;
}

.people-popup.is-open .people-popup__panel {
  opacity: 1;
}

/* 인물·갤러리: 텍스트와 분리 — 사진/갤러리만 지연 페이드 */
.people-popup__photo {
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.people-popup__gallery-img {
  opacity: 0;
  transition: opacity 0.45s ease;
  will-change: opacity;
}

.people-popup.is-open .people-popup__photo {
  opacity: 1;
  transition-delay: 0.18s;
}

.people-popup.is-open .people-popup__gallery-img:nth-child(1) {
  opacity: 1;
  transition-delay: 0.3s;
}

.people-popup.is-open .people-popup__gallery-img:nth-child(2) {
  opacity: 1;
  transition-delay: 0.4s;
}

.people-popup.is-open .people-popup__gallery-img:nth-child(3) {
  opacity: 1;
  transition-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  .people-popup__dim,
  .people-popup__panel,
  .people-popup__photo,
  .people-popup__gallery-img {
    transition: none !important;
    transition-delay: 0s !important;
  }

  .people-popup.is-open .people-popup__photo,
  .people-popup.is-open .people-popup__gallery-img {
    opacity: 1;
  }
}

.people-popup__bg {
  position: absolute;
  left: 0;
  width: 1270px;
  display: block;
  pointer-events: none;
  z-index: 0;
}

/* Rectangle 3325 — #e7f7ff slant mid @ page y 393 */
.people-popup__bg--mid {
  top: 303px;
  height: 323px;
}

/* Rectangle 3335 — #d1ecff slant bottom @ page y 496 (bottom 94) */
.people-popup__bg--bot {
  top: 406px;
  height: 378px;
}

/* close @ page 1531,130 → panel 1206,40 */
.people-popup__close {
  position: absolute;
  left: 1206px;
  top: 40px;
  z-index: 5;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.people-popup__close img {
  display: block;
  width: 24px;
  height: 24px;
}

.people-popup__qa {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.people-popup__qa-item {
  position: absolute;
  left: 60px; /* page 385 */
  width: 560px;
  pointer-events: auto;
}

.people-popup__q {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.4px;
  color: #050505;
  white-space: nowrap;
}

/* answer @ page x 405 (= +20), width 500|470 — content-box so width matches Figma */
.people-popup__a {
  margin: 12px 0 0 20px;
  padding: 0;
  box-sizing: content-box;
  width: 500px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.375px;
  color: #333;
  text-align: justify;
  word-break: keep-all;
}

/* profile copy — 패널과 함께 고정 표시 (사진 등장에 영향 없음) */
.people-popup__aside {
  position: absolute;
  right: 341px;
  left: auto;
  top: 195px; /* page 285 */
  z-index: 4;
  width: auto;
  max-width: 320px;
  text-align: right;
  transform: none !important;
  transition: none !important;
}

.people-popup__aside .people-popup__slogan,
.people-popup__aside .people-popup__team-ko,
.people-popup__aside .people-popup__team-en,
.people-popup__aside .people-popup__name {
  transform: none !important;
  transition: none !important;
  opacity: 1 !important;
}

.people-popup__slogan {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.8px;
  color: #050505;
  white-space: nowrap;
}

.people-popup__team-ko {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #01457e;
  white-space: nowrap;
}

.people-popup__team-en {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.4px;
  color: #01457e;
  white-space: nowrap;
}

.people-popup__name {
  margin: 30px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #050505;
  white-space: nowrap;
}

.people-popup__photo {
  position: absolute;
  z-index: 3;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
}

/* gallery @ page y 644 → 554; x 385 / 770 / 1155 → 60 / 445 / 830 */
.people-popup__gallery {
  position: absolute;
  left: 60px;
  top: 554px;
  z-index: 2;
  display: block;
  width: 1150px;
  height: 180px;
}

.people-popup__gallery-img {
  position: absolute;
  top: 0;
  display: block;
  width: 380px;
  height: 180px;
  object-fit: cover;
  background: #fff;
}

.people-popup__gallery-img:nth-child(1) { left: 0; }
.people-popup__gallery-img:nth-child(2) { left: 385px; }
.people-popup__gallery-img:nth-child(3) { left: 770px; }

/* ===== 진입 인트로 — 히어로(조직도와 동일) → 스테이지 ===== */
body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__bg {
  opacity: 0;
  transform: scale(1.06);
}

body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__dim {
  opacity: 0;
}

body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-breadcrumb,
body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__en,
body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__divider,
body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__ko,
body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__emblem {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

body.people-page-body.is-people-intro:not(.is-people-entered) .people-stage__bg {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

body.people-page-body.is-people-intro:not(.is-people-entered) .people-hit {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

body.people-page-body.is-people-intro:not(.is-people-entered) .people-cta {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

/* entered */
body.people-page-body.is-people-intro.is-people-entered .people-page .page-hero__bg {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.people-page-body.is-people-intro.is-people-entered .people-page .page-hero__dim {
  opacity: 1;
  transition: opacity 0.9s ease 0.15s;
}

body.people-page-body.is-people-intro.is-people-entered .people-page .page-breadcrumb,
body.people-page-body.is-people-intro.is-people-entered .people-page .page-hero__en,
body.people-page-body.is-people-intro.is-people-entered .people-page .page-hero__divider,
body.people-page-body.is-people-intro.is-people-entered .people-page .page-hero__ko,
body.people-page-body.is-people-intro.is-people-entered .people-page .page-hero__emblem {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

body.people-page-body.is-people-intro.is-people-entered .people-page .page-breadcrumb { transition-delay: 0.2s; }
body.people-page-body.is-people-intro.is-people-entered .people-page .page-hero__en { transition-delay: 0.32s; }
body.people-page-body.is-people-intro.is-people-entered .people-page .page-hero__divider { transition-delay: 0.4s; }
body.people-page-body.is-people-intro.is-people-entered .people-page .page-hero__ko { transition-delay: 0.46s; }
body.people-page-body.is-people-intro.is-people-entered .people-page .page-hero__emblem { transition-delay: 0.55s; }

body.people-page-body.is-people-intro.is-people-entered .people-stage__bg {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

body.people-page-body.is-people-intro.is-people-entered .people-stage__bg--1 { transition-delay: 0.5s; }
body.people-page-body.is-people-intro.is-people-entered .people-stage__bg--2 { transition-delay: 0.62s; }
body.people-page-body.is-people-intro.is-people-entered .people-stage__bg--3 { transition-delay: 0.74s; }

body.people-page-body.is-people-intro.is-people-entered .people-hit {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

body.people-page-body.is-people-intro.is-people-entered .people-hit--1 { transition-delay: 0.7s; }
body.people-page-body.is-people-intro.is-people-entered .people-hit--2 { transition-delay: 0.82s; }
body.people-page-body.is-people-intro.is-people-entered .people-hit--3 { transition-delay: 0.94s; }
body.people-page-body.is-people-intro.is-people-entered .people-hit--4 { transition-delay: 1.06s; }
body.people-page-body.is-people-intro.is-people-entered .people-hit--5 { transition-delay: 1.18s; }

body.people-page-body.is-people-intro.is-people-entered .people-cta {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.3s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.3s;
}

@media (prefers-reduced-motion: reduce) {
  body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__bg,
  body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__dim,
  body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-breadcrumb,
  body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__en,
  body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__divider,
  body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__ko,
  body.people-page-body.is-people-intro:not(.is-people-entered) .people-page .page-hero__emblem,
  body.people-page-body.is-people-intro:not(.is-people-entered) .people-stage__bg,
  body.people-page-body.is-people-intro:not(.is-people-entered) .people-hit,
  body.people-page-body.is-people-intro:not(.is-people-entered) .people-cta {
    opacity: 1;
    transform: none;
  }
}

@media all and (max-width: 1024px) {
  .people-page {
    overflow-x: hidden;
  }
}

/* ===== Mobile (≤768): 지그재그 카드 리스트 + 바텀시트 팝업 ===== */
@media (max-width: 768px) {
  .people-main {
    width: 100%;
    min-height: 0;
  }

  .people-stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: auto;
    padding: 28px 20px 56px;
    box-sizing: border-box;
  }

  .people-stage__bg {
    display: none;
  }

  /* Card — 데스크톱 row_bg와 같은 기울기(310/1800 = 17.22%)의 평행사변형 밴드.
     인물 사진 하단 사선이 같은 기울기이므로 밴드 하단선에 사진 하단을 맞춤 */
  .people-hit {
    --slope: 17.22cqw;
    --s: 0.1722;
    /* 사진 폭 / 텍스트 폭 — 태블릿 폭에서도 과하게 커지지 않도록 상한 */
    --cpw: min(44cqw, 200px);
    --gap: 12px;
    --tw: min(100cqw - var(--cpw) - 30px, 240px);
    /* 사진+텍스트 묶음의 좌측 여백 (폰 0, 태블릿은 가운데 정렬 값) */
    --L: 0px;
    position: relative;
    left: auto !important;
    top: auto !important;
    display: flex;
    align-items: flex-end;
    gap: var(--gap);
    width: 100%;
    height: auto;
    padding: 0;
    box-sizing: border-box;
    isolation: isolate;
    container-type: inline-size;
  }

  .people-hit::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #e7f7ff;
    clip-path: polygon(0 var(--slope), 100% 0, 100% calc(100% - var(--slope)), 0 100%);
  }

  .people-hit--right {
    flex-direction: row-reverse;
  }

  .people-hit--right::before {
    background: #d1ecff;
  }

  .people-hit .people-hit__photo {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 var(--cpw);
    width: var(--cpw);
    height: auto;
    aspect-ratio: 5 / 7;
  }

  /* 사진 왼쪽 끝 x 지점의 밴드 하단 높이만큼 올림 */
  .people-hit .people-hit__photo {
    margin-bottom: calc(var(--s) * var(--L));
  }

  .people-hit--right .people-hit__photo {
    margin-bottom: calc(var(--s) * (100cqw - var(--L) - var(--cpw)));
  }

  .people-hit__photo-img {
    object-fit: contain;
    object-position: center bottom;
  }

  .people-hit .people-hit__info {
    position: static;
    flex: 0 1 var(--tw);
    min-width: 0;
    width: var(--tw);
    /* 텍스트 양 끝 x 지점의 밴드 상·하단선 안쪽에 들어오도록 */
    padding:
      calc(var(--s) * (100cqw - var(--L) - var(--cpw) - var(--gap)) + 10px)
      0
      calc(var(--s) * (var(--L) + var(--cpw) + var(--gap) + var(--tw)) + 14px);
  }

  .people-hit--right .people-hit__info {
    padding:
      calc(var(--s) * (100cqw - var(--L)) + 10px)
      0
      calc(var(--s) * (var(--L) + var(--tw)) + 14px);
  }

  /* 태블릿 — 사진+텍스트 묶음을 밴드 가운데로 */
  @media (min-width: 600px) {
    .people-hit {
      --gap: 32px;
      --tw: min(240px, 100cqw - var(--cpw) - var(--gap) - 40px);
      --L: calc((100cqw - var(--cpw) - var(--gap) - var(--tw)) / 2);
      justify-content: center;
    }
  }

  .people-hit__slogan,
  .people-hit__team-ko,
  .people-hit__team-en,
  .people-hit--right .people-hit__slogan,
  .people-hit--right .people-hit__team-ko,
  .people-hit--right .people-hit__team-en {
    padding-left: 0;
    padding-right: 0;
  }

  .people-hit__slogan {
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: -0.5px;
  }

  .people-hit__team-ko {
    margin-top: 8px;
    font-size: 14px;
    letter-spacing: -0.35px;
  }

  .people-hit__team-en {
    font-size: 11px;
    letter-spacing: -0.2px;
  }

  .people-hit__btn {
    width: 100%;
    max-width: 180px;
    height: 40px;
    margin-top: 14px;
    padding: 0 16px;
  }

  .people-hit--right .people-hit__btn {
    margin-left: auto;
  }

  .people-hit__name {
    font-size: 15px;
    letter-spacing: -0.35px;
  }

  .people-hit__plus {
    width: 12px;
    height: 12px;
  }

  /* 터치 기기 — 화면 중앙에 온 카드만 컬러 사진 */
  .people-hit.is-in-view .people-hit__photo-img--color {
    opacity: 1;
  }

  .people-hit__photo-img--color {
    transition: opacity 0.5s ease;
  }

  /* CTA */
  .people-cta {
    position: static;
    width: auto;
    margin-top: 28px;
    padding: 32px 20px;
    border-radius: 16px;
    background: #0a1c31;
    text-align: center;
  }

  .people-cta__sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
  }

  .people-cta__title {
    margin-top: 6px;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: #fff;
  }

  .people-cta__btn {
    position: static;
    width: 100%;
    max-width: 240px;
    height: 48px;
    margin-top: 20px;
    padding: 0 22px;
    font-size: 16px;
  }

  /* —— Popup → 바텀시트 —— */
  .people-popup {
    align-items: flex-end;
  }

  .people-popup__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    width: 100%;
    height: calc(100% - 48px);
    padding: 0 20px 32px;
    border-radius: 20px 20px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    container-type: inline-size;
    /* 사진: 높이 --ph, 비율 --photo-ratio(JS), 하단 사선 기울기 --s(17.22%) */
    --s: 0.1722;
    --ph: 200px;
    --pt: 48px;
    --pw: calc(var(--ph) * var(--photo-ratio, 0.72));
    --pr: 16px;
    --pb: calc(var(--pt) + var(--ph));
    --pl: calc(20px + 100cqw - var(--pw) - var(--pr));
  }

  /* 태블릿 — 사진 크게, 좌측으로 (밴드 사선은 위 변수로 자동 계산) */
  @media (min-width: 600px) {
    .people-popup__panel {
      --ph: 260px;
      --pr: 12cqw;
    }
  }

  /* 프로필 헤더 밴드 — 하단선이 사진 하단 사선(좌하단 기준)과 일치 */
  .people-popup__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(var(--pb) + var(--s) * var(--pl) + 2px);
    z-index: 0;
    background: linear-gradient(180deg, #e7f7ff 0%, #d1ecff 100%);
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(var(--pb) - var(--s) * (20px + var(--pw) + var(--pr))),
      0 calc(var(--pb) + var(--s) * var(--pl))
    );
    pointer-events: none;
  }

  .people-popup__bg {
    display: none;
  }

  .people-popup__close {
    position: fixed;
    left: auto;
    right: 16px;
    top: calc(48px + 16px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  }

  .people-popup__close img {
    width: 20px;
    height: 20px;
    margin: 0 auto;
  }

  .people-popup__aside {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    right: auto;
    top: auto;
    z-index: 2;
    max-width: none;
    padding: 0 0 80px;
    text-align: left;
  }

  .people-popup__slogan {
    font-size: 22px;
    white-space: normal;
    word-break: keep-all;
    letter-spacing: -0.55px;
  }

  .people-popup__team-ko {
    margin-top: 8px;
    font-size: 15px;
  }

  .people-popup__team-en {
    font-size: 12px;
    white-space: normal;
  }

  .people-popup__name {
    margin-top: 14px;
    font-size: 17px;
  }

  .people-popup__photo {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    left: auto !important;
    top: auto !important;
    z-index: 3;
    width: var(--pw) !important;
    height: var(--ph) !important;
    margin-top: var(--pt);
    margin-right: var(--pr);
    margin-bottom: calc(var(--s) * var(--pl) + 20px);
  }

  .people-popup__qa {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 2;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 8px;
    pointer-events: auto;
  }

  .people-popup__qa-item {
    position: static;
    width: auto;
  }

  .people-popup__q {
    font-size: 15px;
    white-space: normal;
    word-break: keep-all;
    color: #01457e;
  }

  .people-popup__a {
    width: auto !important;
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
  }

  .people-popup__gallery {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 3;
    left: auto;
    top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: auto;
    height: auto;
    margin-top: 28px;
  }

  .people-popup__gallery-img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 380 / 180;
    border-radius: 10px;
  }

  /* 이미지 자체 1px 스트로크가 라운드에 잘리므로, 같은 색 라운드 스트로크를 위에 덮음
     (outline은 이미지 위에 그려지고 border-radius를 따라감) */
  .people-popup__gallery.is-framed .people-popup__gallery-img {
    outline: 1px solid #b1d5f1;
    outline-offset: -1px;
  }

  /* 태블릿 — 프로필 카피 크게, 위로 */
  @media (min-width: 600px) {
    .people-popup__aside {
      padding-bottom: 116px;
    }

    .people-popup__slogan {
      font-size: 30px;
      letter-spacing: -0.75px;
    }

    .people-popup__team-ko {
      margin-top: 10px;
      font-size: 19px;
    }

    .people-popup__team-en {
      font-size: 15px;
    }

    .people-popup__name {
      margin-top: 20px;
      font-size: 21px;
    }
  }

  .people-popup__gallery-img:nth-child(1) {
    grid-column: 1 / -1;
  }
}

/* Mobile footer — 채용공고 등 모바일 서브페이지와 동일 */
@media (max-width: 768px) {
  .people-page-body .main-footer {
    min-width: 0;
    height: auto;
  }

  .people-page-body .main-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 20px 44px;
    gap: 24px;
  }

  .people-page-body .main-footer__logo {
    width: 220px;
    height: auto;
  }

  .people-page-body .main-footer__center {
    max-width: none;
    width: 100%;
    flex: none;
    margin-left: 0;
  }

  .people-page-body .main-footer__links {
    gap: 20px;
    flex-wrap: wrap;
  }

  .people-page-body .main-footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .people-page-body .main-footer__sep {
    display: none;
  }

  .people-page-body .main-footer__copy {
    margin-top: 20px;
  }

  .people-page-body .main-footer__family {
    width: 100%;
    margin-left: 0;
  }

  .people-page-body .main-footer__family-btn,
  .people-page-body .main-footer__family-panel {
    width: 100%;
  }
}
