.container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}

html:has(body.has-scroll-snap) {
  scroll-snap-type: y proximity;
}

body.has-scroll-snap .page-hero,
body.has-scroll-snap .culture-intro,
body.has-scroll-snap .culture-values,
body.has-scroll-snap .culture-principles,
body.has-scroll-snap .culture-talent,
body.has-scroll-snap .culture-benefits,
body.has-scroll-snap .culture-development {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.page-hero {
  position: relative;
  width: 100%;
  height: 600px;
  /* 가로(clip): 줌인 애니메이션(.page-hero-image scale 1.08→1)이 좌우로 삐져나와
     가로 스크롤이 생기는 것 방지.
     세로(visible): 브레드크럼 드롭다운이 히어로 아래 콘텐츠 위로 펼쳐지도록 허용.
     (overflow:hidden 으로 양쪽을 막으면 아래로 열린 드롭다운이 잘려 안 보였음) */
  overflow-x: clip;
  overflow-y: visible;
  background: #1a2a4a;
  /* 어두운 히어로: 강조 텍스트(.hero-eyebrow)는 밝은 블루 유지 */
  --color-accent-text: var(--color-accent);
}

/* 히어로 바로 다음 콘텐츠 섹션을 이미지(z-index:1) 위 레이어로 올린다.
   히어로가 overflow-y:visible 이라 로드 시 줌(scale 1.08→1) 이미지가 잠깐
   히어로 아래로 삐져나오는데, 이 섹션의 불투명 배경이 그 부분을 가려준다.
   브레드크럼 드롭다운(z-index:20)은 여전히 이 위로 펼쳐진다. */
main > .page-hero + * {
  position: relative;
  z-index: 1;
}

.page-hero-image,
.page-hero-overlay {
  border-radius: 0;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 2;
}

.page-hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 32px 120px;
  color: #fff;
}

.page-hero-eyebrow {
  margin: 0 0 16px;
  font-size: var(--fs-small);
  font-weight: 700;

  color: #fff;
  opacity: 0.85;
}

.page-hero .hero-eyebrow {
  margin: 0 0 18px;
  font-family: 'Pretendard Variable', sans-serif;
  font-size: var(--fs-small);
  font-weight: 600;

  text-transform: uppercase;
  color: var(--color-accent-text);
  animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.page-hero h1.hero-tagline {
  margin: 0 0 28px;
  max-width: var(--max-width-content);
  font-family: 'Pretendard Variable', 'Nunito', sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.16;
  text-wrap: balance;
  animation: hero-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.page-hero .hero-desc {
  margin: 0 auto;
  max-width: var(--max-width-narrow);
  font-family: 'Pretendard Variable', sans-serif;
  font-size: clamp(var(--fs-small), 1.4vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  animation: hero-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

@media (max-width: 767px) {
  .page-hero .hero-desc {
    font-size: var(--fs-body);
    line-height: 1.6;
  }
}

.page-hero .hero-subtagline-ko {
  margin: 0;
  max-width: 920px;
  font-family: 'Pretendard Variable', Pretendard, sans-serif;
  font-size: clamp(var(--fs-small), 1.4vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  animation: hero-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.page-hero-image {
  animation: hero-image-zoom 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.culture-intro {
  padding: 100px 0 80px;
  background: #fff;
  text-align: center;
}

.culture-intro .section-eyebrow {
  margin-bottom: 18px;
}

.culture-intro .section-title {
  margin-bottom: 28px;
}

.culture-intro-desc {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-sub);
}

.breadcrumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  z-index: 20;
  display: flex;
  justify-content: center;
  animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.breadcrumbs-inner {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
}

.bc-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.15s ease;
}

.bc-home:hover {
  color: #fff;
}

.bc-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--fs-small);
  font-weight: 300;
}

.bc-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-small);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.bc-item-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.bc-item-wrap::after {
  /* 트리거와 드롭다운 사이 14px 간격을 메우는 hover 브리지(아래쪽). */
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  pointer-events: auto;
}

.bc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: var(--fs-small);
  font-weight: 300;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.15s ease;
}

.bc-trigger:hover {
  color: #fff;
}

.bc-trigger.bc-current {
  color: #fff;
  font-weight: 300;
}

.bc-caret {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  display: block;
}

.bc-item-wrap:hover .bc-caret {
  transform: rotate(180deg);
}

.bc-submenu {
  /* 아래로 열린다. 히어로(.page-hero)는 overflow-y:visible 라서
     이 드롭다운이 히어로 아래 콘텐츠 영역 위로 펼쳐진다(잘리지 않음). */
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  transform: translateY(-6px);
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0s linear 0.32s;
  z-index: 30;
}

.bc-item-wrap:hover .bc-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0s linear 0s;
}

