/* ============================================================
   KEMP 홈페이지 공통 스타일
   - 포인트 컬러, 폰트 크기 등 자주 바꾸는 값은 :root 변수만 수정
   ============================================================ */
/* Shared typography is loaded once by platform-20260904.css. */

:root {
  /* 골드 램프 (딥골드 리파인) — 역할별 6단 스케일 */
  --gold-300: #F2CE4A;      /* 다크 배경 하이라이트·글로우 전용 */
  --gold-400: #E3BC1F;      /* 다크 배경 표준 액센트: GNB 언더라인·현재위치·틱·도트 */
  --gold-500: #C7A008;      /* CTA 채움면 */
  --gold-600: #A98307;      /* 라이트 배경 대형 숫자·아이콘 */
  --gold-700: #8A6D00;      /* 라이트 배경 소형 라벨 텍스트 */
  --gold-tint: #FBF6E4;     /* 옐로우 틴트 배경 */
  --accent: var(--gold-400); /* 하위 호환 별칭 (구 원색 옐로우 대체) */
  /* 뉴트럴 스틸 램프 */
  --n-950: #101318;
  --n-900: #1A2029;
  --n-700: #3D4654;
  --n-600: #4A5361;
  --n-500: #6B7686;
  --n-400: #8B95A5;
  --n-300: #B9C0CC;
  --n-200: #D9DEE7;
  --n-100: #EBEEF3;
  --n-50: #F4F6F9;
  --dark: #101318;
  --dark2: #1A2029;
  --gray: var(--n-500);
  /* 다크 사진 위 공통 스크림 */
  --scrim: linear-gradient(180deg, rgba(16,19,24,.62), rgba(16,19,24,.38) 45%, rgba(16,19,24,.62));
  --header-h: 100px;
  /* 타이포 3계층: 본문 / 영문 디스플레이 / 데이터·라벨(모노) */
  --font: 'Lato', 'Noto Sans KR', sans-serif;
  --font-display: 'Space Grotesk', 'Lato', 'Noto Sans KR', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark2);
  letter-spacing: -0.01em; /* 크기 비례 자간 (구: -0.5px 고정) */
  -webkit-font-smoothing: antialiased;
}

/* 키보드 사용자는 반복 메뉴를 건너뛰고 본문으로 바로 이동 */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 11px 16px;
  background: var(--gold-400);
  color: var(--n-950);
  font-weight: 700;
  border-radius: 2px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
