/**
 * VSP — Compact layout
 * 섹션 상단 여백을 줄여 데스크톱(normal/wide)에서 한 섹션이 한 화면(헤더 제외)에 들어오게 한다.
 * mobile 은 세로로 길어지는 게 정상이라 여백만 줄인다.
 */

:root { --section-padding-y: 56px; }

.section { padding-top: 40px; padding-bottom: 48px; }
.editorial-header { margin-bottom: 24px; gap: 6px; }
.editorial-title { font-size: 36px; }
.editorial-subtitle { font-size: 16px; margin-top: 2px; }

/* 앵커 이동 시 고정 헤더에 가리지 않게 */
section[id] { scroll-margin-top: var(--header-height-scrolled); }

/* 헤더 CTA 제거 후 내비를 오른쪽 정렬 */
.header-actions { min-width: 0; }

/* ---------- 프로젝트 툴바(연도 탭 포함) ---------- */
.projects-toolbar { margin-bottom: 12px; }
.projects-tabs { flex-shrink: 0; }
.project-tab-btn { padding: 8px 18px; font-size: 14px; }
.projects-filters { margin-bottom: 12px; }
.projects-result .projects-counter { font-size: 12px; color: var(--color-slate-light); }
.projects-result .projects-counter strong { color: inherit; }
.projects-table { margin-bottom: 16px; }
.projects-table-header { padding: 10px 24px; }
.project-item-row { padding: 10px 24px; }
.project-col-name { font-size: 15px; }
.projects-grid { margin-bottom: 16px; gap: 14px; }
.project-card { min-height: 140px; padding: 18px 20px; gap: 6px; }
.projects-empty { padding: 32px 16px; margin-bottom: 16px; }
.projects-kdn-banner { margin-top: 8px; }
.projects-skeleton span { height: 44px; }