.bc-submenu.bc-submenu--right-aligned {
  left: auto;
  right: 0;
}

.bc-submenu a {
  display: block;
  padding: 10px 16px;
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 500;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.bc-submenu a:hover {
  background: #f5f5f5;
  color: var(--color-accent-text);
}

.bc-submenu a.is-active {
  color: var(--color-accent-text);
  font-weight: 600;
}

.section-title {
  margin: 0 0 28px;
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.3;
  text-wrap: balance;
}

.section-eyebrow {
  margin: 0 0 18px;
  text-align: center;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent-text);
}

.section-intro {
  max-width: var(--max-width-narrow);
  margin: 0 auto 80px;
  font-size: var(--fs-body);
  font-weight: 400;
  text-align: center;
  line-height: 1.6;
  color: var(--color-sub);
}

.culture-values {
  padding: 100px 0 120px;
  background: #fafbfc;
}

.values-header {
  text-align: center;
  margin-bottom: 56px;
}

.values-title {
  margin: 0 0 16px;
  font-family: 'Pretendard Variable', 'Nunito', sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.values-title-brand {
  color: var(--color-primary);
  margin-right: 10px;
}

.values-title-accent {
  color: var(--color-accent-text);
}

.values-subtitle {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-sub);
  letter-spacing: -0.005em;
}

.values-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.values-caption {
  max-width: 220px;
}

.values-caption--left {
  justify-self: end;
  text-align: left;
}

.values-caption--right {
  justify-self: start;
  text-align: left;
}

.values-caption-ko {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.values-caption-en {
  margin: 0 0 18px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-accent-text);
}

.values-caption-desc {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-sub);
  letter-spacing: -0.01em;
}

.values-stage {
  position: relative;
  width: 600px;
  height: 600px;
  flex-shrink: 0;
}

.values-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.values-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #ffffff 65%, #eef3fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 50px rgba(74, 144, 217, 0.12);
}

.values-logo img {
  width: 60%;
  height: auto;
  object-fit: contain;
}

.value-badge {
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(31, 78, 138, 0.14);
}

.value-badge:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 14px 32px rgba(31, 78, 138, 0.22);
  z-index: 2;
}

.value-badge svg {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
  flex-shrink: 0;
}

.value-badge-ko {
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.2;
}

.value-badge-en {
  margin-top: 2px;
  font-size: var(--fs-small);
  font-weight: 500;

  opacity: 0.95;
  line-height: 1.2;
}

html[lang="en"] .value-badge-en,
html[lang="en"] .values-caption-en {
  display: none;
}

.value-badge--mid {
  background: #4a90d9;
  color: #fff;
}

.value-badge--light {
  background: #b8d4f1;
  color: #1a4781;
}

.value-badge--dark {
  background: #1f4e8a;
  color: #fff;
}

/* Stage 600x600, center (300,300), arc radius 240, badge 116 (offset 58) */
/* Angle 60° from horizontal: cos60=0.5, sin60=0.866 */
/* Top-left:  cx - 0.5*240 = 180, cy - 0.866*240 = 92 */
/* Mid-left:  cx - 240 = 60, cy = 300 */
/* Bot-left:  cx - 0.5*240 = 180, cy + 0.866*240 = 508 */
.value-badge--pos-tl {
  top: 92px;
  left: 180px;
  transform: translate(-50%, -50%);
}

.value-badge--pos-ml {
  top: 300px;
  left: 60px;
  transform: translate(-50%, -50%);
}

.value-badge--pos-bl {
  top: 508px;
  left: 180px;
  transform: translate(-50%, -50%);
}