/* 한국어 타이포 기본기: 어절 단위 줄바꿈 */
h1, h2, h3, h4, p, li, dt, dd, th, td, figcaption {
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; vertical-align: middle; }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled,
.site-header:hover {
  background: rgba(16,19,24,.72);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.07);
}
/* 블러 미지원 브라우저: 기존 진한 배경 유지 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.scrolled,
  .site-header:hover { background: rgba(16,19,24,.92); }
}
.site-header .logo { flex: 0 0 auto; }
.site-header .logo img { height: 40px; }

.gnb { display: flex; flex: 1 1 auto; justify-content: center; min-width: 0; gap: 8px; }
.gnb > li { position: relative; }
.gnb > li > a {
  position: relative;
  display: block;
  padding: 38px 26px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: color .2s ease;
}
.gnb > li > a:hover { color: var(--gold-400); }
/* 호버·현재 페이지 골드 언더라인 (.current-group은 sub.js가 URL 매칭으로 부여) */
.gnb > li > a::after {
  content: '';
  position: absolute;
  left: 26px; right: 26px; bottom: 30px;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.gnb > li:hover > a::after,
.gnb > li > a:focus-visible::after,
.gnb > li.current-group > a::after { transform: scaleX(1); }
.gnb > li.current-group > a { color: var(--gold-400); }
/* GNB 상위 링크 안 로고 이미지 — 텍스트 라인과 정렬 */
.gnb .nav-logo-img { height: 14px; width: auto; vertical-align: -1px; display: inline-block; }

/* 드롭다운 서브메뉴: 페이드+슬라이드 등장, :focus-within으로 키보드 접근성 확보 */
.gnb .sub {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: var(--header-h); left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 210px;
  background: rgba(16,19,24,.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-top: 2px solid rgba(255,255,255,.12);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.45);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.gnb > li:hover .sub,
.gnb > li:focus-within .sub {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .22s ease, transform .22s ease, visibility 0s;
}
.gnb .sub a {
  display: block;
  padding: 9px 24px;
  color: var(--n-200);
  font-size: 13.5px;
  white-space: nowrap;
  text-align: center;
  transition: color .18s ease, background .18s ease;
}
.gnb .sub a:hover { color: var(--gold-400); background: rgba(255,255,255,.06); }
.gnb .sub a.current { color: var(--gold-400); }

.header-util { display: flex; flex: 0 0 auto; align-items: center; gap: 18px; }
.lang-switch { display: flex; gap: 10px; }
.lang-switch a { color: var(--n-400); font-size: 13px; font-weight: 700; }
.lang-switch a.on { color: #fff; }
.lang-select {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 2px; /* 지오메트리 경화 */
  padding: 7px 10px;
  font-size: 13px;
  font-family: var(--font);
  cursor: pointer;
}
.lang-select option { color: var(--n-950); background: #fff; }
.btn-contact {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 0;
  min-width: 88px;
  min-height: 44px;
  padding: 10px 26px;
  border: 1px solid #fff;
  border-radius: 2px; /* 지오메트리 경화 */
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
  transition: all .3s;
}
/* CTA 채움면(--gold-500)이 좌→우 슬라이드 (배경 뚝 전환 대체) */
.btn-contact::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: var(--gold-500);
  transform: translateX(-102%);
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
.btn-contact:hover { border-color: var(--gold-500); color: var(--dark); }
.btn-contact:hover::before { transform: translateX(0); }

/* 모바일 햄버거 */
.hamburger { display: none; background: none; border: 0; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .3s; }

/* ---------- 풀스크린 스크롤 (CSS scroll-snap) ---------- */
.fullpage {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}
.fp-section {
  height: 100vh;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.fp-section.auto { height: auto; min-height: 0; display: block; scroll-snap-align: end; }

/* 어두운 스틸 틴트 오버레이로 텍스트 가독성 확보 */
.fp-section::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(16,19,24,.42);
}
.fp-section.auto::before { display: none; }
/* 정렬 축 좌측 전환: 콘텐츠 컬럼은 중앙 배치, 텍스트는 좌측 정렬 */
.fp-section > .inner {
  position: relative;
  z-index: 1;
  text-align: left;
  width: 100%;
  max-width: 1200px;
  padding: 0 clamp(24px, 5vw, 64px);
}
/* 히어로: 세그먼트 라우터 수납 밀도 — 720px 뷰포트에서도 100vh 안에 들어가도록 패딩 축소 */
.sec-hero .inner { padding-top: clamp(24px, 6vh, 90px); }

/* 섹션 배경 이미지 */
.sec-hero    { background-image: url('../img/design/main_bg_1_v20260903.webp'); }
.sec-tech    { background-image: url('../img/design/main_bg_2_v20260903.webp'); }
.sec-global  { background-image: url('../img/design/main_bg_3_v20260903.webp'); }
.sec-value   { background-image: url('../img/design/main_bg_4_v20260903.webp'); }
.sec-sample  { background-image: url('../img/design/main_bg_5_v20260903.webp'); }
.sec-quality { background-image: url('../img/design/main_bg_6_v20260903.webp'); }
/* 다크 섹션 사진 그레이딩: 스틸 컬러 위 luminosity 블렌드로 채도 정돈 */
.sec-hero, .sec-tech, .sec-global, .sec-value, .sec-sample, .sec-quality {
  background-color: var(--n-950);
  background-blend-mode: luminosity;
}
.sec-clients { background: var(--n-50); color: var(--dark2); }
.sec-news    { background: var(--n-100); color: var(--dark2); }
.sec-clients::before, .sec-news::before { display: none; }

/* 섹션 브랜드 로고 (라벨 자리에 제품 로고를 쓸 때) */
.sec-logo { height: clamp(30px, 4vw, 46px); width: auto; }

/* 섹션 텍스트: 라벨(작게+넓은 자간+괘선) → 제목(유동 스케일) → 리드 3단 위계 */
.sec-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: .04em; /* 모노는 0~.04em */
  text-transform: uppercase;
}
/* 밝은 섹션 라벨: 라이트 배경용 딥골드 (구 인라인 색 대체) */
.sec-clients .sec-label, .sec-news .sec-label { color: var(--gold-700); }
/* 좌측 정렬 축: 왼쪽 단일 대시만 */
.sec-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: currentColor; /* 밝은 섹션의 인라인 색 오버라이드 자동 대응 */
  opacity: .55;
  vertical-align: middle;
  margin: 0 12px 0 0;
}
.fp-section h1,
.fp-section h2 {
  font-family: var(--font-display); /* 영문 디스플레이 — 한글은 Noto Sans KR 900 폴백 */
  font-size: clamp(32px, 3.2vw + 10px, 58px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  padding-top: 14px;
  text-shadow: 0 2px 28px rgba(0,0,0,.35); /* 밝은 사진부 가독 보정 */
}
.fp-section .desc {
  font-size: clamp(15px, 0.5vw + 11px, 18px);
  font-weight: 400;
  line-height: 1.75;
  padding-top: 22px;
  max-width: 640px;
  margin-inline: 0; /* 좌측 정렬 축 */
  color: rgba(255,255,255,.9);
}
.sec-clients h1, .sec-clients h2,
.sec-news h1, .sec-news h2 {
  font-size: clamp(26px, 1.2vw + 18px, 34px);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-shadow: none;
}
.sec-clients .desc, .sec-news .desc { color: var(--gray); }

/* 섹션 버튼 (알약형): CTA 채움면(--gold-500) 좌→우 슬라이드 인터랙션 */
.btn-pill {
  position: relative;
  overflow: hidden;
  z-index: 0;
  display: inline-block;
  margin-top: 36px;
  padding: 14px 40px;
  border: 1px solid #fff;
  border-radius: 2px; /* 지오메트리 경화: 알약 → 직각에 가까운 칩 */
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all .3s;
}
.btn-pill::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: var(--gold-500);
  transform: translateX(-102%);
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
.btn-pill:hover { border-color: var(--gold-500); color: var(--dark); }
.btn-pill:hover::before { transform: translateX(0); }
.btn-pill.dark { border-color: var(--dark2); color: var(--dark2); }
.btn-pill.dark::before { background: var(--gold-500); }
.btn-pill.dark:hover { border-color: var(--gold-500); color: var(--dark); }

/* Scroll Down 표시: 골드 라인이 위→아래로 그려졌다 사라지는 드로우 인디케이터 */
.scroll-down {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 11px;
  letter-spacing: .32em;
  color: rgba(255,255,255,.85);
  text-align: center;
}
.scroll-down img { display: none; } /* 화살표 이미지 → 드로우 라인으로 대체 */
.scroll-down::after {
  content: '';
  display: block;
  width: 2px;
  height: 38px;
  margin: 12px auto 0;
  background: linear-gradient(to bottom, var(--gold-400) 60%, rgba(227,188,31,0));
  transform-origin: top center;
  animation: scroll-line 2.2s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); opacity: 1; }
  55%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* 우측 도트 네비게이션 */
.fp-dots {
  position: fixed;
  right: 26px; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex; flex-direction: column; gap: 14px;
}
.fp-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.fp-dots button:hover { transform: scale(1.35); }
.fp-dots button.on { background: var(--gold-400); border-color: var(--gold-400); }
.fp-dots.dark button { border-color: var(--gray); }
.fp-dots.dark button.on { background: var(--gold-400); border-color: var(--gold-400); }

/* ---------- 주요 고객사 ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px 26px;
  max-width: 1100px;
  margin: 40px 0 0; /* 좌측 정렬 축 */
  align-items: center;
}
.clients-grid img { filter: grayscale(1); opacity: .75; transition: .3s; }
.clients-grid img:hover { filter: none; opacity: 1; }

/* ---------- 뉴스 ---------- */
.news-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity; /* 대각선 스크롤 시 강제 점프 완화 */
  scroll-padding-left: 0;
  overscroll-behavior-x: contain;
  max-width: 1200px;
  margin: 40px 0 0; /* 좌측 정렬 축 */
  padding: 4px 12px 16px 0; /* 카드 첫 열을 제목 축에 맞춤 */
  scrollbar-width: thin;                        /* Firefox */
  scrollbar-color: rgba(16,19,24,.22) transparent;
}
.news-track::-webkit-scrollbar { height: 6px; }
.news-track::-webkit-scrollbar-track { background: transparent; }
.news-track::-webkit-scrollbar-thumb { background: rgba(16,19,24,.22); border-radius: 999px; }
.news-track::-webkit-scrollbar-thumb:hover { background: rgba(16,19,24,.4); }
.news-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--n-100);
  border-radius: 4px; /* 지오메트리 경화 */
  overflow: hidden;
  text-align: left;
  box-shadow: none; /* 기본 상태는 헤어라인 보더 중심 */
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--n-200);
  box-shadow: 0 20px 38px -10px rgba(16,19,24,.16);
}
.news-card img { width: 100%; height: 180px; object-fit: cover; transition: transform .45s ease; }
.news-card:hover img { transform: scale(1.05); }
.news-card .tit {
  padding: 16px 16px 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 60px;
}
.news-card .date { padding: 0 16px 16px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--gray); }

