/* 스누아이랩 홈페이지 3D 개편 — 스타일
   색·글꼴은 회사 양식 기준 (navy 13285E / blue 3F80F8 / sub 6599F9 / 로고 청록, Pretendard + Montserrat)
   크기 단위는 rem. 화면 높이를 50rem 으로 보고 글자 크기를 화면에 맞춰 키우거나 줄인다 → 구역 하나가 한 화면에 딱 들어간다. */

@font-face {
  font-family: 'Pretendard';
  src: url('../assets/fonts/PretendardSubset.woff2') format('woff2');
  font-weight: 45 920;
  font-display: swap;
}
@font-face {                       /* 일본어판(ja/)에서만 받는다 — 페이지에 쓰인 글자 + 가나만 담은 것(tools/make_font_subset.py) */
  font-family: 'Pretendard JP';
  src: url('../assets/fonts/PretendardJPSubset.woff2') format('woff2');
  font-weight: 45 920;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #040814;
  --navy: #13285e;
  --blue: #3f80f8;
  --sub: #6599f9;
  --teal: #00a0c0;
  --teal-hi: #2fd0e8;
  --light: #eef3fe;
  --text: rgba(238, 243, 254, 0.94);
  --muted: rgba(238, 243, 254, 0.66);
  --faint: rgba(238, 243, 254, 0.42);
  --line: rgba(214, 226, 247, 0.14);
  --card: rgba(9, 17, 44, 0.72);
  --card-hi: rgba(19, 40, 94, 0.5);
  --pad: 6rem;
  --head: 4rem;
  --ff: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --ff-en: 'Montserrat', 'Pretendard', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: clamp(11.5px, min(1.042vw, 2vh), 28px);
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin; scrollbar-color: rgba(101, 153, 249, 0.45) transparent;
}
html.snap { scroll-snap-type: y mandatory; }
html.snap.has-tall { scroll-snap-type: y proximity; }
html.is-paging { scroll-snap-type: none !important; scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff);
  font-size: 1rem;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; border-radius: 4px; }
b, strong { font-weight: 700; color: #fff; }

/* ───────── 3D 배경 ───────── */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 0.6s ease; }
.is-ready #scene { opacity: 1; }
.no-webgl body {
  background:
    radial-gradient(60vw 60vh at 78% 40%, rgba(63, 128, 248, 0.28), transparent 70%),
    radial-gradient(40vw 40vh at 60% 70%, rgba(0, 160, 192, 0.2), transparent 70%),
    var(--bg);
}
.scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 8, 20, 0.85) 0%, rgba(4, 8, 20, 0) 15%, rgba(4, 8, 20, 0) 88%, rgba(4, 8, 20, 0.5) 100%);
}
main, .footer { position: relative; z-index: 2; }

/* ───────── 공통 요소 ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.9rem; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--ff-en); font-weight: 600; font-size: 1rem; color: #fff;
  background: linear-gradient(100deg, var(--teal) 0%, var(--blue) 100%);
  box-shadow: 0 0.9rem 2.2rem -0.9rem rgba(63, 128, 248, 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 1.3rem 2.6rem -0.9rem rgba(63, 128, 248, 0.95); }
.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }
.btn--ghost { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
.more {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-en); font-weight: 600; font-size: 0.94rem; color: #fff;
  padding-bottom: 0.3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  transition: border-color 0.25s ease, gap 0.25s ease;
}
.more::after { content: '→'; font-family: var(--ff); }
.more:hover { border-color: var(--teal-hi); gap: 0.95rem; }
.label {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--ff-en); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.06em; color: var(--teal-hi);
}
.label span { padding: 0.18rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; color: #fff; letter-spacing: 0.1em; }
.crumbs { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 1.4rem; font-family: var(--ff-en); font-size: 0.9rem; color: var(--faint); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-style: normal; opacity: 0.6; }
.crumbs b { color: var(--text); font-weight: 500; }
.h2 { font-family: var(--ff-en); font-weight: 600; font-size: 3.1rem; line-height: 1.14; letter-spacing: -0.025em; }
.h2--ko { font-weight: 700; font-size: 2.7rem; line-height: 1.3; letter-spacing: -0.02em; }
.lead { font-size: 1.22rem; line-height: 1.75; color: var(--muted); }
.note { font-size: 0.86rem; color: var(--faint); }

/* 구역이 화면에 들어올 때 아래에서 떠오르기 */
.js .rise { opacity: 0; transform: translateY(1.6rem); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 80ms + 120ms); }
.js .panel.is-seen .rise { opacity: 1; transform: none; }