.value-badge--pos-tr {
  top: 92px;
  left: 420px;
  transform: translate(-50%, -50%);
}

.value-badge--pos-mr {
  top: 300px;
  left: 540px;
  transform: translate(-50%, -50%);
}

.value-badge--pos-br {
  top: 508px;
  left: 420px;
  transform: translate(-50%, -50%);
}

.culture-principles {
  padding: 100px 0;
  background: #fff;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.principle {
  min-width: 0; /* 그리드 1fr 균등폭 보장 (긴 일본어로 인한 블로우아웃·가로 오버플로 방지) */
  padding: 40px 32px;
  background: #f8fafc;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.principle:hover {
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.principle-num {
  display: inline-block;
  margin-bottom: 18px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-accent-text);
}

.principle h3 {
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.4;
}

.principle p {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-sub);
  text-wrap: balance;
}

.principle p strong {
  color: var(--color-primary);
  font-weight: 600;
}

.culture-talent {
  padding: 120px 0;
  background: #fafbfc;
}

.talent-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--max-width-content);
  margin: 0 auto;
}

.talent-item {
  display: flex;
  gap: 24px;
  padding: 36px 32px;
  background: #fff;
  border-radius: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.talent-item:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.talent-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eaf4fc;
  color: var(--color-accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.talent-icon svg {
  width: 28px;
  height: 28px;
}

.talent-body {
  flex: 1;
  min-width: 0;
}

.talent-body h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.4;
}

.talent-lead {
  margin: 0 0 18px;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.talent-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.talent-body li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 10px;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-sub);
}

.talent-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 50%;
}

.culture-benefits {
  padding: 120px 0;
  background: #fff;
}

.culture-benefits .section-title {
  margin-bottom: 64px;
}

.benefits-group {
  margin-bottom: 72px;
}

.benefits-group:last-child {
  margin-bottom: 0;
}

.benefits-group-title {
  margin: 0 0 36px;
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px 24px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.benefit-item:hover {
  background: #f8fafc;
  transform: translateY(-3px);
}

.benefit-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-text);
  margin-bottom: 14px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-label {
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.culture-development {
  padding: 120px 0;
  background: #fafbfc;
}

.culture-development .section-intro {
  margin-bottom: 64px;
}

.development-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width-content);
  margin: 0 auto;
}

.development-card {
  padding: 48px 28px 40px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.development-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.development-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 155, 223, 0.08);
  border-radius: 50%;
  color: var(--color-accent-text);
}

.development-icon svg {
  width: 36px;
  height: 36px;
}

.development-card-title {
  margin: 0 0 12px;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.development-card-desc {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-sub);
}

.leadership-section {
  padding: 100px 0 60px;
  background: #fff;
}

.leadership-section .section-eyebrow,
.org-section .section-eyebrow {
  margin-bottom: 14px;
}