/* ---------- 푸터 ---------- */
.site-footer {
  background: var(--dark);
  color: var(--n-400);
  font-size: 13.5px;
  line-height: 1.9;
  padding: 60px 50px 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}
.footer-info { color: var(--n-400); }
.footer-info .foot-logo { height: 34px; margin-bottom: 18px; }
/* 위계 교정: 라벨(어둡게) < 값(밝게) */
.footer-info strong {
  color: var(--n-500);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .3px;
  margin-right: 2px;
}
.footer-sns { display: flex; gap: 12px; margin-top: 22px; }
.footer-sns a { display: inline-block; opacity: .8; transition: transform .2s ease, opacity .2s ease; }
.footer-sns a:hover { opacity: 1; transform: translateY(-3px); }
.footer-sns img { width: 34px; height: 34px; }
.footer-sitemap { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-sitemap dt {
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .06em;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 12px;
}
.footer-sitemap dd a { color: var(--n-400); font-size: 13px; display: block; padding: 2px 0; transition: color .2s ease; }
.footer-sitemap dd a:hover { color: var(--accent); }
.footer-copy {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--n-500);
  font-size: 12.5px;
  letter-spacing: .05em;
}

/* ---------- 반응형 ---------- */
@media (max-width: 1360px) {
  .site-header { padding-inline: 24px; }
  .gnb { gap: 2px; }
  .gnb > li > a { padding-inline: 14px; font-size: 15px; }
  .gnb > li > a::after { left: 14px; right: 14px; }
  .header-util { gap: 10px; }
  .header-util .btn-catalog { display: none; }
  .btn-contact { min-width: 84px; padding-inline: 16px; }
}
@media (max-width: 1270px) {
  .gnb, .header-util .btn-contact { display: none; }
  .hamburger { display: block; }
  .site-header { padding: 0 22px; height: 70px; }
  :root { --header-h: 70px; }
  /* 중간 폭부터 전체메뉴로 전환해 다국어 메뉴와 문의 CTA의 줄바꿈을 방지 */
  .mobile-menu {
    position: fixed; inset: 0; top: 70px;
    background: rgba(16,19,24,.97);
    z-index: 99;
    overflow-y: auto;
    padding: 30px 28px;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, visibility 0s;
  }
  body.menu-open { overflow: hidden; }
  .mobile-menu dl { max-width: 620px; margin: 0 auto; }
  .mobile-menu dt {
    position: relative;
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    padding: 17px 44px 17px 2px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    cursor: pointer;
  }
  .mobile-menu dt::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    color: var(--gold-400);
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform .2s ease;
  }
  .mobile-menu dt.open::after { transform: translateY(-50%) rotate(45deg); }
  .mobile-menu dd { background: rgba(255,255,255,.025); }
  .mobile-menu dd a { color: var(--n-200); display: block; padding: 10px 12px 10px 16px; font-size: 15px; }
  .mobile-menu dd a:hover, .mobile-menu dd a:focus-visible { color: var(--gold-300); }
}
@media (max-width: 1200px) {
  .gnb > li > a { padding: 38px 10px; font-size: 14px; }
  .gnb > li > a::after { left: 10px; right: 10px; }
}
@media (max-width: 960px) {
  /* h1/.desc 모바일 크기는 clamp() 하한(32px/15px)이 담당 */
  .sec-hero    { background-image: url('../img/design/main_bg_1_m_v20260903.webp'); }
  .sec-tech    { background-image: url('../img/design/main_bg_2_m_v20260903.webp'); }
  .sec-global  { background-image: url('../img/design/main_bg_3_m_v20260903.webp'); }
  .sec-value   { background-image: url('../img/design/main_bg_4_m_v20260903.webp'); }
  .sec-sample  { background-image: url('../img/design/main_bg_5_m_v20260903.webp'); }
  .sec-quality { background-image: url('../img/design/main_bg_6_m_v20260903.webp'); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); padding: 0 20px; }
  .fp-dots { display: none; }
}
@media (min-width: 1271px) { .mobile-menu { display: none !important; } }