@media (min-width: 1024px) {
  /* 섹션 머리말: 제목(좌) · 설명(우)을 한 줄에 */
  .editorial-header {
    display: grid; grid-template-columns: auto 1fr; column-gap: 40px; row-gap: 4px; align-items: end;
  }
  .editorial-meta { grid-column: 1 / -1; }
  .editorial-title { grid-column: 1; grid-row: 2; }
  .editorial-subtitle { grid-column: 2; grid-row: 2; justify-self: end; text-align: right; margin: 0 0 6px; max-width: 560px; font-size: 15px; }
  .projects-kdn-banner { padding: 14px 24px; }
  .projects-kdn-banner-info p { display: none; }

  /* About: 소개 + 사실표를 한 줄, 필라는 아래 4열 */
  .about-intro-grid { gap: 40px; margin-bottom: 28px; }
  .about-lead-text { font-size: 20px; margin-bottom: 12px; }
  .about-desc-text { font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
  .about-facts-table { padding: 20px 24px; }
  .about-facts-title { margin-bottom: 8px; padding-bottom: 8px; }
  .fact-row { padding: 6px 0; font-size: 13px; }
  .about-pillars-grid { gap: 16px; }
  .pillar-card { padding: 20px 20px; }
  .pillar-index { margin-bottom: 8px; }
  .pillar-title { font-size: 16px; margin-bottom: 8px; }
  .pillar-desc { font-size: 13px; line-height: 1.6; }

  /* Services */
  .services-layout { gap: 16px; }
  .service-featured-card { padding: 28px 36px; gap: 40px; }
  .service-featured-title { font-size: 26px; margin-bottom: 8px; }
  .service-featured-sub { font-size: 15px; margin-bottom: 10px; }
  .service-featured-desc { font-size: 14px; line-height: 1.65; margin-bottom: 14px; }
  .services-sub-grid { gap: 16px; }
  .service-sub-card { padding: 22px 24px; }
  .service-sub-num { margin-bottom: 8px; }
  .service-sub-title { font-size: 19px; }
  .service-sub-korean { margin-bottom: 8px; font-size: 14px; }
  .service-sub-desc { font-size: 13px; line-height: 1.6; margin-bottom: 14px; }

  /* Manpower */
  .manpower-grid { gap: 16px; }
  .manpower-card { padding: 22px 20px; }
  .manpower-card-top { margin-bottom: 12px; }
  .manpower-notice-panel { margin-top: 16px; }

  /* R&D: 두 과제를 좌우로 나란히 */
  .rnd-projects-wrap { flex-direction: row; gap: 20px; align-items: stretch; }
  .rnd-project-card { flex: 1; grid-template-columns: 1fr; gap: 18px; padding: 24px 28px; }
  .rnd-project-meta { margin-bottom: 8px; }
  .rnd-project-title { font-size: 20px; margin-bottom: 6px; }
  .rnd-project-sub { font-size: 13px; margin-bottom: 10px; }
  .rnd-project-desc { font-size: 13px; line-height: 1.65; margin-bottom: 0; }
  .rnd-points-list { padding: 16px 18px; gap: 10px; }
  .rnd-point-content h4 { font-size: 14px; margin-bottom: 2px; }
  .rnd-point-content p { font-size: 12.5px; line-height: 1.5; }

  /* Contact */
  .contact-grid { gap: 40px; }
  .contact-info-block { gap: 20px; }
  .contact-details-list { gap: 10px; }
  .contact-detail-row { font-size: 14px; }
  .contact-form-card { padding: 24px 28px; }
  .contact-form-title { margin-bottom: 14px; font-size: 18px; }
  .form-group { margin-bottom: 12px; }
  .form-input, .form-select { padding: 9px 14px; }
  .form-textarea { min-height: 80px; }
  .form-label { margin-bottom: 4px; }
}

/* wide 모드는 글자·여백이 커지므로 약간 여유 */
@media (min-width: 1440px) {
  .section { padding-top: 44px; padding-bottom: 52px; }
  .editorial-title { font-size: 42px; }
  .editorial-subtitle { font-size: 16px; }
  .editorial-header { margin-bottom: 24px; }
}

/* mobile: 여백만 축소 */
@media (max-width: 767px) {
  .section { padding-top: 32px; padding-bottom: 40px; }
  .editorial-header { margin-bottom: 20px; }
  .editorial-title { font-size: 28px; }
}

/* ---------- Contact: 위치 지도 (본사 위 / 기업부설연구소 아래) ---------- */
.contact-maps { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact-map-card { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: 4px; overflow: hidden; }
.contact-map-card figcaption { padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--color-border); }
.contact-map-label { font: 700 12px var(--font-en); letter-spacing: .06em; color: var(--color-primary); }
.contact-map-card address { font-style: normal; font-size: 14px; font-weight: 600; color: var(--color-navy); line-height: 1.5; }
.contact-map-card iframe { display: block; width: 100%; height: 220px; border: 0; background: var(--color-slate-subtle); }
@media (min-width: 1440px) { .contact-map-card iframe { height: 224px; } }
@media (max-width: 767px) { .contact-map-card iframe { height: 240px; } }

/* ---------- Contact 재배치: 위 = 연락처 / 아래 = 좌 본사 · 우 기업부설연구소 지도 ---------- */
.contact-maps { flex-direction: row; gap: 16px; }
.contact-maps .contact-map-card { flex: 1; min-width: 0; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-info-block { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .contact-details-list { flex-direction: row; gap: 40px; }
  .contact-company-title { font-size: 20px; margin-bottom: 4px; }
  .contact-company-desc { font-size: 14px; }
  .contact-map-card iframe { height: 340px; }
  .footer-brand-statement { max-width: none; white-space: nowrap; }
}
@media (min-width: 1440px) { .contact-map-card iframe { height: 360px; } }
@media (max-width: 767px) { .contact-maps { flex-direction: column; } .contact-details-list { flex-direction: column; } }

/* ---------- Contact 회사 설명 한 줄 / 푸터 연락처 아이콘 ---------- */
.contact-company-en { font-weight: 700; color: var(--color-navy); margin-right: 10px; }
.contact-company-desc { white-space: nowrap; }
@media (max-width: 1023px) { .contact-company-desc { white-space: normal; } }
.footer-contact { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; color: inherit; transition: color .2s; }
.footer-contact:hover { color: #fff; }
.footer-ico { flex-shrink: 0; }

/* ---------- About: 설명 문구 왼쪽 정렬 + 조감도 + 필라 영문 타이틀 ---------- */
@media (min-width: 1024px) {
  .about-intro-grid { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
}
.about-tower { position: relative; margin: 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-navy); min-height: 240px; }
.about-tower img { display: block; width: 100%; height: 100%; min-height: 240px; max-height: 340px; object-fit: cover; transition: transform .6s var(--ease-editorial); }
.about-tower:hover img { transform: scale(1.04); }
.about-tower figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 14px; display: flex; flex-direction: column; gap: 2px; color: #fff;
  background: linear-gradient(to top, rgba(10,19,36,.82), rgba(10,19,36,0));
}
.about-tower figcaption strong { font-size: 16px; font-weight: 700; }
.about-tower figcaption span { font-size: 12px; opacity: .8; }
.pillar-index { text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Business: 머리말 설명 아래로 / 체크포인트 가운데 / 한전KDN 본사 조감도 배경 ---------- */
[hidden] { display: none !important; }
@media (min-width: 1024px) {
  .service-featured-card { align-items: stretch; }
}
.service-feature-points { grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 6px; justify-items: center; }
.service-feature-points .feature-point-item { justify-content: center; text-align: center; align-items: center; }
.service-feature-points .feature-point-icon { margin-top: 0; }
.service-featured-visual {
  position: relative; min-height: 260px; border-radius: 4px; overflow: hidden; background: #101D35 url('../assets/images/tower-placeholder.svg') center / cover no-repeat;
}
.service-featured-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,19,36,.7), rgba(10,19,36,0) 55%); }
.service-featured-visual-cap { position: absolute; left: 16px; bottom: 12px; z-index: 1; color: #fff; font-size: 14px; font-weight: 700; }
@media (max-width: 1023px) { .service-featured-visual { min-height: 200px; } .service-feature-points { grid-template-columns: 1fr; } }

/* ---------- About / Business: 설명 문구는 제목 줄 우측, 반드시 한 줄 (js/interactive.js 가 글자 크기를 맞춤) ---------- */
@media (min-width: 1024px) {
  #about .editorial-subtitle, #business .editorial-subtitle {
    grid-column: 2; grid-row: 2; justify-self: stretch; text-align: right; margin: 0 0 6px; max-width: none;
    min-width: 0; white-space: nowrap; overflow: hidden;
  }
}