.leadership-section .section-title,
.org-section .section-title {
  margin-bottom: 56px;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.leader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px 36px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leader-card:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.leader-avatar {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  background: #f3f4f6;
  color: var(--color-accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  overflow: hidden;
}

.leader-avatar svg {
  width: 80px;
  height: 80px;
  opacity: 0.65;
}

.leader-avatar--photo {
  background: #fafafa;
}

.leader-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.leader-card:hover .leader-avatar--photo img {
  filter: grayscale(0);
}

.leader-name {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.leader-role {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: #374151;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.leader-role .role-en {
  color: var(--color-accent-text);
  font-weight: 600;
  font-family: 'Nunito', 'Pretendard Variable', sans-serif;
}

.leader-role .role-sep {
  color: #d1d5db;
  font-weight: 400;
}

.leader-dept {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: -0.005em;
  line-height: 1.5;
}

.leader-card--clickable {
  cursor: pointer;
}

.leader-card--clickable:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.leader-card-hint {
  margin-top: 16px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-accent-text);
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.leader-card--clickable:hover .leader-card-hint,
.leader-card--clickable:focus-visible .leader-card-hint {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- CEO greeting modal ---------- */
.ceo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ceo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ceo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.ceo-modal-panel {
  position: relative;
  width: 100%;
  max-width: var(--max-width-narrow);
  max-height: 90vh;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ceo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  color: var(--color-primary);
  font-size: var(--fs-h3);
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, color 0.2s ease;
}

.ceo-modal-close:hover {
  background: var(--color-primary);
  color: #fff;
}

.ceo-modal-content {
  padding: 56px 56px 48px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ceo-modal-eyebrow {
  margin: 0 0 14px;
  font-size: var(--fs-small);
  font-weight: 700;

  color: var(--color-accent-text);
  text-transform: uppercase;
}

.ceo-modal-heading {
  margin: 0 0 32px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--color-primary);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.3;
}

.ceo-modal-body p {
  margin: 0 0 16px;
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.85;
  color: #374151;
  letter-spacing: -0.01em;
}

.ceo-modal-subheading {
  margin: 32px 0 14px;
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-accent-text);
  line-height: 1.4;
}

.ceo-modal-signature {
  margin: 36px 0 0 !important;
  padding-top: 22px;
  border-top: 1px solid #e5e7eb;
  text-align: right;
  font-size: var(--fs-small) !important;
  font-weight: 500;
  color: var(--color-primary) !important;
}

.ceo-modal-signature strong {
  font-size: var(--fs-body);
  font-weight: 700;
  margin-left: 4px;
}

@media (max-width: 720px) {
  .ceo-modal {
    padding: 0;
  }

  .ceo-modal-panel {
    max-width: none;
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
  }

  .ceo-modal-content {
    padding: 64px 24px 32px;
  }

  .ceo-modal-heading {
    font-size: var(--fs-h3);
  }

  .ceo-modal-body p {
    font-size: var(--fs-small);
    line-height: 1.8;
  }
}

.org-section {
  padding: 60px 0 120px;
  background: #fafbfc;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.org-card {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  background: #fff;
  border-radius: 16px;
  border-top: 4px solid var(--color-accent);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.org-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.org-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 14px;
}

.org-card-title {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.org-count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 4px 10px;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 700;
  border-radius: 999px;
}

.org-lead {
  margin: 0 0 16px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.org-lead-role {
  margin-left: 4px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-sub);
}

.org-units {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.org-unit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: #f4f7fb;
  border-radius: 8px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-primary);
}

.org-unit-name {
  flex: 1;
  letter-spacing: -0.01em;
}

.org-unit-count {
  flex-shrink: 0;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-accent-text);
}

.org-unit--group {
  flex-direction: column;
  align-items: stretch;
  background: #f4f7fb;
  padding: 12px 14px 14px;
}

.org-unit--group .org-unit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-primary);
}

.org-unit-lead {
  margin: 4px 0 10px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-sub);
  letter-spacing: -0.01em;
}

.org-unit-lead span {
  color: #94a3b8;
  font-weight: 400;
}

.org-subunits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid #d8e3f0;
  padding-left: 12px;
  margin-left: 4px;
}

.org-subunits li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: #fff;
  border-radius: 6px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-sub);
}

.org-subunits li span:first-child {
  flex: 1;
  letter-spacing: -0.01em;
}

.org-subunits li .org-unit-count {
  font-size: var(--fs-small);
}

@media (max-width: 1023px) {
  .leadership-section,
  .org-section {
    padding: 64px 0;
  }

  .leader-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .org-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .leader-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .leader-card {
    padding: 32px 24px 36px;
  }

  .leader-avatar {
    margin-bottom: 24px;
  }

  .leader-avatar svg {
    width: 72px;
    height: 72px;
  }

  .leader-name {
    font-size: var(--fs-h3);
  }

  .org-grid {
    grid-template-columns: 1fr;
  }

  .org-card {
    padding: 24px;
  }
}

.ip-page-desc {
  margin: -8px 0 32px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-accent-text);
  letter-spacing: -0.01em;
}

.ip-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin: 0;
  padding: 0;
}

.ip-row {
  display: grid;
  grid-template-columns: 100px 130px 1fr 130px;
  gap: 24px;
  align-items: center;
  padding: 18px 12px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s ease;
}

.ip-row:hover {
  background: #f8fafc;
}