/* ---------- 풀스크린 텍스트 순차 등장 (main.js가 html에 js-motion 부여 — 무JS 시 항상 표시) ---------- */
.js-motion .fp-section .inner > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.js-motion .fp-section.is-active .inner > * { opacity: 1; transform: translateY(0); }
.js-motion .fp-section.is-active .inner > :nth-child(1) { transition-delay: .08s; }
.js-motion .fp-section.is-active .inner > :nth-child(2) { transition-delay: .2s; }
.js-motion .fp-section.is-active .inner > :nth-child(3) { transition-delay: .32s; }
.js-motion .fp-section.is-active .inner > :nth-child(4) { transition-delay: .44s; }
.js-motion .fp-section.is-active .inner > :nth-child(5) { transition-delay: .56s; }
/* 버튼은 색 전환 병기 + 색 전환에는 지연 미적용 (nth-child 규칙보다 반드시 뒤) */
.js-motion .fp-section .inner > .btn-pill {
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1),
              border-color .3s ease, color .3s ease;
}
.js-motion .fp-section.is-active .inner > .btn-pill { transition-delay: .44s, .44s, 0s, 0s; }

/* ---------- 브랜드 마이크로 디테일 ---------- */
/* 시험규격 표기 유틸: ASTM B117, JIS H 8502 등 인라인 규격은 모노로 */
.spec { font-family: var(--font-mono); font-size: .92em; }
::selection { background: var(--gold-tint); color: var(--dark); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }

/* ============================================================
   C1: 섹션별 변화 각본 — 메인 8섹션 문법 분화
   ============================================================ */

/* ② 기술: 배경사진 제거 → 다크 솔리드(--n-950) 위 5:7 비대칭 스플릿 */
.fp-section.sec-tech { background: var(--n-950); }
.sec-tech::before, .fp-section.sec-value::before { display: none; }
.tech-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.tech-copy { max-width: 560px; }
.tech-copy .sec-label { display: block; margin-top: 28px; }
.tech-evidence { margin: 0; min-width: 0; }
.tech-evidence img {
  display: block;
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
}
.tech-evidence figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--n-400);
}

/* ③ 글로벌: 좌하단 앵커 + 대형 연도 수치(모노) */
.sec-global .inner { padding-top: clamp(70px, 16vh, 200px); }
.global-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px clamp(36px, 6vw, 88px);
  margin-top: 38px;
}
.g-stat .num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(40px, 3.2vw + 16px, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--gold-300);
  font-variant-numeric: tabular-nums;
}
.g-stat .cap {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}

/* ④ 솔루션: 라이트 배경(--n-50) 반전 + 오프그리드 목차형 */
.fp-section.sec-value { background: var(--n-50); color: var(--dark2); }
.sec-value .sec-label { color: var(--gold-700); }
.sec-value h1,
.sec-value h2 {
  font-size: clamp(28px, 1.6vw + 18px, 40px);
  text-shadow: none;
}
.sec-value .desc { color: var(--gray); }
.value-toc {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.value-list {
  list-style: none;
  margin-top: clamp(20px, 9vh, 96px); /* 오프그리드: 우측 리스트를 아래로 밀어 어긋난 정렬 */
}
.value-list li + li { border-top: 1px solid var(--n-200); }
.value-list a {
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 2.4vw, 40px);
  padding: clamp(14px, 2.4vh, 26px) 4px;
  transition: background .2s ease, padding .25s ease;
}
.value-list a:hover { background: #fff; padding-left: 16px; }
.value-list .no {
  font-family: var(--font-mono);
  font-size: clamp(22px, 1.6vw + 10px, 34px);
  font-weight: 600;
  color: var(--gold-600);
  font-variant-numeric: tabular-nums;
}
.value-list .tit {
  font-size: clamp(17px, 1vw + 11px, 25px);
  font-weight: 700;
  color: var(--dark2);
}

/* 라이트 섹션(sec-value) 위 도트 가시성: JS 무수정 — 밝은 배경에서도 보이는 외곽 링 */
.fp-dots:not(.dark) button { box-shadow: 0 0 0 1px rgba(16,19,24,.22); }

/* C1 반응형: 스플릿·목차 1단 적층 + 내용 초과 시 섹션 높이 유동 */
@media (max-width: 960px) {
  .fp-section.sec-tech, .fp-section.sec-value {
    height: auto;
    min-height: 100vh;
    padding: calc(var(--header-h) + 36px) 0 56px;
  }
  .tech-split, .value-toc { grid-template-columns: 1fr; gap: 30px; }
  .value-list { margin-top: 0; }
  .sec-global .inner { padding-top: clamp(56px, 12vh, 140px); }
  .g-stat .num { font-size: clamp(34px, 9vw, 48px); }
}

/* ============================================================
   히어로 세그먼트 라우터 — 시장별 진입 칩 8 + 30초 진단 딥링크
   (브랜드 카피는 축소, 라우터가 히어로의 본체)
   ============================================================ */
/* 브랜드 카피 축소: h1 한 단계 다운 + 리드 압축 */
.sec-hero h1 {
  font-size: clamp(26px, 1.8vw + 12px, 40px);
  padding-top: 10px;
}
.sec-hero .desc {
  font-size: clamp(14px, 0.3vw + 11px, 16px);
  line-height: 1.6;
  padding-top: 10px;
}

.hero-router { margin-top: clamp(18px, 3.4vh, 34px); }
.router-q {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}

/* 칩 그리드: 4열 → 모바일 2열 */
.seg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  max-width: 920px;
}
/* 세그먼트 칩: 다크 유리 카드 — rgba 배경 + 헤어라인, 호버 시 골드 보더·리프트 */
.seg-chip {
  display: block;
  padding: 10px 12px;
  background: rgba(16,19,24,.55);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color .22s ease, transform .22s ease, background .22s ease;
}
.seg-chip:hover {
  border-color: var(--gold-400);
  background: rgba(16,19,24,.72);
  transform: translateY(-3px);
}
.seg-chip .lb {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  word-break: keep-all;   /* 긴 라벨(용융아연도금 인프라 현장 보수)의 어절 중간 파단 방지 */
  text-wrap: balance;
}
.seg-chip .hk {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--n-300);
}