/* ───────── 머리(메뉴) ───────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--head);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.header.is-stuck, .header.is-solid {
  background: rgba(4, 8, 20, 0.7); border-color: var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.logo img { height: 1.9rem; width: auto; }
.nav { display: flex; align-items: center; gap: 2.3rem; font-family: var(--ff-en); font-weight: 500; font-size: 0.95rem; }
.nav__group { position: relative; }
.nav__top { position: relative; display: block; padding: 0.6rem 0; color: var(--text); transition: color 0.2s ease; }
.nav__top:hover, .nav__group.is-cur .nav__top { color: var(--teal-hi); }
.nav__group.is-cur .nav__top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal-hi), var(--blue)); }
.nav__menu {
  position: absolute; top: 100%; left: -1rem; min-width: 13.5rem; padding: 0.55rem;
  background: rgba(8, 14, 34, 0.95); border: 1px solid var(--line); border-radius: 0.9rem;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(0.5rem);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 0.55rem 0.8rem; border-radius: 0.5rem; color: var(--muted); transition: background 0.2s ease, color 0.2s ease; }
.nav__menu a:hover, .nav__menu a.is-cur { color: #fff; background: rgba(63, 128, 248, 0.16); }
/* 언어 메뉴: 지구 아이콘 + 지금 언어. 올리거나 누르면 KOR · ENG · JPN 이 펼쳐진다 */
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text); font: 600 0.78rem/1 var(--ff-en); letter-spacing: 0.08em; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.lang__btn svg { flex: none; }
.lang__btn:hover, .lang.is-open .lang__btn { color: #fff; background: rgba(63, 128, 248, 0.22); }
.lang__menu {
  position: absolute; top: calc(100% + 0.5rem); right: 0; min-width: 7.5rem; padding: 0.4rem; display: grid; gap: 0.15rem;
  background: rgba(8, 14, 34, 0.96); border: 1px solid var(--line); border-radius: 0.8rem;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(0.4rem); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.lang__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }   /* 단추에서 메뉴로 마우스를 옮기는 사이에 닫히지 않게 */
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (pointer: fine) { .lang:hover .lang__menu { opacity: 1; visibility: visible; transform: none; } }
.lang__menu a { display: block; padding: 0.5rem 0.75rem; border-radius: 0.5rem; font: 600 0.8rem/1 var(--ff-en); letter-spacing: 0.08em; color: var(--muted); transition: background 0.2s ease, color 0.2s ease; }
.lang__menu a:hover { color: #fff; background: rgba(63, 128, 248, 0.16); }
.lang__menu a.is-on { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-toggle { display: none; }

/* ───────── 오른쪽 표시기 ───────── */
.rail {
  position: fixed; right: 1.5rem; top: 50%; z-index: 20; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.2rem;
}
.rail__dot { display: flex; align-items: center; gap: 0.7rem; padding: 0.32rem 0; background: none; border: 0; cursor: pointer; color: var(--muted); }
.rail__dot i { display: block; width: 0.7rem; height: 2px; border-radius: 2px; background: rgba(238, 243, 254, 0.38); transition: width 0.35s ease, background 0.35s ease; }
.rail__name {
  font-family: var(--ff-en); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; white-space: nowrap;
  padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(4, 8, 20, 0.78);
  opacity: 0; transform: translateX(0.4rem); transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
.rail__dot:hover .rail__name, .rail__dot:focus-visible .rail__name { opacity: 1; transform: none; }
.rail__dot.is-on { color: #fff; }
.rail__dot.is-on i { width: 2rem; background: linear-gradient(90deg, var(--teal-hi), var(--blue)); }

/* ───────── 3D 영역 틀 ───────── */
.finder {
  position: fixed; z-index: 3; right: var(--pad); top: calc(50% + 1.4rem); transform: translateY(-50%);
  width: 41rem; height: 33rem; pointer-events: none;
  opacity: 0; transition: opacity 0.5s ease;
}
.show-finder .finder { opacity: 1; }
.finder i { position: absolute; width: 1.4rem; height: 1.4rem; border: 1px solid rgba(101, 153, 249, 0.6); }
.finder i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.finder i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.finder i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.finder i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.finder__label {
  position: absolute; left: 0; top: -2rem; display: flex; gap: 0.8rem; align-items: center;
  font-family: var(--ff-en); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.finder__label b { color: var(--teal-hi); font-weight: 600; }

/* 3D 위에 붙는 이름표: 점 + 선 + 글 */
.pins { position: fixed; left: 0; top: 0; z-index: 4; pointer-events: none; }
.pin { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 0.45s ease; will-change: transform; }
.pin.is-on { opacity: 1; }
.pin i { position: absolute; left: -0.3rem; top: -0.3rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.3rem rgba(47, 208, 232, 0.25), 0 0 1rem rgba(47, 208, 232, 0.9); }
.pin p {
  position: absolute; top: -1.15rem; left: calc(2.6rem - var(--dx, 0px)); width: max-content; max-width: 16rem; min-width: min-content;
  padding: 0.5rem 0.85rem; border: 1px solid rgba(101, 153, 249, 0.4); border-radius: 0.7rem;
  background: rgba(6, 12, 32, 0.84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.92rem; line-height: 1.4; color: var(--muted); text-wrap: balance;
}
.pin p::before { content: ''; position: absolute; top: 1.15rem; left: calc(-2.3rem + var(--dx, 0px)); width: calc(2.3rem - var(--dx, 0px)); height: 1px; background: linear-gradient(90deg, rgba(47, 208, 232, 0.9), rgba(101, 153, 249, 0.4)); }
.pin p b { display: block; font-weight: 700; font-size: 1.04rem; color: #fff; }
.pin p .lines { white-space: nowrap; }
.pin--l p { left: auto; right: calc(2.6rem - var(--dx, 0px)); text-align: right; }
.pin--l p::before { left: auto; right: calc(-2.3rem + var(--dx, 0px)); transform: scaleX(-1); }
.pin--t p { left: 50%; top: auto; bottom: 2.2rem; transform: translateX(calc(-50% + var(--dx, 0px))); text-align: center; }
.pin--t p::before { left: calc(50% - var(--dx, 0px)); top: 100%; width: 1px; height: 1.9rem; background: linear-gradient(180deg, rgba(101, 153, 249, 0.4), rgba(47, 208, 232, 0.9)); }
.pin--b p { left: 50%; top: 2.2rem; transform: translateX(calc(-50% + var(--dx, 0px))); text-align: center; }
.pin--b p::before { left: calc(50% - var(--dx, 0px)); top: -1.9rem; width: 1px; height: 1.9rem; background: linear-gradient(0deg, rgba(101, 153, 249, 0.4), rgba(47, 208, 232, 0.9)); }
.pin--box p { border-color: rgba(47, 208, 232, 0.7); background: rgba(19, 40, 94, 0.86); }
.pin--tag { transition: opacity 0.12s linear; }
.pin--tag i, .pin--tag p::before { display: none; }
.pin--tag p { left: 0; top: 0; padding: 0.42rem 1rem; border-radius: 999px; border-color: rgba(238, 243, 254, 0.5); background: rgba(4, 8, 20, 0.82); font-weight: 700; font-size: 1rem; color: #fff; white-space: nowrap; }
.pin--tag[data-phase='b'] p { border-color: transparent; background: linear-gradient(100deg, var(--teal), var(--blue)); }

/* ───────── 구역(한 화면) ───────── */
.panel {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--head) + 1.2rem) var(--pad) 2.6rem;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.panel::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.panel--split::before { background: linear-gradient(90deg, rgba(4, 8, 20, 0.92) 0%, rgba(4, 8, 20, 0.66) 32%, rgba(4, 8, 20, 0) 60%); }
.panel--veil::before { background: rgba(4, 8, 20, 0.72); }
.panel--center { align-items: center; text-align: center; }
.panel--top { justify-content: flex-start; padding-top: calc(var(--head) + 3rem); }
.copy { max-width: 37rem; }
.copy--wide { max-width: 44rem; }
.head { margin-bottom: 2.4rem; }
.head .h2 { margin-top: 0.9rem; }
.head .lead { margin-top: 1rem; max-width: 60rem; }
.panel--center .head .lead { margin-left: auto; margin-right: auto; }
.panel--center .label { justify-content: center; }

/* ───────── 첫 화면 ───────── */
.eyebrow { display: flex; align-items: center; gap: 0.9rem; font-family: var(--ff-en); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal-hi); }
.eyebrow::before { content: ''; width: 2.4rem; height: 1px; background: currentColor; }
.hero__title { margin: 1.5rem 0 1.6rem; font-family: var(--ff-en); font-weight: 600; font-size: 5.5rem; line-height: 1.03; letter-spacing: -0.028em; }
.hero__title--ko { font-family: var(--ff); font-weight: 800; font-size: 4.8rem; letter-spacing: -0.03em; line-height: 1.15; }
.hero__title em, .grad {
  font-style: normal;
  background: linear-gradient(100deg, #37d9ee 0%, var(--blue) 62%, var(--sub) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 1.3rem; line-height: 1.65; color: var(--muted); }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.4rem; }
.hero__meta {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 2rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  font-family: var(--ff-en); font-weight: 500; font-size: 0.86rem; letter-spacing: 0.06em; color: var(--muted);
}
.hero__meta ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.hero__meta li { display: flex; align-items: center; gap: 0.6rem; }
.hero__meta li::before { content: ''; width: 0.32rem; height: 0.32rem; border-radius: 1px; background: var(--teal-hi); transform: rotate(45deg); }
.scroll-hint { display: flex; align-items: center; gap: 0.8rem; white-space: nowrap; }
.scroll-hint::after { content: ''; width: 3.2rem; height: 1px; background: linear-gradient(90deg, var(--teal-hi), transparent); animation: hint 2.2s ease-in-out infinite; transform-origin: left; }
@keyframes hint { 0%, 100% { transform: scaleX(0.35); opacity: 0.5; } 50% { transform: scaleX(1); opacity: 1; } }

/* ───────── 협력사 ───────── */
.partners__title { font-family: var(--ff-en); font-weight: 600; font-size: 2.6rem; line-height: 1.2; letter-spacing: -0.02em; }
.partners__band {
  width: 100vw; margin: 3rem calc(var(--pad) * -1) 0; padding: 2.2rem 0;
  background: rgba(6, 12, 32, 0.7); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 5.2rem; width: auto; opacity: 0.88; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── 제품 구역 ───────── */
.name { margin: 1rem 0 0.6rem; font-family: var(--ff-en); font-weight: 600; font-size: 4.3rem; line-height: 1.05; letter-spacing: -0.025em; }
.name--sm { font-size: 3.5rem; }
.tag { font-weight: 600; font-size: 1.28rem; color: var(--sub); }
.desc { margin: 1rem 0 1.5rem; font-size: 1.12rem; line-height: 1.8; color: var(--muted); }
.desc--lg { font-size: 1.3rem; line-height: 1.75; color: rgba(238, 243, 254, 0.8); }
.bullets { display: grid; gap: 0.55rem; margin-bottom: 1.8rem; }
.bullets li { position: relative; padding: 0.7rem 1rem 0.7rem 2.5rem; border: 1px solid rgba(101, 153, 249, 0.26); border-radius: 0.8rem; background: rgba(19, 40, 94, 0.36); font-size: 1.04rem; line-height: 1.5; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bullets li::before { content: ''; position: absolute; left: 1rem; top: 1.15rem; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: linear-gradient(135deg, var(--teal-hi), var(--blue)); transform: rotate(45deg); }
.bullets small { display: block; margin-top: 0.25rem; font-size: 0.88rem; color: var(--faint); }

/* 기능 목록: 켜진 항목만 설명이 펼쳐지고, 오른쪽 화면이 그 기능으로 바뀐다 */
.feat { display: grid; gap: 0.45rem; margin-bottom: 1.6rem; }
.feat__item {
  position: relative; display: block; width: 100%; padding: 0.72rem 1rem 0.72rem 3rem; text-align: left; cursor: pointer;
  border: 1px solid rgba(101, 153, 249, 0.2); border-radius: 0.85rem; background: rgba(13, 24, 60, 0.42);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.feat__item:hover { border-color: rgba(101, 153, 249, 0.5); }
.feat__item em { position: absolute; left: 1rem; top: 0.82rem; font-style: normal; font-family: var(--ff-en); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.08em; color: var(--faint); }
.feat__item b { display: block; font-weight: 600; font-size: 1.08rem; line-height: 1.45; color: var(--muted); transition: color 0.3s ease; }
.feat__item span { display: block; max-height: 0; opacity: 0; overflow: hidden; font-size: 0.98rem; line-height: 1.65; color: var(--muted); transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.45s ease; }
.feat__item.is-on { background: rgba(19, 40, 94, 0.72); border-color: rgba(47, 208, 232, 0.55); }
.feat__item.is-on em { color: var(--teal-hi); }
.feat__item.is-on b { color: #fff; }
.feat__item.is-on span { max-height: 8rem; opacity: 1; margin-top: 0.35rem; }
.feat__item::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--teal-hi), var(--blue)); transform: scaleX(0); transform-origin: left; }
.feat__item.is-run::after { animation: featbar var(--dur, 5.6s) linear forwards; }
@keyframes featbar { to { transform: scaleX(1); } }
.shot-fallback { display: none; }
.no-webgl .shot-fallback { display: block; margin-top: 1.2rem; border-radius: 0.8rem; border: 1px solid var(--line); }

/* ───────── 카드 묶음(산업 등) ───────── */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; perspective: 90rem; }
.card {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: block; height: 26.5rem; border-radius: 1.1rem; overflow: hidden;
  border: 1px solid var(--line); background: var(--navy);
  box-shadow: 0 2.2rem 4.4rem -2.2rem rgba(0, 0, 0, 0.9);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.3s ease-out;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.card:hover img { transform: scale(1.06); }
.card::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.24), transparent 55%); }
.card:hover::after { opacity: 1; }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 4.5rem 1.35rem 1.3rem; background: linear-gradient(180deg, rgba(4, 8, 20, 0) 0%, rgba(4, 8, 20, 0.92) 58%); }
.card__body h3 { font-family: var(--ff-en); font-weight: 700; font-size: 1.6rem; margin-bottom: 0.6rem; }
.card__body li { position: relative; padding-left: 0.9rem; font-size: 0.98rem; line-height: 1.5; color: rgba(238, 243, 254, 0.78); }
.card__body li + li { margin-top: 0.22rem; }
.card__body li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--teal-hi); }
.wrap-slot { display: block; }   /* 떠오르기와 기울기를 따로 쓰기 위한 겉 상자 */
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }

/* ───────── 유리 상자 공통 ───────── */
.glass { border: 1px solid var(--line); border-radius: 1.1rem; background: var(--card); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* 문제 제기 카드 3개 */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; width: 100%; max-width: 76rem; }
.trio li { padding: 2rem 1.8rem; text-align: center; }
.trio h3 { margin-bottom: 0.9rem; font-weight: 700; font-size: 1.6rem; color: var(--sub); }
.trio p { font-size: 1.14rem; line-height: 1.72; color: rgba(238, 243, 254, 0.78); }
.aside-note { margin-top: 2rem; font-size: 1.08rem; line-height: 1.7; color: var(--muted); }
.aside-note::before, .aside-note::after { content: '··'; margin: 0 0.8rem; color: var(--teal-hi); letter-spacing: 0.2em; }

/* 숫자 타일 */
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.3rem; width: 100%; max-width: 76rem; }
.stats li { padding: 1.5rem 1.6rem; text-align: left; }
.stats--big li { padding: 2.4rem 2rem; text-align: center; }
.stats span { display: block; font-size: 1rem; color: var(--muted); }
.stats b { display: block; margin-top: 0.4rem; font-family: var(--ff-en); font-weight: 600; font-size: 1.7rem; color: #7fe6f5; white-space: nowrap; }
.stats--big b { font-size: 3.2rem; line-height: 1.1; color: #fff; }
.stats--big li:nth-child(2) b { color: #7fe6f5; }
.stats--big span { margin-top: 0.7rem; font-size: 1.1rem; }
.source { width: 100%; max-width: 76rem; margin-top: 1rem; text-align: right; font-size: 0.95rem; color: var(--faint); }

/* 비교 표 */
.cmp { width: 100%; max-width: 76rem; border-collapse: separate; border-spacing: 0; text-align: left; }
.cmp th, .cmp td { padding: 0.66rem 1.3rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.cmp thead th { font-weight: 700; font-size: 1.2rem; color: var(--muted); }
.cmp tbody th { width: 11rem; font-weight: 600; color: var(--text); text-align: center; border-right: 1px solid var(--line); }
.cmp td.old { width: 26rem; color: var(--muted); }
.cmp td.old::before { content: '✕'; margin-right: 0.8rem; color: var(--faint); }
.cmp .new { background: rgba(19, 40, 94, 0.66); border-left: 2px solid var(--teal-hi); border-right: 2px solid var(--teal-hi); font-weight: 700; color: #a9d2ff; }
.cmp thead .new { border-top: 2px solid var(--teal-hi); border-radius: 0.9rem 0.9rem 0 0; color: #fff; text-align: center; }
.cmp td.new::before { content: '✓'; margin-right: 0.8rem; color: var(--teal-hi); }
.cmp tbody tr:last-child .new { border-bottom: 2px solid var(--teal-hi); border-radius: 0 0 0.9rem 0.9rem; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td.old { border-bottom: 0; }
.cmp-wrap { width: 100%; max-width: 76rem; padding: 0.4rem 0.6rem; }

/* 아이콘 6칸(검출 항목) · 4칸(Why) */
.icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 70rem; overflow: hidden; }
.icons li { display: flex; align-items: center; gap: 1.6rem; padding: 1.7rem 2.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.32rem; text-align: left; }
.icons li:nth-child(3n) { border-right: 0; }
.icons li:nth-last-child(-n + 3) { border-bottom: 0; }
.icons img { width: 4rem; height: 4rem; object-fit: contain; opacity: 0.86; flex: none; }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 76rem; overflow: hidden; text-align: left; }
.why li { display: flex; align-items: center; gap: 1.8rem; padding: 1.8rem 2.2rem; border-bottom: 1px solid var(--line); }
.why li:nth-child(odd) { border-right: 1px solid var(--line); }
.why li:nth-last-child(-n + 2) { border-bottom: 0; }
.why img { width: 4.6rem; height: 4.6rem; object-fit: contain; opacity: 0.86; flex: none; }
.why h3 { margin-bottom: 0.45rem; font-weight: 700; font-size: 1.38rem; }
.why p { font-size: 1.08rem; line-height: 1.65; color: rgba(238, 243, 254, 0.76); }
.closing { margin-top: 2.2rem; font-weight: 700; font-size: 1.9rem; line-height: 1.4; letter-spacing: -0.02em; }

/* 단계(작업 흐름) */
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2.6rem; width: 100%; max-width: 80rem; counter-reset: step; }
.steps li { position: relative; padding: 1.7rem 1.5rem 1.6rem; text-align: left; }
.steps li + li::before { content: '→'; position: absolute; left: -1.95rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal-hi); }
.steps em { display: inline-block; margin-bottom: 0.9rem; padding: 0.15rem 0.6rem; border-radius: 0.4rem; background: rgba(63, 128, 248, 0.24); font-style: normal; font-family: var(--ff-en); font-weight: 600; font-size: 0.82rem; color: #7fe6f5; }
.steps h3 { margin-bottom: 0.5rem; font-weight: 700; font-size: 1.48rem; }
.steps p { font-size: 1.06rem; line-height: 1.65; color: rgba(238, 243, 254, 0.76); }

/* 좌우 대비(기존 방식 → 스누아이랩) */
.shift { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr); align-items: center; gap: 1.8rem; width: 100%; max-width: 76rem; }
.shift__old { display: grid; gap: 1.2rem; }
.shift__old li, .shift__new { padding: 1.6rem 1.8rem; text-align: center; }
.shift h3 { margin-bottom: 0.7rem; font-weight: 700; font-size: 1.35rem; color: var(--sub); }
.shift p { font-size: 1.08rem; line-height: 1.7; color: rgba(238, 243, 254, 0.76); }
.shift__arrow { font-size: 3rem; color: var(--teal-hi); }
.shift__new { padding: 2.6rem 2rem; border-color: rgba(47, 208, 232, 0.6); background: rgba(19, 40, 94, 0.7); }
.shift__new h3 { font-family: var(--ff-en); font-size: 1.7rem; color: #fff; }
.shift__new p { font-weight: 700; font-size: 1.24rem; line-height: 1.8; color: #fff; }

/* 설명 두 줄(Static / Dynamic DR) */
.rows { display: grid; gap: 1.1rem; width: 100%; max-width: 80rem; text-align: left; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 2.4rem; padding: 1.5rem 1.9rem; border-left: 3px solid var(--blue); }
.rows li:nth-child(2) { border-left-color: var(--teal-hi); }
.rows h3 { font-family: var(--ff-en); font-weight: 600; font-size: 1.5rem; }
.rows h3 small { margin-left: 0.6rem; font-family: var(--ff); font-weight: 400; font-size: 0.96rem; color: var(--muted); }
.rows p { margin-top: 0.6rem; font-size: 1.06rem; line-height: 1.7; color: rgba(238, 243, 254, 0.76); }
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.4rem; }
.flow span { padding: 0.5rem 0.85rem; border: 1px solid rgba(101, 153, 249, 0.36); border-radius: 999px; background: rgba(19, 40, 94, 0.5); font-size: 0.98rem; white-space: nowrap; }
.flow span:last-child { background: var(--blue); border-color: var(--blue); font-weight: 700; color: #fff; }
.rows li:nth-child(2) .flow span:last-child { background: #19b9c6; border-color: #19b9c6; color: #04121f; }
.rows--plain h3 { font-family: var(--ff); font-weight: 700; font-size: 1.4rem; }
.rows--plain p { margin: 0; }
.flow i { font-style: normal; color: var(--teal-hi); }

/* 그림 상자 */
.figure { width: 100%; max-width: 68rem; padding: 0.9rem; }
.figure img { width: 100%; height: auto; max-height: 30rem; object-fit: contain; border-radius: 0.6rem; }

/* 산업 페이지 */
.uc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; width: 100%; }
.uc li { overflow: hidden; }
.uc img { width: 100%; height: 18.5rem; object-fit: cover; }
.uc p { padding: 1.2rem 1.5rem 1.4rem; font-weight: 600; font-size: 1.28rem; line-height: 1.45; color: var(--text); }
.uc-sum { margin-top: 1.2rem; font-size: 1.3rem; line-height: 1.6; color: rgba(238, 243, 254, 0.8); }
.two { display: grid; grid-template-columns: 27rem minmax(0, 1fr); align-items: center; gap: 4rem; width: 100%; }
.two__head img { width: 4.6rem; height: 4.6rem; margin-bottom: 1.7rem; }
.two__head .h2--ko { font-size: 3.5rem; line-height: 1.28; }
.boxes { display: grid; gap: 1.4rem; }
.boxes li { position: relative; padding: 2rem 2.4rem 2rem 4rem; font-size: 1.52rem; line-height: 1.62; color: rgba(238, 243, 254, 0.9); }
.boxes li::before { content: ''; position: absolute; left: 2.05rem; top: 2.98rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--teal-hi); }
.results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.results li { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); align-items: start; gap: 1.2rem; padding: 2rem 2.4rem; font-size: 1.48rem; line-height: 1.62; color: rgba(238, 243, 254, 0.9); }
.results em { font-style: normal; font-family: var(--ff-en); font-weight: 700; font-size: 2.1rem; line-height: 1.15; color: var(--teal-hi); }
.results--pics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.results img { width: 100%; border-radius: 0.5rem; }
.results li.pic { display: block; padding: 0.8rem; }
.note { font-size: 1.05rem; }

/* 회사 */
.dia { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; padding: 2rem 2.4rem; }
.dia img { width: 22rem; }
.advisors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; width: 100%; }
.advisors li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 1.2rem; align-items: start; padding: 1.3rem 1.4rem; }
.advisors img { width: 4.6rem; height: 4.6rem; border-radius: 50%; }
.advisors h3 { font-weight: 700; font-size: 1.3rem; margin-bottom: 0.4rem; }
.advisors h3 small { margin-left: 0.3rem; font-weight: 400; font-size: 0.92rem; color: var(--muted); }
.advisors p { position: relative; padding-left: 0.85rem; font-size: 0.98rem; line-height: 1.6; color: #9dbcff; }
.advisors p::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 0.24rem; height: 0.24rem; border-radius: 50%; background: var(--faint); }
.years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; width: 100%; align-items: start; }
.year { padding: 1.3rem 1.3rem 1.1rem; }
.year h3 { font-family: var(--ff-en); font-weight: 600; font-size: 1.8rem; line-height: 1; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.year h3::after { content: ''; display: block; width: 2rem; height: 2px; margin-top: 1rem; margin-bottom: -1.05rem; background: linear-gradient(90deg, var(--teal-hi), var(--blue)); }
.year dl { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: 0.5rem 0.5rem; font-size: 0.94rem; line-height: 1.5; }
.year dt { font-weight: 600; color: var(--sub); }
.year dd { color: rgba(238, 243, 254, 0.78); }

/* 채용 */
.way { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; width: 100%; }
.way li { text-align: center; }
.way img { width: 10.5rem; height: 10.5rem; margin: 0 auto 1.2rem; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.way h3 { font-family: var(--ff-en); font-weight: 500; font-size: 1.12rem; color: var(--muted); }
.way h3 b { font-weight: 700; color: var(--teal-hi); }
.way p { margin-top: 0.5rem; font-size: 1rem; line-height: 1.6; color: rgba(238, 243, 254, 0.76); }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; width: 100%; align-items: stretch; }
.benefits > li { padding: 1.8rem 1.9rem; }
.benefits img { width: 3rem; height: 3rem; margin-bottom: 1.1rem; }
.benefits ul { display: grid; gap: 0.45rem; }
.benefits ul li { position: relative; padding-left: 1rem; font-size: 1.12rem; color: var(--text); }
.benefits ul li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 0.3rem; height: 0.3rem; border-radius: 50%; background: var(--sub); }
.apply { padding: 1.5rem 1.8rem; text-align: left; }
.apply li { position: relative; padding-left: 1rem; font-size: 1.08rem; line-height: 1.8; color: rgba(238, 243, 254, 0.78); }
.apply li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 0.3rem; height: 0.3rem; border-radius: 50%; background: var(--sub); }
.apply a { font-weight: 700; color: #fff; border-bottom: 1px solid var(--teal-hi); }
.sub-h { margin: 0 0 0.8rem; font-weight: 700; font-size: 1.2rem; color: var(--sub); }

/* 뉴스 */
.news-list { width: 100%; max-width: 70rem; border-top: 1px solid var(--line); background: rgba(4, 8, 20, 0.52); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.news-list a { display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto; align-items: baseline; gap: 1.4rem; padding: 1.25rem 0.6rem; border-bottom: 1px solid var(--line); transition: background 0.25s ease, padding 0.25s ease; }
.news-list a:hover { background: rgba(63, 128, 248, 0.09); padding-left: 1.2rem; }
.news__tag { font-family: var(--ff-en); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.04em; color: var(--teal-hi); }
.news__title { font-weight: 600; font-size: 1.16rem; line-height: 1.5; }
.news-list time, .news-grid time { font-family: var(--ff-en); font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.news-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; width: 100%; }
.news-grid a { display: block; height: 100%; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease; }
.news-grid a:hover { transform: translateY(-0.4rem); border-color: rgba(47, 208, 232, 0.6); }
.news-grid .thumb { display: flex; align-items: center; justify-content: center; height: 10.5rem; background: linear-gradient(135deg, #0c1a44, #13285e); overflow: hidden; }
.news-grid .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-grid .thumb img.is-logo { width: 62%; height: auto; object-fit: contain; opacity: 0.9; }
.news-grid .body { padding: 1.1rem 1.2rem 1.3rem; }
.news-grid h3 { margin: 0.5rem 0 0.8rem; font-weight: 600; font-size: 1.02rem; line-height: 1.5; }
.filter { display: flex; gap: 0.4rem; }
.filter button { padding: 0.4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: none; font-family: var(--ff-en); font-size: 0.86rem; color: var(--muted); cursor: pointer; }
.filter button.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 글 한 편(뉴스 기사·채용 공고) */
.article-wrap { padding: calc(var(--head) + 4rem) var(--pad) 5rem; min-height: 100vh; }
.article { max-width: 54rem; margin: 0 auto; padding: 3rem 3.4rem 3.2rem; }
.article h1 { margin: 1rem 0 1.2rem; font-weight: 700; font-size: 2.2rem; line-height: 1.38; letter-spacing: -0.02em; }
.article .meta { display: flex; gap: 1.2rem; padding-bottom: 1.6rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); font-family: var(--ff-en); font-size: 0.86rem; color: var(--muted); }
.article p { margin-bottom: 1.2rem; font-size: 1.06rem; line-height: 1.9; color: rgba(238, 243, 254, 0.86); }
.article p.sub { font-weight: 700; font-size: 1.2rem; color: #fff; margin-top: 2.2rem; }
.article p.cap { margin-top: -0.4rem; font-size: 0.88rem; color: var(--faint); text-align: center; }
.article img { margin: 1.8rem auto 1.2rem; border-radius: 0.7rem; }
.article a { color: #9cc3ff; border-bottom: 1px solid rgba(156, 195, 255, 0.4); word-break: break-all; }
.article .back { margin-top: 2.6rem; }
.article ul { margin: 0 0 1.4rem; }
.article ul li { position: relative; padding-left: 1.1rem; font-size: 1.04rem; line-height: 1.9; color: rgba(238, 243, 254, 0.86); }
.article ul li::before { content: ''; position: absolute; left: 0.1rem; top: 0.85em; width: 0.3rem; height: 0.3rem; border-radius: 50%; background: var(--sub); }

.panel--article { display: block; min-height: 100vh; padding: calc(var(--head) + 3.5rem) var(--pad) 4rem; }
.panel--article::before { background: rgba(4, 8, 20, 0.55); }
.article .crumbs a:last-child { color: var(--text); }
.article p.deck { padding-left: 1rem; border-left: 3px solid var(--teal-hi); font-weight: 600; font-size: 1.12rem; color: var(--sub); }
.article p.back a { color: #fff; border-bottom: 0; }

/* 문의 */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; width: 100%; align-items: center; }
.info { margin-top: 2.2rem; padding: 1.6rem 1.8rem; }
.info h3 { margin-bottom: 1rem; font-family: var(--ff-en); font-weight: 600; font-size: 1.1rem; }
.info p { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.92rem; line-height: 1.6; color: var(--muted); }
.info p + p { margin-top: 0.7rem; }
.info p b { font-weight: 600; }
.badge { padding: 0.08rem 0.5rem; border-radius: 0.35rem; background: rgba(101, 153, 249, 0.2); font-family: var(--ff-en); font-weight: 600; font-size: 0.68rem; color: var(--sub); }
.info .big { font-family: var(--ff-en); font-weight: 600; font-size: 1.05rem; color: #fff; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; padding: 2rem 2.2rem; }
.form label, .form fieldset { display: block; margin: 0; padding: 0; border: 0; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form .full { grid-column: 1 / -1; }
.form label > span::after, .form legend::after { content: ' •'; color: var(--teal-hi); }
.form input[type='text'], .form input[type='email'], .form input[type='tel'], .form textarea {
  display: block; width: 100%; margin-top: 0.45rem; padding: 0.7rem 0.9rem; border: 1px solid rgba(214, 226, 247, 0.22); border-radius: 0.6rem;
  background: rgba(4, 8, 20, 0.55); color: #fff; font: inherit; font-weight: 400; font-size: 0.98rem; transition: border-color 0.2s ease;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal-hi); }
.form textarea { height: 6.2rem; resize: vertical; }
.form legend { padding: 0; margin-bottom: 0.55rem; }
.checks { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.3rem; font-weight: 400; color: var(--muted); }
.checks label { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 400; color: var(--muted); cursor: pointer; }
.checks input[type='checkbox'] { width: 1.05rem; height: 1.05rem; accent-color: var(--blue); }
.checks input[type='text'] { display: inline-block; width: 9rem; margin: 0; padding: 0.4rem 0.6rem; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.2rem; }
.form__done { font-size: 0.88rem; color: var(--teal-hi); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }      /* 스팸 막는 빈칸(사람에게는 안 보임) */
.form .btn:disabled { opacity: 0.55; cursor: progress; }

/* ───────── 마지막 구역(문의 유도 + 바닥글) ───────── */
.panel--end { justify-content: flex-start; padding-bottom: 0; padding-left: 0; padding-right: 0; }
.cta { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem var(--pad) 2rem; }
.cta h2 { font-weight: 700; font-size: 2.9rem; line-height: 1.34; letter-spacing: -0.02em; }
.cta p { margin: 1.2rem 0 2.2rem; font-size: 1.2rem; color: var(--muted); }
.footer { background: rgba(3, 6, 15, 0.9); border-top: 1px solid var(--line); padding: 2.4rem var(--pad) 1.5rem; font-size: 0.9rem; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.footer.is-stop { scroll-snap-align: end; }
.footer__top { display: flex; justify-content: space-between; gap: 3rem; }
.footer__info img { height: 1.9rem; width: auto; margin-bottom: 1.1rem; }
.footer__tel { font-family: var(--ff-en); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.4rem; }
.footer__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin-bottom: 0.9rem; font-family: var(--ff-en); font-weight: 600; }
.footer__mail .badge { margin-right: 0.9rem; }
.footer__addr { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.84rem; margin-top: 0.3rem; }
.footer__addr b { color: var(--text); font-weight: 600; }
.footer__nav { display: flex; gap: 4.5rem; }
.footer__nav h4 { font-family: var(--ff-en); font-weight: 600; font-size: 0.95rem; margin: 0 0 0.7rem; }
.footer__nav a { display: block; padding: 0.2rem 0; font-family: var(--ff-en); font-size: 0.84rem; color: var(--muted); transition: color 0.2s ease; }
.footer__nav a:hover, .footer__social a:hover, .footer__bottom a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.footer__bottom p a { margin-left: 1rem; }
.footer__social { display: flex; font-family: var(--ff-en); font-weight: 600; }
.footer__social a { margin-left: 1.3rem; }

/* 두 단 글 */
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.cols2 h3 { margin-bottom: 0.5rem; font-weight: 700; font-size: 1.14rem; color: var(--teal-hi); }
.cols2 p { font-size: 1.02rem; line-height: 1.78; color: rgba(238, 243, 254, 0.74); }
.cards > li { perspective: 90rem; }
.pin--c i, .pin--c p::before { display: none; }
.pin--c p { left: 0; top: 0; transform: translate(-50%, -50%); padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; text-align: center; font-weight: 700; font-size: 1.05rem; color: #fff; }

/* [영문판 시작] */
/* ───────── 영문판(html lang="en") 전용 조정 ─────────
   같은 내용이라도 영문은 글이 길다. 한 화면에 들어가도록 제목·표·연혁의 크기와 칸 너비만 조금 다르게 한다. */
html[lang='en'] body { overflow-wrap: break-word; }             /* 영문 낱말은 중간에서 끊지 않는다 */
html[lang='en'] .footer__nav { flex: none; gap: 3.2rem; }
html[lang='en'] .footer__nav a { white-space: nowrap; }
/* 아래는 넓은 화면에만 적용. 좁은 화면(휴대폰)은 공통 규칙을 그대로 쓴다 */
@media (min-width: 861px) {
  html[lang='en'] .h2--ko { font-weight: 600; font-size: 2.25rem; line-height: 1.24; text-wrap: balance; }
  html[lang='en'] .two__head .h2--ko { font-size: 2.6rem; line-height: 1.2; }
  html[lang='en'] .head .lead { font-size: 1.12rem; line-height: 1.65; }
  html[lang='en'] .years { grid-template-columns: 1fr 2.2fr 1.3fr 1.4fr 1.1fr; }
  html[lang='en'] .year dl { grid-template-columns: 2.3rem minmax(0, 1fr); font-size: 0.88rem; line-height: 1.45; }
  html[lang='en'] .cmp th, html[lang='en'] .cmp td { padding: 0.6rem 1.1rem; font-size: 0.98rem; }
  html[lang='en'] .hist__cols ul { font-size: 0.7rem; line-height: 1.34; gap: 0.2rem; }
  html[lang='en'] .cta p { margin: 1rem 0 2rem; }
  html[lang='en'] .panel:has(> .types) .head .h2 { font-size: 1.85rem; }
  html[lang='en'] .types h3 { font-size: 1.1rem; }
  html[lang='en'] .types li { font-size: 0.94rem; line-height: 1.45; }
  html[lang='en'] .flow span { padding: 0.42rem 0.75rem; font-size: 0.9rem; }
  html[lang='en'] .rows { gap: 0.9rem; }
  html[lang='en'] .rows li { gap: 1.8rem; padding: 0.95rem 1.7rem; }
  html[lang='en'] .rows h3 small { display: block; margin: 0.25rem 0 0; font-size: 0.9rem; }
  html[lang='en'] .rows p { margin-top: 0.45rem; font-size: 0.98rem; line-height: 1.6; }
  /* AutoCare 그림 오른쪽 위 이름표(Continuous Learning)가 화면 밖으로 나가지 않게 왼쪽으로 당긴다 */
  html[lang='en'] .pin--t[data-anchor='loop'] p { transform: translateX(calc(-82% + var(--dx, 0px))); }
  html[lang='en'] .pin--t[data-anchor='loop'] p::before { left: calc(82% - var(--dx, 0px)); }
  html[lang='en'] .news-list a { grid-template-columns: 6.4rem minmax(0, 1fr) auto; }
  html[lang='en'] .news__tag { white-space: nowrap; }
}
/* [영문판 끝] */

/* ───────── 일본어판(html lang="ja") ─────────
   한국어용 줄바꿈 규칙(word-break: keep-all)은 일본어에서는 줄을 못 바꾸게 하므로 끈다. 낱말 단위 줄바꿈(auto-phrase)을 지원하면 그것을 쓴다 */
html[lang='ja'] { --ff: 'Pretendard JP', 'Pretendard', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif; --ff-en: 'Montserrat', 'Pretendard JP', sans-serif; }
html[lang='ja'] body { word-break: normal; overflow-wrap: anywhere; line-break: strict; font-feature-settings: 'palt' 1; }
@supports (word-break: auto-phrase) { html[lang='ja'] body { word-break: auto-phrase; } }
html[lang='ja'] .h2--ko, html[lang='ja'] .cta h2, html[lang='ja'] .hero__title--ko { letter-spacing: 0; }
html[lang='ja'] .footer__nav a { white-space: nowrap; }

/* ───────── 좁은 화면(휴대폰·세로 화면) ───────── */
@media (max-width: 860px) {
  html { font-size: 15px; }
  :root { --pad: 1.3rem; --head: 3.8rem; }
  .finder, .rail, .pins { display: none; }
  .scrim { background: linear-gradient(180deg, rgba(4, 8, 20, 0.55) 0%, rgba(4, 8, 20, 0) 18%, rgba(4, 8, 20, 0) 100%); }
  .panel { padding-top: calc(var(--head) + 1.5rem); padding-bottom: 3rem; scroll-snap-stop: normal; }
  .panel--split { justify-content: flex-end; padding-top: 46vh; }
  .panel--split::before { background: linear-gradient(0deg, rgba(4, 8, 20, 0.96) 0%, rgba(4, 8, 20, 0.84) 48%, rgba(4, 8, 20, 0.1) 78%, rgba(4, 8, 20, 0) 100%); }
  .panel--veil::before, .panel--center::before { background: rgba(4, 8, 20, 0.72); }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; padding: 0 9px;
    background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; z-index: 2;
  }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.3s ease; }
  .header.is-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .header.is-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.2rem;
    padding: 6rem var(--pad) 2rem; overflow-y: auto; font-size: 1.15rem;
    background: #040814; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; }
  /* 스크롤한 뒤(.is-stuck)에는 머리줄에 흐림 효과가 붙는데, 그 효과가 있으면 화면 전체를 덮는 메뉴(position: fixed)가 머리줄 안에 갇혀 안 보인다 → 메뉴가 열린 동안은 끈다 */
  .header.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: #040814; }
  .nav__group { width: 100%; }
  .nav__group.is-cur .nav__top::after { display: none; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; padding: 0.2rem 0 0.6rem; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 0.95rem; }
  .nav__menu a { padding: 0.4rem 0; }
  /* 언어 메뉴: 펼친 메뉴 안에서는 지구 아이콘 옆에 KOR · ENG · JPN 을 바로 늘어놓는다 */
  .lang { order: -1; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }   /* 메뉴 맨 위에 */
  .lang__btn { padding: 0.4rem; border: 0; background: none; pointer-events: none; }
  .lang__btn span { display: none; }
  .lang__menu, .lang.is-open .lang__menu { position: static; display: flex; gap: 0.3rem; min-width: 0; padding: 0; opacity: 1; visibility: visible; transform: none; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .lang__menu::before { display: none; }
  .lang__menu a { padding: 0.5rem 0.8rem; font-size: 0.9rem; }
  .hero__title { font-size: 2.7rem; }
  .hero__lead { font-size: 1.05rem; }
  .hero__meta { position: static; margin-top: 2rem; }
  .hero__meta ul { display: none; }
  .name { font-size: 2.6rem; } .name--sm { font-size: 2.2rem; }
  .h2 { font-size: 2rem; } .h2--ko { font-size: 1.7rem; }
  .partners__title { font-size: 1.6rem; }
  .marquee img { height: 3.6rem; }
  .cards, .advisors, .way, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { height: 19rem; }
  .trio, .uc, .benefits, .results, .years, .why, .two, .contact, .shift, .form, .cols2 { grid-template-columns: minmax(0, 1fr); }
  .stats, .steps { grid-auto-flow: row; }
  .steps li + li::before { display: none; }
  .steps { gap: 1rem; }
  .icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icons li { padding: 1.1rem 1rem; gap: 0.9rem; font-size: 1rem; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .icons img { width: 2.6rem; height: 2.6rem; }
  .why li { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 1.2rem 1rem; gap: 1rem; }
  .why img { width: 3rem; height: 3rem; }
  .shift__arrow { transform: rotate(90deg); justify-self: center; }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .cmp th, .cmp td { padding: 0.7rem 0.6rem; font-size: 0.86rem; }
  .cmp tbody th { width: auto; } .cmp td.old { width: auto; }
  .two { gap: 1.4rem; }
  .two__head .h2--ko { font-size: 1.9rem; }
  .boxes li, .results li { font-size: 1.1rem; padding: 1.2rem 1.2rem 1.2rem 2.6rem; }
  .results li { grid-template-columns: 2.6rem minmax(0, 1fr); padding-left: 1.2rem; }
  .results em { font-size: 1.4rem; }
  .boxes li::before { left: 1.15rem; top: 1.95rem; width: 0.45rem; height: 0.45rem; }
  .uc p { font-size: 1.05rem; } .uc-sum, .desc--lg { font-size: 1.08rem; }
  .hero__title--ko { font-size: 2.6rem; }
  .results--pics { grid-template-columns: minmax(0, 1fr); }
  .way img { width: 7.5rem; height: 7.5rem; }
  .news-list a { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
  .cta h2 { font-size: 1.7rem; } .cta p { font-size: 1rem; }
  .closing { font-size: 1.3rem; }
  .footer__top { flex-direction: column; gap: 1.6rem; }
  .footer__nav { flex-wrap: wrap; gap: 2rem; }
  .footer__social a:first-child, .footer__bottom p a:first-child { margin-left: 0; }
  .article { padding: 1.8rem 1.3rem; }
  .article h1 { font-size: 1.5rem; }
  .row-between { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 520px) {
  .cards, .advisors, .news-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 움직임 줄이기 설정을 켠 사용자 */
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .scroll-hint::after, .feat__item.is-run::after { animation: none; }
  .js .rise { transition: none; }
}

/* ── 연혁: 왼쪽(2019)에서 오른쪽(2026)으로 올라가는 성장 그래프 ── */
#history .head { margin-bottom: 1.2rem; }
.hist { width: 100%; display: grid; gap: 0.8rem; }
.hist__graph { position: relative; height: 12rem; margin: 0; }
.hist__graph svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hist__line { fill: none; stroke: url(#hist-line); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(47, 208, 232, 0.55)); }
.hist__area { fill: url(#hist-fill); clip-path: inset(0 100% 0 0); }
.panel.is-seen .hist__line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.35s; }
.panel.is-seen .hist__area { clip-path: inset(0 0 0 0); transition: clip-path 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.35s; }
.hist__pt { position: absolute; width: 0; height: 0; }
.hist__pt i { position: absolute; left: -0.45rem; top: -0.45rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.35rem rgba(47, 208, 232, 0.25), 0 0 1.2rem rgba(47, 208, 232, 0.9); opacity: 0; transform: scale(0.2); }
.hist__pt b, .hist__pt em { position: absolute; left: 0; transform: translateX(-50%); text-align: center; opacity: 0; }
.hist__pt b { font: 700 1.2rem/1 var(--ff-en); color: #fff; white-space: nowrap; bottom: 1.1rem; }
.hist__pt em { width: 11.5rem; font-style: normal; font-size: 0.84rem; line-height: 1.35; color: var(--teal-hi); bottom: 2.5rem; text-wrap: balance; }
.hist__pt.is-down b { bottom: auto; top: 1.1rem; }
.hist__pt.is-down em { bottom: auto; top: 2.55rem; }
.panel.is-seen .hist__pt i { opacity: 1; transform: none; transition: opacity 0.4s ease var(--t), transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) var(--t); }
.panel.is-seen .hist__pt b, .panel.is-seen .hist__pt em { opacity: 1; transition: opacity 0.6s ease calc(var(--t) + 0.1s); }
.hist__cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.6rem; }
.hist__cols > li { padding: 0.75rem 0.75rem 0.8rem; border-radius: 0.8rem; background: var(--card); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(1rem); }
.panel.is-seen .hist__cols > li { opacity: 1; transform: none; transition: opacity 0.6s ease calc(var(--t) + 0.15s), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--t) + 0.15s); }
.hist__cols h3 { font: 700 1rem/1 var(--ff-en); color: var(--sub); margin: 0 0 0.45rem; }
.hist__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.24rem; font-size: 0.76rem; line-height: 1.38; color: rgba(238, 243, 254, 0.8); }
.hist__cols ul li { position: relative; padding-left: 0.7rem; }
.hist__cols ul li::before { content: ''; position: absolute; left: 0; top: 0.58em; width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--teal-hi); }
@media (prefers-reduced-motion: reduce) {
  .hist__line { stroke-dashoffset: 0; } .hist__area { clip-path: none; }
  .hist__pt i, .hist__pt b, .hist__pt em, .hist__cols > li { opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .hist__graph { height: 11rem; }
  .hist__pt em { display: none; }
  .hist__pt b { display: none; font-size: 0.9rem; }
  .hist__pt:first-of-type b, .hist__pt:last-of-type b { display: block; }   /* 좁은 화면: 처음·끝 해만 (가운데는 아래 칸에) */
  .hist__cols { grid-template-columns: minmax(0, 1fr); }
}

/* ── 개편(2026-11): 사업 영역 · 숫자 · 칸 · 자료 그림 · 감지 항목 · 납품 타입 · 적용 사례 · 회사 개요 ── */
.domains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; width: 100%; max-width: 80rem; text-align: left; }
.domain { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 2.1rem 1.8rem; }
.domain__en { font: 600 0.8rem/1 var(--ff-en); letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-hi); }
.domain h3 { font-weight: 700; font-size: 1.55rem; line-height: 1.4; letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li, .evgroups li { padding: 0.42rem 0.85rem; border: 1px solid rgba(101, 153, 249, 0.36); border-radius: 999px; background: rgba(19, 40, 94, 0.5); font-size: 0.98rem; white-space: nowrap; }
.domain__links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 0.6rem; }
.domain__links a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 1.05rem; border: 1px solid rgba(63, 128, 248, 0.45); border-radius: 0.7rem; background: rgba(63, 128, 248, 0.18); font-weight: 600; font-size: 1rem; color: #fff; transition: background 0.2s ease; }
.domain__links a::after { content: '→'; color: var(--teal-hi); }
.domain__links a:hover { background: rgba(63, 128, 248, 0.36); }

.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin: 1.5rem 0 1.4rem; }
.nums li { padding: 0.85rem 0.9rem 0.95rem; border-left: 2px solid var(--teal-hi); border-radius: 0 0.6rem 0.6rem 0; background: rgba(9, 17, 44, 0.55); }
.nums b { display: block; font: 700 1.7rem/1.1 var(--ff-en); color: #fff; }
.nums span { display: block; margin-top: 0.4rem; font-size: 0.92rem; line-height: 1.45; color: var(--muted); }

/* 3D 대신 자료 그림을 오른쪽에 두는 구역 (세로 가운데: transform 은 떠오르기 효과가 쓰므로 margin 으로) */
.sidefig { position: absolute; top: calc(var(--head) + 1.2rem); bottom: 2.6rem; right: var(--pad); width: min(46vw, 46rem); height: max-content; margin: auto 0; padding: 0.7rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--card); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sidefig img { display: block; width: 100%; max-height: 62vh; object-fit: contain; border-radius: 0.7rem; }
.sidefig figcaption { display: flex; justify-content: space-around; margin-top: 0.6rem; font: 700 0.9rem/1 var(--ff-en); letter-spacing: 0.16em; color: var(--teal-hi); }

.bignums { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.2rem; width: 100%; max-width: 76rem; margin-top: 1.4rem; }
.bignums li { padding: 1.6rem 1.4rem 1.5rem; text-align: center; }
.bignums b { display: block; font: 700 2.6rem/1.05 var(--ff-en); color: #fff; white-space: nowrap; }
.bignums li:nth-child(even) b { color: #7fe6f5; }
.bignums span { display: block; margin-top: 0.6rem; font-weight: 600; font-size: 1.08rem; color: var(--text); }
.bignums small { display: block; margin-top: 0.35rem; font-size: 0.92rem; line-height: 1.45; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 1.2rem; width: 100%; max-width: 80rem; text-align: left; }
.tiles--2 { --n: 2; } .tiles--3 { --n: 3; } .tiles--4 { --n: 4; } .tiles--5 { --n: 5; }
.tiles > li { padding: 1.6rem 1.5rem; }
.tiles em { display: inline-block; margin-bottom: 0.8rem; padding: 0.15rem 0.6rem; border-radius: 0.4rem; background: rgba(63, 128, 248, 0.24); font: 600 0.8rem/1.5 var(--ff-en); font-style: normal; color: #7fe6f5; }
.tiles h3 { margin-bottom: 0.6rem; font-weight: 700; font-size: 1.32rem; line-height: 1.35; }
.tiles p { font-size: 1.04rem; line-height: 1.65; color: rgba(238, 243, 254, 0.78); }
.tiles ul, .types ul, .cases ul { display: grid; gap: 0.42rem; }
.tiles ul li, .types li, .cases ul li { position: relative; padding-left: 0.9rem; font-size: 1rem; line-height: 1.58; color: rgba(238, 243, 254, 0.82); }
.tiles ul li::before, .types li::before, .cases ul li::before { content: ''; position: absolute; left: 0; top: 0.66em; width: 0.28rem; height: 0.28rem; border-radius: 50%; background: var(--teal-hi); }

.figs { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 1.2rem; width: 100%; max-width: 80rem; }
.figs--2 { --n: 2; max-width: 64rem; } .figs--3 { --n: 3; }
.figs figure { margin: 0; padding: 0.7rem 0.7rem 0.9rem; }
.figs img { display: block; width: 100%; aspect-ratio: 16 / 10; max-height: 34vh; object-fit: contain; border-radius: 0.6rem; background: rgba(4, 8, 20, 0.6); }
.figs figcaption { margin-top: 0.7rem; font-size: 1rem; line-height: 1.5; color: var(--text); text-align: center; }
.figs__wide { grid-column: 1 / -1; }
.figs__wide img { aspect-ratio: auto; max-height: 9rem; }

.evgroups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; width: 100%; max-width: 76rem; text-align: left; }
.evgroups section { padding: 1.6rem 1.6rem 1.7rem; }
.evgroups h3 { margin-bottom: 1rem; font-weight: 700; font-size: 1.3rem; color: var(--sub); }
.evgroups ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; width: 100%; max-width: 80rem; text-align: left; }
.types section { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.types img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; background: #e9f0fb; }
.types section > div { padding: 1rem 1.4rem 1.15rem; }
.types em { font: 600 0.82rem/1 var(--ff-en); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-hi); }
.types h3 { margin: 0.5rem 0 0.6rem; font-weight: 700; font-size: 1.18rem; line-height: 1.4; }
.types ul { gap: 0.3rem; }
.types li { line-height: 1.5; }
.types li b { display: inline-block; min-width: 6.6rem; margin-right: 0.5rem; color: #fff; }
.types--one { grid-template-columns: minmax(0, 1fr); max-width: 72rem; }
.types--one section { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); grid-template-rows: none; align-items: center; }
.types--one img { aspect-ratio: auto; height: 100%; max-height: 26rem; }
.types--one em { display: block; margin-bottom: 0.9rem; }

.cmp--pair td { color: rgba(238, 243, 254, 0.88); }
.cmp--pair thead th:not(:first-child) { color: #fff; text-align: center; }
.cmp--pair td + td { border-left: 1px solid var(--line); }

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; width: 100%; text-align: left; }
.cases > li { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.cases > li > img { display: block; width: 100%; height: 14rem; object-fit: contain; background: rgba(4, 8, 20, 0.6); }
.cases > li > div { padding: 1.3rem 1.6rem 1.6rem; }
.case__tag a { display: inline-block; padding: 0.2rem 0.7rem; border: 1px solid rgba(63, 128, 248, 0.5); border-radius: 999px; background: rgba(63, 128, 248, 0.24); font-weight: 600; font-size: 0.86rem; color: #a9d2ff; }
.cases h3 { margin: 0.75rem 0 0.8rem; font-weight: 700; font-size: 1.36rem; line-height: 1.4; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 76rem; margin: 0; overflow: hidden; text-align: left; }
.facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 1.6rem; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-last-child(-n + 2) { border-bottom: 0; }
.facts dt { font-weight: 700; color: var(--sub); }
.facts dd { margin: 0; line-height: 1.6; color: var(--text); }

@media (max-width: 860px) {
  .domains, .types, .types--one section, .evgroups, .cases, .facts, .figs { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles--3 { grid-template-columns: minmax(0, 1fr); }
  .bignums { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bignums b { font-size: 1.9rem; }
  .nums b { font-size: 1.3rem; }
  .sidefig { position: static; width: 100%; height: auto; margin: 1.4rem 0 0; }
  .sidefig img { max-height: 40vh; }
  .panel--fig { justify-content: center; padding-top: calc(var(--head) + 1.5rem); }
  .domain { padding: 1.4rem 1.2rem; }
  .domain h3 { font-size: 1.2rem; }
  .cases > li > img { height: 11rem; }
  .types--one img { max-height: 16rem; }
  .types li b { display: block; min-width: 0; }
  .facts div { grid-template-columns: 5.5rem minmax(0, 1fr); padding: 0.9rem 1rem; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .facts div:last-child { border-bottom: 0 !important; }
}

/* 한 화면 맞춤(2026-11-18): 넓은 화면은 화면 높이 = 50rem 이라 구역이 50rem 안에 들어가야 아래가 잘리지 않는다 */
@media (min-width: 861px) {
  .panel:has(> .types) .head { margin-bottom: 1.6rem; }
  .panel:has(> .types) .head .h2 { font-size: 2.1rem; }
  .panel:has(.cmp) .head { margin-bottom: 1.6rem; }
  .panel:has(.cmp) .bignums li { padding: 1.1rem 1.2rem; }
  .panel:has(.cmp) .bignums b { font-size: 2.3rem; }
  .figs:has(.figs__wide) img { max-height: 23vh; }               /* 가로로 긴 그림이 한 줄 더 있는 그림 구역 */
  .figs:has(.figs__wide) .figs__wide img { max-height: 6.6rem; }
}

/* ── 휴대폰 화면(2026-11-18): 한 화면씩 멈추기 · 제품 기능을 스크롤로 넘기며 영상 보기 · 첫 화면이 아래로 잘리지 않게 ── */
@media (max-width: 860px) {
  /* 구역마다 멈춘다. 화면보다 긴 구역은 그 안에서 자유롭게 읽은 뒤 다음 구역에서 멈춘다 */
  html.snap, html.snap.has-tall { scroll-snap-type: y mandatory; }
  .panel { min-height: 100svh; scroll-snap-stop: always; }
  .panel--split { padding-top: max(calc(var(--head) + 1rem), 38svh); }      /* 위쪽 3D 자리는 남기되, 글이 화면 아래로 넘치지 않게 */
  /* 그림 칸이 있는 구역(PBS)·뉴스 목록 구역은 위를 비우지 않는다 — 비우면 첫 화면 위가 텅 비고 아래 글이 잘린다(2026-11-18 지적) */
  .panel--split.panel--fig, .panel--split[data-form='stack'] { justify-content: flex-start; padding-top: calc(var(--head) + 1.5rem); }
  .panel--end { padding-bottom: 0; }                                        /* 바닥글 아래에 3D 배경 띠가 보이지 않게 */
  /* 첫 화면: 주소창·아래 단추 줄이 보이는 상태의 화면 높이(100svh) 안에 글과 단추가 다 들어오게 */
  #hero { padding-top: calc(var(--head) + 1rem); padding-bottom: 1.6rem; }
  #hero .hero__title { margin: 1rem 0; font-size: clamp(2.1rem, 11vw, 2.7rem); }
  #hero .cta-row { margin-top: 1.4rem; gap: 1.2rem; }
  #hero .hero__meta { display: none; }
  /* 기능 목록이 있는 구역: 기능 수만큼 길게 잡고(--steps) 안쪽은 화면에 붙여 둔다. 멈추는 자리는 .panel__snap */
  /* 높이: 멈추는 자리는 100svh 간격. 마지막 한 칸은 100lvh(주소창이 접혔을 때의 화면 높이)로 잡아, 붙여 둔 안쪽(100dvh)이 구역 밖으로 밀려나지 않게 한다 */
  .panel.is-steps { display: block; height: calc((var(--steps) - 1) * 100svh + 100lvh); min-height: 0; padding: 0; scroll-snap-align: none; }
  .panel.is-steps::before { display: none; }
  .panel__snap { position: absolute; left: 0; top: calc(var(--k) * 100svh); width: 1px; height: 100svh; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }
  /* 안쪽은 지금 보이는 화면 높이(100dvh)를 꽉 채운다 — 100svh 로 두면 주소창이 접혔을 때 아래에 빈 띠가 보인다(2026-11-18 지적) */
  .panel__stick { position: sticky; top: 0; height: 100svh; height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) 1.3rem; overflow: hidden; }
  .panel__stick::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgba(4, 8, 20, 0.97) 0%, rgba(4, 8, 20, 0.9) 44%, rgba(4, 8, 20, 0.1) 62%, rgba(4, 8, 20, 0) 100%); }
  .is-steps .copy { max-width: none; }
  .is-steps .label { display: none; }
  .is-steps .name, .is-steps .name--sm { margin: 0.45rem 0 0.2rem; font-size: 2rem; }
  .is-steps .tag { font-size: 0.98rem; }
  .is-steps .desc { margin: 0.5rem 0 0.8rem; font-size: 0.93rem; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .is-steps .feat { margin-bottom: 0.7rem; min-height: 8.6rem; align-content: start; }
  .is-steps .feat__item { display: none; padding: 0.7rem 0.9rem 0.75rem 2.7rem; }
  .is-steps .feat__item.is-on { display: block; }
  .is-steps .feat__item b { font-size: 1.02rem; }
  .is-steps .feat__item.is-on span { max-height: none; font-size: 0.92rem; line-height: 1.6; }
  .feat__dots { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.9rem; }
  .feat__dots i { width: 1.5rem; height: 3px; border-radius: 2px; background: rgba(101, 153, 249, 0.3); transition: background 0.3s ease, width 0.3s ease; }
  .feat__dots i.is-on { width: 2.4rem; background: linear-gradient(90deg, var(--teal-hi), var(--blue)); }
  .is-steps .more { margin: 0; }
  html[lang='en'] .is-steps .desc { display: none; }                      /* 영문은 글이 길어 제품 화면을 가린다 */
  html[lang='en'] .is-steps .feat__item.is-on span { font-size: 0.88rem; line-height: 1.5; }
}
@media (min-width: 861px) { .feat__dots, .panel__snap { display: none; } }
.svh-probe { position: fixed; left: 0; top: 0; width: 0; height: 100svh; visibility: hidden; pointer-events: none; }   /* 100svh 가 몇 px 인지 재는 자리(휴대폰) */