.ip-row .cert-row-cat {
  width: fit-content;
  max-width: 100%;
}

.ip-row .cert-row-cat[data-cat="빅데이터"] {
  background: #0d9488;
}

.ip-row .cert-row-cat[data-cat="이동통신"] {
  background: #7c3aed;
}

.ip-row .cert-row-cat[data-cat="인터넷 메시징"] {
  background: #64748b;
}

.ip-row .cert-row-cat[data-cat="SDN/NFV"] {
  background: #d97706;
}

.ip-row .cert-row-cat[data-cat="모바일"] {
  background: #db2777;
}

.ip-row-tag {
  margin-left: 4px;
  font-style: normal;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-accent-text);
}

.ip-row-num {
  font-family: 'Nunito', 'Pretendard Variable', sans-serif;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-muted);

  white-space: nowrap;
  text-align: right;
}

@media (max-width: 760px) {
  .ip-row {
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto;
    gap: 6px 14px;
    padding: 16px 8px;
    align-items: start;
  }

  .ip-row .cert-row-date {
    grid-column: 1;
    grid-row: 1;
  }

  .ip-row .cert-row-cat {
    grid-column: 2;
    grid-row: 1;
  }

  .ip-row .cert-row-title {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: var(--fs-small);
  }

  .ip-row-num {
    grid-column: 1 / -1;
    grid-row: 3;
    text-align: left;
    margin-top: 2px;
  }

  .ip-page-desc {
    font-size: var(--fs-small);
  }
}

.careers-intro {
  padding: 100px 0 40px;
  background: #fff;
}

.careers-intro-title {
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-accent-text);
  line-height: 1.4;
}

.careers-intro-desc {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-sub);
  max-width: var(--max-width-content);
}

.careers-process {
  padding: 120px 0 80px;
  background: #fff;
}

.careers-section-heading {
  margin: 0 0 48px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.process-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 180px;
  padding: 26px 16px 22px;
  background: #fff;
  border: 2px solid #d6e6f7;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(31, 78, 138, 0.12);
}

.process-step.is-final {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.process-step.is-final .step-num,
.process-step.is-final .step-label,
.process-step.is-final .step-icon {
  color: #fff;
}

.step-num {
  font-size: var(--fs-body);
  font-weight: 700;

  color: var(--color-accent-text);
  margin-bottom: 12px;
}

.step-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-text);
  margin-bottom: 14px;
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.015em;
}

.process-step.is-final .step-label {
  color: #fff;
}

.process-arrow {
  font-size: 32px;
  font-weight: 300;
  color: #b8c8df;
  line-height: 1;
}

.careers-info {
  padding: 60px 0 80px;
  background: #fff;
}

.info-block {
  padding: 28px 0;
  border-top: 1px solid #e5e7eb;
}

.info-block:last-child {
  border-bottom: 1px solid #e5e7eb;
}

.info-title {
  margin: 0 0 18px;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--color-accent-text);
  letter-spacing: -0.01em;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 8px;
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-sub);
}

.info-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-sub);
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-callout {
  margin: 18px 0;
  padding: 22px 28px;
  background: #f1f3f6;
  border-radius: 6px;
}

.info-callout ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-callout li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 6px;
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-sub);
}

.info-callout li::before {
  content: '-';
  position: absolute;
  left: 0;
  top: 0;
}

.info-callout li:last-child {
  margin-bottom: 0;
}