/* 진단 한 줄: 모노 라벨 + 소재 알약 버튼 4개 */
.diag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 14px;
}
.diag-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--n-300);
  margin-right: 4px;
}
.diag-btn {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.diag-btn:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  background: rgba(16,19,24,.5);
}

/* 우회 링크: 사양 확정 고객 바로 문의 */
.bypass {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--n-300);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.35);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.bypass:hover { color: var(--gold-300); text-decoration-color: var(--gold-300); }

/* ============================================================
   플랫폼형 히어로 — 첫 화면은 세 가지 탐색 방식만 제시
   ============================================================ */
.sec-hero h1 {
  max-width: 780px;
  font-size: clamp(40px, 4vw + 12px, 68px);
  line-height: 1.08;
  padding-top: 16px;
}
.sec-hero .desc {
  max-width: 720px;
  font-size: clamp(16px, .6vw + 12px, 20px);
  padding-top: 18px;
}
.platform-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin-top: clamp(28px, 5vh, 52px);
}
@media (min-width: 961px) {
  .platform-entry-grid.platform-entry-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.platform-entry {
  position: relative;
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  overflow: hidden;
  background: rgba(16,19,24,.68);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.platform-entry::after {
  content: '→';
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  color: var(--n-300);
  transition: transform .2s ease, color .2s ease;
}
.platform-entry:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  background: rgba(16,19,24,.86);
}
.platform-entry:hover::after { transform: translateX(4px); color: var(--gold-300); }
.platform-entry.is-primary {
  background: var(--gold-500);
  border-color: var(--gold-400);
  color: var(--n-950);
}
.platform-entry.is-primary::after,
.platform-entry.is-primary .pe-no,
.platform-entry.is-primary > span:last-child { color: rgba(16,19,24,.68); }
.platform-entry .pe-no {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-300);
}
.platform-entry strong {
  display: block;
  font-size: clamp(18px, 1vw + 13px, 24px);
  line-height: 1.25;
}
.platform-entry > span:last-child {
  display: block;
  margin-top: 8px;
  color: var(--n-300);
  font-size: 13px;
  line-height: 1.55;
}
.hero-consult {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255,255,255,.38);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease, border-color .2s ease;
}
.hero-consult:hover { color: var(--gold-300); border-color: var(--gold-300); }