/* ---------- Manpower: 한 화면을 꽉 채우도록 채용 카드 영역이 세로로 늘어남 ---------- */
@media (min-width: 1024px) {
  #manpower { min-height: calc(100vh - var(--header-height-scrolled, 70px)); display: flex; flex-direction: column; }
  #manpower > .container { flex: 1; display: flex; flex-direction: column; }
  #manpower .manpower-grid { flex: 1; grid-auto-rows: 1fr; }
  #manpower .manpower-card { padding: 28px 24px; }
  #manpower .manpower-summary { font-size: 14.5px; }
  #manpower .manpower-notice-panel { margin-top: 20px; }
}

/* 직무명: 큰 제목이 한국어로 바뀌었으므로 한글 폰트 사용 */
.manpower-role-en, .modal-role-en { font-family: var(--font-kr); letter-spacing: -0.01em; }
.manpower-role-kr, .modal-role-kr { font-family: var(--font-en); }

/* @manpower-card-bg:begin svg-v1 (1/2) */
/* ---------- Manpower: 직무별 일러스트 배경 ---------- */
.manpower-card { isolation: isolate; overflow: hidden; background: #fff; }
.manpower-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to bottom, rgba(255,255,255,.9) 0%, rgba(255,255,255,.6) 34%, rgba(255,255,255,0) 60%),
                    var(--card-bg, none);
  background-size: 100% 100%, cover; background-position: center, center bottom; background-repeat: no-repeat;
  transition: transform .8s var(--ease-editorial);
}
.manpower-card:hover::after, .manpower-card:focus-visible::after { transform: scale(1.05); }
.manpower-card[data-id="pm-leader"]           { --card-bg: url('../assets/images/manpower/pm-leader.svg'); }
.manpower-card[data-id="it-system-operator"]  { --card-bg: url('../assets/images/manpower/it-system-operator.svg'); }
.manpower-card[data-id="admin-staff"]          { --card-bg: url('../assets/images/manpower/admin-staff.svg'); }
.manpower-card[data-id="uiux-designer"]       { --card-bg: url('../assets/images/manpower/uiux-designer.svg'); }
.manpower-card[data-id="uiux-designer"]::after { filter: saturate(.55); opacity: .85; } /* 모집마감: 살짝 톤다운 */
.manpower-card-action { background: linear-gradient(to top, rgba(255,255,255,.9), rgba(255,255,255,.55)); margin: 0 -24px -28px; padding: 18px 24px 24px; border-top: 1px solid var(--color-border); }
/* @manpower-card-bg:end */

/* ---------- 헤더 높이 통일(스크롤 전·후 동일 70px) / 언어 버튼 테두리 제거 ---------- */
:root { --header-height: 70px; --header-height-scrolled: 70px; }
.header, .header.scrolled { height: 70px; }
.lang-btn { border: 0; background: transparent; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: var(--color-primary-subtle); }

/* ---------- Contact: 한 화면을 꽉 채우고, 남는 높이는 지도가 모두 차지 ---------- */
@media (min-width: 1024px) {
  #contact { min-height: calc(100vh - var(--header-height-scrolled, 70px)); display: flex; flex-direction: column; padding-bottom: 20px; }
  #contact > .container { flex: 1; display: flex; flex-direction: column; }
  #contact .contact-grid { flex: 1; grid-template-rows: auto minmax(0, 1fr); }
  #contact .contact-maps { min-height: 0; }
  #contact .contact-map-card { min-height: 0; }
  #contact .contact-map-card iframe { flex: 1 1 auto; height: auto; min-height: 240px; }
}

/* @manpower-card-bg:begin svg-v1 (2/2) */
/* ---------- Manpower 카드 v2: 상태 배지 좌상단 · 일러스트는 카드 하단에 고정해 공고 글이 가려지지 않게 ---------- */
.manpower-card { justify-content: flex-start; }
#manpower .manpower-card { padding-bottom: 20px; }
.manpower-card-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.manpower-card-top { margin-bottom: 0; }
.manpower-card::after {
  inset: auto 0 0 0; height: 54%;
  background-image: var(--card-bg, none);
  background-size: contain; background-position: center bottom; background-repeat: no-repeat;
}
/* @manpower-card-bg:end */