@media (max-width: 1023px) {
  .page-hero {
    height: 480px;
  }

  .culture-values,
  .culture-principles,
  .culture-talent,
  .culture-benefits,
  .culture-development {
    padding: 80px 0;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .development-grid {
    grid-template-columns: 1fr;
  }

  .values-diagram {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
  }

  .values-caption--left,
  .values-caption--right {
    justify-self: center;
    text-align: center;
    max-width: 480px;
  }

  /* 태블릿(768~1023px): 단일 컬럼 폭이 600px보다 넉넉하므로 오비탈을 원본 크기로 둔다.
     과거 transform:scale 은 레이아웃 박스(600px)를 줄이지 못해 텍스트만 16px 미만으로
     작아지고 좁은 구간에선 가로 오버플로를 유발했다. */

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .talent-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .page-hero {
    height: 420px;
  }

  .page-hero-content {
    padding: 64px 20px 96px;
  }

  .culture-intro {
    padding: 64px 0 48px;
  }

  .culture-intro-desc {
    font-size: var(--fs-small);
    line-height: 1.7;
  }

  .culture-intro-desc br {
    display: none;
  }

  .breadcrumbs-inner {
    gap: 12px;
    padding: 10px 18px;
  }

  .bc-item,
  .bc-sep,
  .bc-trigger {
    font-size: var(--fs-small);
  }

  /* 좁은 모바일: 제품명 앞 "Graphio" 접두 숨김 → 브레드크럼 줄바꿈 방지 */
  .breadcrumbs .bc-brand {
    display: none;
  }

  .culture-values,
  .culture-principles,
  .culture-talent,
  .culture-benefits,
  .culture-development {
    padding: 64px 0;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 12px;
  }

  .benefits-group {
    margin-bottom: 48px;
  }

  .benefit-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
  }

  .benefit-label {
    font-size: var(--fs-small);
  }

  .development-card {
    padding: 32px 24px;
  }

  .careers-intro {
    padding: 64px 0 32px;
  }

  .careers-intro-title {
    font-size: var(--fs-h3);
  }

  .careers-section-heading {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .process-steps {
    gap: 12px;
  }

  .process-step {
    box-sizing: border-box;
    flex: 0 1 calc(50% - 6px);
    max-width: none;
    width: auto;
    padding: 22px 12px 18px;
  }

  .process-arrow {
    display: none;
  }

  .info-callout {
    padding: 18px 20px;
  }

  /* 모바일: 600px 고정 오비탈 다이어그램을 가치 칩 그리드(3열)로 재배치한다.
     (기존 transform:scale(0.55)는 레이아웃 박스가 600px로 남아 페이지가
      가로로 넘치고 화면 전체가 오른쪽으로 밀리던 원인이었다.) */
  .values-stage {
    position: static;
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: auto;
    margin: 0 auto;
    transform: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 10px;
    justify-items: center;
  }

  .values-arc,
  .values-logo {
    display: none;
  }

  .value-badge {
    position: static;
    transform: none;
    box-sizing: border-box;
    width: 100%;
    max-width: 112px;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 8px;
  }

  .value-badge:hover {
    transform: scale(1.04);
    box-shadow: 0 14px 32px rgba(31, 78, 138, 0.22);
  }

  .values-caption-ko {
    font-size: var(--fs-h3);
  }

  .values-caption-desc {
    font-size: var(--fs-small);
  }

  .principle {
    padding: 28px 24px;
  }

  .principle h3 {
    font-size: var(--fs-h3);
  }

  .talent-item {
    flex-direction: column;
    padding: 28px 24px;
    gap: 16px;
  }
}

/* 초소형 화면(≤360px): 가치 칩을 2열로 내려 칩이 충분히 커서 라벨이 잘리지 않게 한다. */
@media (max-width: 360px) {
  .values-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 300px;
  }
}

/* ============================================================
   노트북 등 좁은 화면 좌우 여백 (2026-06-19)
   화면 가로가 본문 최대폭(1480px) 이하로 작아지면 콘텐츠가 양 끝에
   딱 붙지 않도록 기본 좌우 패딩을 키운다. (데스크톱 1024~1480px 구간)
   ※ 1480px 초과 큰 모니터는 기존처럼 중앙정렬 여백 유지(영향 없음)
   ============================================================ */
@media (min-width: 1024px) and (max-width: 1480px) {
  .container {
    padding-left: clamp(40px, 5vw, 80px);
    padding-right: clamp(40px, 5vw, 80px);
  }
}

/* ============================================================
   모바일·태블릿 좌우 여백 (2026-06-21)
   .container 기본 padding이 0이라 1023px 이하 전 구간에서 본문이
   화면 양 끝에 딱 붙던 문제 해결. 위 노트북 거터(40~80px)와 이어지도록
   모바일 20px → 태블릿 40px로 점증시킨다.
   ============================================================ */
@media (max-width: 1023px) {
  .container {
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
  }
}