/* 현장별 솔루션은 밝은 디렉터리 화면으로 분리 */
.fp-section.sec-market-directory {
  background: var(--n-50);
  color: var(--n-950);
}
.sec-market-directory::before { display: none; }
.sec-market-directory .sec-label { color: var(--gold-700); }
.sec-market-directory h2 {
  color: var(--n-950);
  font-size: clamp(32px, 2.8vw + 14px, 54px);
  text-shadow: none;
}
.sec-market-directory .desc {
  max-width: 620px;
  padding-top: 16px;
  color: var(--n-600);
}
.market-directory-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.directory-all {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--n-400);
  color: var(--n-700);
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease, border-color .2s ease;
}
.directory-all:hover { color: var(--gold-700); border-color: var(--gold-500); }
.market-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--n-200);
  border-left: 1px solid var(--n-200);
}
.market-directory-grid a {
  position: relative;
  display: flex;
  min-height: 142px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: #fff;
  border-right: 1px solid var(--n-200);
  border-bottom: 1px solid var(--n-200);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.market-directory-grid a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold-500);
  transition: width .25s ease;
}
.market-directory-grid a:hover {
  z-index: 1;
  background: var(--gold-tint);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(16,19,24,.1);
}
.market-directory-grid a:hover::before { width: 100%; }
.market-directory-grid strong {
  color: var(--n-950);
  font-size: 18px;
  line-height: 1.3;
  word-break: keep-all;
}
.market-directory-grid span {
  margin-top: 7px;
  color: var(--n-500);
  font-size: 12.5px;
  line-height: 1.5;
}