/* ================= Hero: 심볼 로고 블루 배경 · 격자 제거 · 타이핑 → 네온 ================= */
:root { --hero-bg: #50A4FA; } /* 헤더 심볼 로고(vsp-symbol.svg)의 파랑과 동일. 남색(#0e052c)으로 바꾸려면 이 값만 수정 */
.hero-section { background-color: var(--hero-bg); }
.hero-accent-light { background: radial-gradient(circle, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 70%); }
.hero-tag { color: #fff; text-shadow: 0 1px 3px rgba(6,38,98,.55), 0 0 12px rgba(6,38,98,.35); font-weight: 700; }
.hero-tag::before { background-color: #fff; }
.hero-main-title { color: #fff; text-shadow: 0 2px 4px rgba(6,38,98,.35), 0 0 22px rgba(6,38,98,.25); }
.hero-main-title .blue-dot { color: #fff; }
.hero-kr-slogan { color: #fff; font-weight: 600; text-shadow: 0 1px 3px rgba(6,38,98,.55), 0 0 16px rgba(6,38,98,.35); }
.hero-sub-slogan { color: #fff; font-weight: 500; text-shadow: 0 1px 3px rgba(6,38,98,.55), 0 0 14px rgba(6,38,98,.32); }

/* 타이핑 커서 */
.t-caret { display: inline-block; width: .075em; height: .95em; margin-left: .06em; vertical-align: -0.08em; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.9); animation: caretBlink .8s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.hero-sub-slogan .t-caret, .hero-kr-slogan .t-caret { height: 1em; }

/* 모션 감소 설정에서는 커서 깜빡임 정지 */
@media (prefers-reduced-motion: reduce) { .t-caret { animation: none; } }

/* ================= Intro (VSP → VISIONPARTNERS → 유리 조각 → 메인) ================= */
.intro { display: flex; position: fixed; inset: 0; z-index: 6000; align-items: center; justify-content: center; background: #0e052c; cursor: pointer; }
html:not(.intro-pending):not(.intro-reveal) .intro { display: none; }
.intro-svg { width: min(94vw, 1200px); height: auto; overflow: visible; pointer-events: none; }
.intro-skip {
  position: absolute; right: 24px; bottom: 24px; min-width: 44px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: rgba(255,255,255,.75);
  font: 600 12px var(--font-en); letter-spacing: .14em; cursor: pointer; transition: color .2s, border-color .2s;
}
.intro-skip:hover, .intro-skip:focus-visible { color: #fff; border-color: #fff; }
html.intro-pending, html.intro-pending body { overflow: hidden; }
/* 인트로 중에는 헤더·메뉴 등 모든 내비게이션 요소 숨김 */
html.intro-pending .header, html.intro-pending .dot-nav, html.intro-pending .scroll-progress,
html.intro-pending .back-to-top, html.intro-pending .mobile-nav-drawer, html.intro-pending .mobile-nav-backdrop,
html.intro-pending .vsp-popup-overlay { opacity: 0 !important; visibility: hidden !important; }
html.intro-reveal .header { animation: introHeader .8s var(--ease-editorial) both; }
html.intro-reveal .dot-nav { animation: introFade .8s ease both .2s; }
@keyframes introHeader { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes introFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 푸터 내부 간격 1/2 / Contact 지도를 살짝 줄이고 그만큼 하단 여백 ---------- */
.footer-top { margin-bottom: 24px; padding-bottom: 20px; }   /* 기존 48px / 40px 의 절반 */
.footer { padding-top: 32px; }                                  /* 기존 64px 의 절반 */
@media (min-width: 1024px) {
  #contact { padding-bottom: 64px; }                         /* 기존 20px → 지도 높이 약 44px 감소, 섹션 높이는 그대로(한 화면) */
}

/* ================= Services(수행사업): 카드 전용 · 사업명만 · 연도 선택 우측 ================= */
.projects-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.projects-bar .projects-result { margin: 0; font-size: 14px; }
.year-picker { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.year-arrow {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid var(--color-border); border-radius: 6px; background: #fff; color: var(--color-navy); cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, transform .15s;
}
.year-arrow:hover:not(:disabled) { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-subtle); }
.year-arrow:active:not(:disabled) { transform: scale(.94); }
.year-arrow:disabled { opacity: .35; cursor: not-allowed; }

.projects-list-area .projects-grid { display: grid; margin-bottom: 14px; }
.projects-grid { grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px)  { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1440px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card {
  min-height: 84px; padding: 16px 22px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 0;
  animation: cardIn .45s var(--ease-editorial) both; animation-delay: calc(var(--i, 0) * 45ms);
}
.project-card-name { font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--color-navy); word-break: keep-all; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.projects-skeleton-grid { list-style: none; padding: 0; }
.projects-skeleton-grid li { height: 84px; border-radius: 4px; background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 37%, #eef2f7 63%); background-size: 400% 100%; animation: shimmer 1.2s ease infinite; }
@media (prefers-reduced-motion: reduce) { .project-card, .projects-skeleton-grid li { animation: none; } }
@media (max-width: 767px) { .projects-bar { flex-wrap: wrap; } .year-picker { width: 100%; justify-content: space-between; } .projects-tabs { flex: 1; } }

/* ---------- Services v2: 연도 화살표는 카드 좌우 가장자리 / KDN 계약현황 버튼은 상단 우측 / 섹션은 한 화면을 꽉 채움 ---------- */
.projects-bar-right { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; }
.projects-bar-right .projects-tabs { margin: 0; }
.projects-bar-right .projects-kdn-banner-btn { margin: 0; padding: 0 20px; height: 44px; white-space: nowrap; font-size: 14px; }
.projects-stage { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 12px; align-items: stretch; }
.year-arrow-side { align-self: center; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 4px 14px rgba(16,29,53,.08); }
.projects-stage .projects-list-area { display: flex; flex-direction: column; min-width: 0; }
.projects-stage .projects-list-area .projects-grid { margin-bottom: 0; }

@media (min-width: 1024px) {
  #services { min-height: calc(100vh - var(--header-height-scrolled, 70px)); display: flex; flex-direction: column; }
  #services > .container { flex: 1; display: flex; flex-direction: column; }
  #services .projects-stage { flex: 1; min-height: 0; }
  #services .projects-list-area .projects-grid { flex: 1; grid-template-rows: repeat(3, minmax(0, 1fr)); min-height: 0; }
  #services .project-card { min-height: 0; padding: 12px 26px; }
  #services .project-card-name { font-size: clamp(16px, 1.45vw, 21px); }
  #services .projects-skeleton-grid li { height: auto; }
}
@media (max-width: 1023px) {
  .projects-stage { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 8px; }
  .year-arrow-side { width: 40px; height: 40px; }
  .projects-bar-right { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 767px) {
  .projects-stage { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 6px; }
  .year-arrow-side { width: 34px; height: 34px; }
  .projects-bar { flex-wrap: wrap; }
  .projects-bar-right { width: 100%; justify-content: space-between; }
}

/* ---------- About: 소개 영역 — 좌우 반전(소개글 오른쪽, 조감도 왼쪽) + 모서리 라운딩 ---------- */
.about-intro-grid {
  position: relative; overflow: hidden; border-radius: 18px; padding: 36px 44px; margin-bottom: 24px;
  border: 0; box-shadow: none;
  background:
    linear-gradient(270deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.5) 40%, rgba(255,255,255,0) 60%),
    url('../assets/images/about-bg-2.webp') left top / cover no-repeat;
}
@media (min-width: 1024px) {
  .about-intro-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; min-height: clamp(300px, 38vh, 400px); }
  .about-intro-grid > div:first-child { grid-column: 2; grid-row: 1; }   /* 소개글을 오른쪽 칸으로 */
}
@media (max-width: 1023px) {
  .about-intro-grid { padding: 24px 22px; border-radius: 14px; }
  .about-intro-grid { background-image: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.7) 55%, rgba(255,255,255,.35) 100%), url('../assets/images/about-bg-2.webp'); background-position: 28% top, 28% top; }
}
/* ---------- R&D 카드: 배지 줄과 제목 사이 간격 = 카드 안쪽 여백(상하좌우 동일 28px) ---------- */
@media (min-width: 1024px) {
  .rnd-project-card { padding: 28px; }
  .rnd-project-meta { margin-bottom: 28px; }
}

/* ---------- Business: FLAGSHIP BUSINESS 패널 배경 이미지 (왼쪽은 흰색으로 번지는 도시 전경) ---------- */
.service-featured-card {
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 44%, rgba(255,255,255,0) 72%),
    url('../assets/images/business-bg.webp') right 38% / cover no-repeat;
}
@media (min-width: 1024px) {
  .service-featured-card { grid-template-columns: minmax(0, .58fr) minmax(0, .42fr); }
}
@media (max-width: 1023px) {
  .service-featured-card {
    background:
      linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 60%, rgba(255,255,255,.5) 100%),
      url('../assets/images/business-bg.webp') 70% center / cover no-repeat;
  }
}

/* ---------- Business 하단 3개 패널: 좌측 라인(기본 = 푸터 배경색, 마우스 오버 = 심볼 로고 시그니처 파랑) ---------- */
.service-sub-card {
  border-left: 4px solid var(--color-navy);              /* 푸터 배경색(#101D35)과 동일 */
  transition: border-left-color .25s var(--ease-editorial), border-color .2s var(--ease-editorial), transform .2s var(--ease-editorial);
}
.service-sub-card:hover,
.service-sub-card:focus-within { border-left-color: var(--color-primary); }   /* 심볼 로고 파랑(#50A4FA) */

/* ---------- R&D: 카드 테두리 제거 + 항목을 개별 패널로 분리
   왼쪽(FRUVISION) = 세로형 패널 3개를 1열(가로로 나란히) / 오른쪽(마이크로인버터) = 가로형 패널 4개를 2열(2×2) ---------- */
.rnd-project-card { border: 0; box-shadow: none; }
.rnd-points-list { background: transparent; border: 0; padding: 0; gap: 14px; }
.rnd-point-item {
  background: var(--color-ice); border: 1px solid var(--color-border); border-radius: 6px;
  padding: 18px 20px; align-items: flex-start;
}
@media (min-width: 1024px) {
  .rnd-projects-wrap > .rnd-project-card:first-child .rnd-points-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
  .rnd-projects-wrap > .rnd-project-card:first-child .rnd-point-item { min-height: 200px; }
  .rnd-projects-wrap > .rnd-project-card:last-child .rnd-points-list  { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
}

/* ---------- R&D 카드: 마우스 오버 효과 제거(스포트라이트·항목 이동/확대) ---------- */
.rnd-point-item:hover { transform: none; }
.rnd-point-item:hover .rnd-point-bullet { transform: none; }
.rnd-point-item, .rnd-point-bullet { transition: none; }

/* ---------- R&D: 좌우 패널 사이 간격(구분선은 제거됨) ---------- */
@media (min-width: 1024px) {
  .rnd-projects-wrap { gap: 48px; }
}


/* R&D 항목 패널: 불릿(점) 제거에 맞춰 내용이 패널 안쪽 여백부터 시작하도록 */
.rnd-point-bullet { display: none; }
.rnd-point-item { gap: 0; }

/* ---------- R&D: 메인과 같은 리본 웨이브 배경 (흰색 계열) ---------- */
.rnd-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #e3effd 0%, #eef5ff 55%, #e6f1fe 100%); }
.rnd-section > .container { position: relative; z-index: 1; }
.rnd-project-card { background: rgba(255,255,255,.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 10px; }

/* ---------- 메뉴 순서 변경(R&D 가 Manpower 앞) 에 따른 배경 교대: Services 흰 → R&D 연한 파랑 → Manpower 흰 → Contact 연한 회청 ---------- */
.manpower-section { background-color: var(--color-white); }

/* ================= Services v3: 상단 바를 카드 가장자리에 정렬 · KDN 버튼 · 카드 안 투입인원 ================= */
@media (min-width: 1024px) { .projects-bar { padding: 0 60px; } }                /* 화살표 칸(48px) + 간격(12px) 만큼 안쪽 → 카드 좌우 끝선과 일치 */
@media (max-width: 1023px) { .projects-bar { padding: 0 48px; } }
@media (max-width: 767px)  { .projects-bar { padding: 0 40px; } }
.projects-people::before { content: ''; display: inline-block; width: 1px; height: 12px; margin: 0 10px 0 6px; background: var(--color-border); vertical-align: -1px; }
.projects-people strong { color: var(--color-primary); font-weight: 700; }

/* 한전KDN 계약현황 버튼: 시그니처 파랑 배경, 마우스 오버 효과 없음 */
.projects-bar-right .projects-kdn-banner-btn,
.projects-bar-right .projects-kdn-banner-btn:hover,
.projects-bar-right .projects-kdn-banner-btn:focus-visible { background-color: var(--color-primary); color: #fff; transition: none; transform: none; box-shadow: none; }

/* 카드: 사업명 아래에 투입인원 */
.project-card { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.project-card-staff { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--color-slate); word-break: keep-all; }
.project-card-name + .project-card-staff { margin-top: 2px; }

/* ---------- Manpower 유의사항 패널: 제목 오른쪽에 안내 문구를 같은 줄로 ---------- */
.manpower-notice-content { display: flex; flex-direction: row; align-items: center; flex: 1 1 auto; flex-wrap: wrap; gap: 6px 18px; min-width: 0; }
.manpower-notice-title { margin: 0; flex-shrink: 0; }
.manpower-notice-desc { margin: 0; padding-left: 18px; border-left: 1px solid var(--color-border); min-width: 0; }
@media (max-width: 767px) { .manpower-notice-desc { padding-left: 0; border-left: 0; } }

/* ---------- Manpower: 유의사항 패널을 상단(머리말과 채용 카드 사이)에 두고 높이를 절반(약 44px)으로 ---------- */
#manpower .manpower-notice-panel {
  margin: 0 0 14px; padding: 6px 16px; min-height: 0; gap: 12px; align-items: center;
}
#manpower .manpower-notice-title { font-size: 14px; gap: 6px; line-height: 1.3; }
#manpower .manpower-notice-title svg { width: 15px; height: 15px; }
#manpower .manpower-notice-desc { font-size: 13px; line-height: 1.3; padding-left: 14px; }
#manpower .manpower-notice-link { padding: 5px 14px; font-size: 12.5px; line-height: 1.3; min-height: 0; }

/* ---------- Business 체크포인트 4개: 가운데 정렬 → 좌측 정렬(각 열의 시작선을 맞춤) ---------- */
.service-feature-points { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: start; gap: 12px 24px; }
.service-feature-points .feature-point-item { justify-content: flex-start; text-align: left; align-items: center; }

/* ---------- R&D: 섹션이 한 화면 높이를 채우도록(아래 틈 제거). 남는 높이는 카드·항목 패널이 나눠 가짐 ---------- */
@media (min-width: 1024px) {
  #rnd { min-height: calc(100vh - var(--header-height-scrolled, 70px)); display: flex; flex-direction: column; }
  #rnd > .container { flex: 1; display: flex; flex-direction: column; }
  #rnd .rnd-projects-wrap { flex: 1; }
  #rnd .rnd-project-card { display: flex; flex-direction: column; }
  #rnd .rnd-points-list { flex: 1; grid-auto-rows: 1fr; }
}

/* ---------- Manpower "자세히 보기": 배경·테두리 제거(글자·화살표만 표시) ---------- */
#manpower .manpower-notice-link,
#manpower .manpower-notice-link:hover,
#manpower .manpower-notice-link:focus-visible { background: transparent; border: 0; box-shadow: none; color: var(--color-primary); }  /* 기존 hover 의 흰 글자가 투명 배경에서 사라지지 않게 */

/* @manpower-card-bg:begin sketch-v2 (프로젝트 매니저·정보시스템운영자·UI/UX 디자이너·사업운영 매니저 = 듀오톤 스케치 캐릭터) */
.manpower-card[data-id="pm-leader"]          { --card-bg: url('../assets/images/manpower/pm-leader-sketch.webp'); }
.manpower-card[data-id="it-system-operator"] { --card-bg: url('../assets/images/manpower/it-system-operator-sketch.webp'); }
.manpower-card[data-id="uiux-designer"]      { --card-bg: url('../assets/images/manpower/uiux-designer-sketch.webp'); }
.manpower-card[data-id="admin-staff"]         { --card-bg: url('../assets/images/manpower/admin-staff-sketch.webp'); }
.manpower-card[data-id="uiux-designer"]::after { filter: none; opacity: 1; } /* 모집중으로 변경: 톤다운 해제 */
/* 4장 공통: 카드 비율 이미지의 맨 아래 = 카드 맨 아래. 인물은 카드 아래쪽 약 56% 영역에 위치 */
.manpower-card[data-id="pm-leader"]::after,
.manpower-card[data-id="it-system-operator"]::after,
.manpower-card[data-id="uiux-designer"]::after,
.manpower-card[data-id="admin-staff"]::after {
  inset: 0; height: 100%;
  background-size: cover; background-position: center bottom;
  transform-origin: center bottom;
}
/* 마우스 오버: 기존 효과(확대·이동·테두리·스포트라이트) 제거 → 배경이 원본 컬러 이미지로 전환 */
.manpower-card:hover { border-color: var(--color-border); transform: none; box-shadow: none; }
.manpower-card:hover::after, .manpower-card:focus-visible::after { transform: none; }
.manpower-card { transition: none; }
.manpower-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--card-bg-color, none);
  background-size: cover; background-position: center bottom; background-repeat: no-repeat;
  opacity: 0; transition: opacity .35s ease;
}
.manpower-card::after { transition: opacity .35s ease; }
.manpower-card:hover::before, .manpower-card:focus-visible::before { opacity: 1; }
.manpower-card:hover::after, .manpower-card:focus-visible::after { opacity: 0; }
.manpower-card[data-id="pm-leader"]          { --card-bg-color: url('../assets/images/manpower/pm-leader-color.webp'); }
.manpower-card[data-id="it-system-operator"] { --card-bg-color: url('../assets/images/manpower/it-system-operator-color.webp'); }
.manpower-card[data-id="uiux-designer"]      { --card-bg-color: url('../assets/images/manpower/uiux-designer-color.webp'); }
.manpower-card[data-id="admin-staff"]        { --card-bg-color: url('../assets/images/manpower/admin-staff-color.webp'); }/* @manpower-card-bg:end */

/* Manpower 카드 머리: 직무명(한글)을 상태 배지 오른쪽에 같은 줄로, 영문 부제는 아래 줄 */
#manpower .manpower-card-header { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 12px; flex-direction: initial; }
#manpower .manpower-card-header > div { display: contents; }
#manpower .manpower-card-header .manpower-role-en { grid-column: 2; grid-row: 1; margin: 0; }
#manpower .manpower-card-header .manpower-role-kr { grid-column: 1 / -1; grid-row: 2; margin: 0; }
#manpower .manpower-card-header .badge { grid-column: 1; grid-row: 1; }

/* 채용 상세 팝업: 구 하단 푸터 서식(연한 바 + 구분선)을 상단 캡션 바로 적용. 하단 푸터·영문 부제·닫기 버튼 삭제 */
.modal-header { align-items: center; padding: 14px 24px; background-color: var(--color-ice); border-bottom: 1px solid var(--color-border); gap: 16px; }
.modal-title-group { flex-direction: row; align-items: center; gap: 14px; min-width: 0; }
.modal-role-en { font-size: 20px; line-height: 1.3; margin: 0; }
.modal-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.modal-header-actions .btn { height: 36px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.modal-close-btn { background-color: var(--color-white); }
.modal-close-btn:focus:not(:focus-visible) { outline: none; }
@media (max-width: 767px) {
  .modal-header { padding: 12px 16px; gap: 10px; }
  .modal-role-en { font-size: 17px; }
  .modal-header-actions .btn { padding: 0 12px; font-size: 13px; }
}

/* R&D 왼쪽 카드: 항목 4개 → 오른쪽 카드와 같은 2×2 배열 */
@media (min-width: 1024px) {
  .rnd-projects-wrap > .rnd-project-card:first-child .rnd-points-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rnd-projects-wrap > .rnd-project-card:first-child .rnd-point-item { min-height: 0; }
}

/* R&D 항목: 박스 제거 → 시그니처 컬러 불릿. 마우스 오버 시 불릿만 커짐 */
.rnd-point-item {
  position: relative; background: none; border: 0; border-radius: 0;
  padding: 2px 0 2px 22px; min-height: 0;
}
.rnd-point-item::before {
  content: ''; position: absolute; left: 3px; top: 9px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-primary, #50A4FA);
  transition: transform .25s var(--ease-editorial, ease);
}
.rnd-point-item:hover::before { transform: scale(1.9); }
.rnd-point-item:hover { transform: none; }
@media (min-width: 1024px) {
  #rnd .rnd-project-card .rnd-points-list { gap: 36px 32px; align-items: start; grid-auto-rows: auto; align-content: center; }
  #rnd .rnd-projects-wrap > .rnd-project-card .rnd-point-item { min-height: 0; }
}

/* ==========================================================================
   LITE(768~1023px) 이하: 배경 이미지를 모두 숨기고 단색으로 단순화 (LAYOUT_MODES.md 참고)
   - Manpower 모집분야 카드: 스케치·컬러 이미지 숨김(마우스 오버 전환 없음)
   - FLAGSHIP BUSINESS 패널: 이미지 숨김, 배경 #E4F0FD
   - About 회사 소개 패널: 이미지 숨김, 배경 시그니처 파랑 그라데이션, 글자 흰색
   ========================================================================== */
@media (max-width: 1023px) {
  .manpower-card::before,
  .manpower-card::after { content: none; background-image: none; }

  .service-featured-card { background: #E4F0FD; }

  .about-intro-grid { background: #50A4FA linear-gradient(135deg, #50A4FA 0%, #6BB3FB 55%, #86C2FC 100%); }   /* 시그니처 파랑 → 밝은 파랑 그라데이션 */
  .about-intro-grid .about-lead-text,
  .about-intro-grid .about-desc-text { color: #fff; }
}

/* ==========================================================================
   모바일 메뉴(우측 드로어, 1023px 이하): 크기 2/3 축소 + 하단 회사 정보 박스(시그니처 파랑·흰 글자)
   ========================================================================== */
.mobile-nav-drawer { width: 55%; max-width: 240px; padding: 88px 21px 27px; }   /* 헤더(70px) 아래에서 시작 */
.mobile-nav-links { gap: 16px; }
.mobile-nav-link { font-size: 13.5px; }
.mobile-nav-info {
  background: var(--color-primary, #50A4FA); color: #fff; border-radius: 10px; padding: 14px 10px;
  box-shadow: 0 6px 16px rgba(80, 164, 250, .35); text-align: center;
  display: flex; flex-direction: column; gap: 4px; font-size: 11px; line-height: 1.5;
}
.mobile-nav-info-name { font-size: 12.5px; font-weight: 700; margin: 0 0 2px; }
.mobile-nav-info a { color: #fff; white-space: nowrap; }

/* ==========================================================================
   일본어·중국어: 띄어쓰기가 없어 keep-all 이면 줄바꿈이 안 돼 페이지가 가로로 넓어지고 메뉴 버튼이 밀림 → 글자 단위로 줄바꿈 허용
   ========================================================================== */
html:lang(ja) body *, html:lang(zh) body * { word-break: normal; overflow-wrap: anywhere; }
.projects-grid > li { min-width: 0; }
/* 영어처럼 긴 안내 제목이 좁은 화면에서 줄바꿈되도록 (페이지가 가로로 넓어지는 현상 방지) */
.manpower-notice-title { min-width: 0; max-width: 100%; flex-shrink: 1; }

/* 채용 상세 팝업 닫기 아이콘 = 공지 팝업의 X 와 동일(테두리·배경 없는 얇은 X, 마우스 오버 시 연한 배경) */
.modal-close-btn {
  width: auto; height: auto; padding: 5px; border: 0; background: none; border-radius: 6px;
  color: var(--color-slate, #68788D); font-size: 0;
  transition: color .15s ease, background-color .15s ease;
}
.modal-close-btn svg { width: 20px; height: 20px; display: block; }
.modal-close-btn:hover { color: var(--color-navy, #101D35); background-color: #F1F5F9; }

/* 모바일(767px 이하) 채용 상세 팝업: 지원 버튼을 다음 줄 가운데로 */
@media (max-width: 767px) {
  .modal-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; row-gap: 10px; }
  .modal-header .modal-title-group { grid-column: 1; grid-row: 1; }
  .modal-header-actions { display: contents; }
  .modal-header-actions .modal-close-btn { grid-column: 2; grid-row: 1; }
  .modal-header-actions .btn { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* @wide-scale:begin  — wide(>2000px) 확대 방식 시험. 되돌리기: 이 블록(begin~end)만 삭제하거나 versions/normal-size-v2.0 의 compact.css 로 복원 */
/* 전체를 --wz 배 확대(가로 폭·글자·여백·이미지 함께). zoom 은 vh 길이도 같이 키우므로, 화면 높이를 쓰는 규칙은 / --wz 로 보정 */
@media (min-width: 2001px) {
  :root { --wz: 1.25; }
  html { zoom: var(--wz); }
  .hero-section { min-height: calc(100vh / var(--wz)); }
  #services, #rnd, #manpower, #contact { min-height: calc(100vh / var(--wz) - var(--header-height-scrolled, 70px)); }
  .vsp-popup-modal { max-height: calc(100vh / var(--wz) - 24px); }
  .vsp-popup-overlay { height: calc(100vh / var(--wz)); }
}
@media (min-width: 3000px) { :root { --wz: 1.5; } }
/* @wide-scale:end */

/* 모바일(767px 이하): R&D 섹션 파도 애니메이션 숨김 → 배경색(연한 파랑 그라데이션)만 유지 */
@media (max-width: 767px) { #rnd-canvas { display: none; } }