/* 라우터 반응형: 칩 2열 적층 + 히어로 높이 유동(내용 초과 시) */
@media (max-width: 960px) {
  .fp-section.sec-hero {
    height: auto;
    min-height: 100vh;
    padding: calc(var(--header-h) + 28px) 0 120px; /* 하단은 scroll-down 자리 확보 */
  }
  .sec-hero .inner { padding-top: 0; }
  .sec-hero h1 { font-size: clamp(36px, 9vw, 52px); }
  .platform-entry-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .platform-entry { min-height: 118px; }
  .seg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-chip { padding: 9px 11px; }
  .seg-chip .lb { font-size: 13.5px; }
  .fp-section.sec-market-directory {
    height: auto;
    min-height: 100vh;
    padding: calc(var(--header-h) + 48px) 0 72px;
  }
  .market-directory-head { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .market-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .platform-entry { padding: 18px; }
  .platform-entry .pe-no { top: 16px; left: 18px; }
  .platform-entry::after { top: 16px; right: 18px; }
  .market-directory-grid a { min-height: 128px; padding: 18px; }
  .market-directory-grid strong { font-size: 16px; }
}

/* ---------- 모션 최소화 선호: 전역 가드 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

/* Global 섹션: 디스트리뷰터 초대 문장 + 버튼 2열 */
.fp-section .invite {
  margin-top: 18px;
  max-width: 620px;
  font-size: clamp(15.5px, 1vw + 9px, 19px);
  font-weight: 700;
  line-height: 1.65;
  color: #fff;
}
.fp-section .btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.fp-section .btn-row .btn-pill { margin-top: 0; }

/* Keep the native language picker and menu reachable on narrow phones. */
@media (max-width: 480px) {
  .site-header { padding-inline: 12px; gap: 12px; }
  .site-header>nav { display: none; }
  .site-header .logo img { height: clamp(28px, 8vw, 36px); width: auto; }
  .site-header .header-util { flex: 1 1 auto; min-width: 0; justify-content: flex-end; gap: 8px; }
  .site-header .lang-switch { flex: 1 1 110px; min-width: 0; max-width: 144px; }
  .site-header .lang-select { flex: 1 1 110px; width: 100%; min-width: 0; max-width: 144px; min-height: 40px; padding-inline: 8px; font-size: 14px; }
  .site-header .hamburger { flex: 0 0 40px; width: 40px; min-height: 44px; padding: 7px; }
  .site-header .hamburger span { margin-inline: auto; }
}

/* Keyboard-operable disclosure controls preserve the existing mobile layout. */
@media (max-width:1270px) {
  .mobile-menu dt.mobile-section-heading { padding:0; }
  .mobile-section-toggle { display:block; width:100%; min-height:56px; padding:17px 44px 17px 2px; border:0; background:transparent; color:inherit; font:inherit; text-align:start; cursor:pointer; }
  .mobile-menu dt.mobile-section-heading::after { pointer-events:none; }
  .mobile-section-toggle:focus-visible { outline:2px solid var(--gold-400); outline-offset:-3px; }
}
main[id][tabindex="-1"] { scroll-margin-top:calc(var(--header-h,100px) + 16px); }
.article-body img[width][height], .revision4-company main .split img[width][height] { height:auto; }
.gnb > li.nav-open .sub { transition-property:opacity,transform; transition-delay:0s; }

/* Keep shared-header brand marks at their intrinsic aspect ratios. */
.site-header > .logo img {
  width: auto;
  max-width: none;
  object-fit: contain;
}
.site-header .gnb .nav-logo-img {
  width: auto;
  max-width: none;
  object-fit: contain;
  flex: 0 0 auto;
}
.site-header .gnb > li:has(.nav-logo-img) { flex-shrink: 0; }

/* Reserve space for translated navigation before the mobile breakpoint.
   Catalogues remain accessible from the service/resources navigation. */
@media (min-width: 1271px) and (max-width: 1500px) {
  .site-header .header-util .btn-catalog { display: none; }
}

@media (min-width: 1271px) and (max-width: 1366px) {
  .site-header .gnb > li > a[href] { padding-inline: 7px; font-size: 14px; }
}
