/* 선경홀로그램 사이트 v4 — 흰 바탕, 왼쪽 정렬 그리드, 실제 사진. 색은 홀로그램에서만, 포인트는 로고의 빨강을 아주 조금. */
:root {
  --paper: #ffffff;
  --mist: #f4f5f7;
  --ink: #14161a;
  --slate: #555b66;
  --line: #e2e5ea;
  --red: #d7282f;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  --gut: clamp(20px, 4.4vw, 88px);
  --max: 1600px;
  --r: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); letter-spacing: -0.008em;
  word-break: keep-all; overflow-wrap: anywhere; overflow-x: clip; -webkit-font-smoothing: antialiased; }
::selection { background: #14161a; color: #fff; }
img, video, canvas, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h2 { font-size: clamp(30px, 3.2vw, 58px); font-weight: 700; line-height: 1.18; letter-spacing: -0.035em; text-wrap: balance; max-width: 18em; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.35; }
.lead { margin-top: 18px; max-width: 38em; color: var(--slate); font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.7; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-thumb { background: #c9cdd4; border-radius: 10px; border: 2px solid #fff; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 26px; font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .12s; }
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2f37; }
.btn-line { border-color: #c9cdd4; background: transparent; }
.btn-line:hover { border-color: var(--ink); }

/* 상단 막대 */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top); }
.bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.93); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(20,22,26,.07); opacity: 0; transition: opacity .3s var(--ease); }
.bar.solid::before { opacity: 1; }
.bar-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); height: 68px; display: flex; align-items: center; gap: 36px; }
.brand img { width: 184px; height: auto; }
@media (max-width: 900px) { .brand img { width: 150px; } }
.nav { display: flex; gap: 32px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--slate); padding: 6px 0; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.lang { height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 17px; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s; }
.lang:hover { border-color: var(--ink); }
.menu { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; position: relative; cursor: pointer; }
.menu i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu i:nth-of-type(1) { top: 18px; } .menu i:nth-of-type(2) { top: 25px; }
.nav-open .menu i:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-open .menu i:nth-of-type(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* 첫 화면: 스크롤하는 동안 고정되고, 라벨이 다섯 겹으로 분리됨 */
.hero { height: 250svh; position: relative; }
.hero-stage { position: sticky; top: 0; height: 100svh; min-height: 600px; overflow: hidden; display: flex; flex-direction: column; padding-top: 68px;
  background: radial-gradient(70% 60% at 72% 48%, #eef1f6 0%, #ffffff 62%); }
#holo3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 64px); pointer-events: none; }
.hero-copy { pointer-events: auto; will-change: opacity, transform; }
.hero h1 { font-size: clamp(38px, 4.4vw, 80px); font-weight: 750; line-height: 1.12; letter-spacing: -0.04em; text-wrap: balance; }
.hero-lead { margin-top: 26px; max-width: 30em; color: var(--slate); font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.7; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { height: 100%; }
.hero-fallback { display: none; position: absolute; right: 12%; top: 50%; width: min(36vw, 460px); transform: translateY(-50%) perspective(900px) rotateY(-16deg); }
.no-gl .hero-fallback { display: block; }
.hero-foot { position: relative; padding-top: 22px; padding-bottom: 28px; }
.hero-foot p { padding-top: 20px; border-top: 1px solid var(--line); color: var(--slate); font-size: 15px; display: flex; align-items: center; gap: 12px; }
.hero-foot p::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.ex-head { position: absolute; left: 0; right: 0; top: calc(68px + clamp(28px, 6vh, 64px)); margin: 0 auto; opacity: 0; pointer-events: none; }
.ex-head h2 { font-size: clamp(28px, 3.2vw, 46px); }
.ex-head p { margin-top: 10px; color: var(--slate); max-width: 30em; }
.ex-labels { position: absolute; inset: 0; pointer-events: none; }
.ex-labels li { position: absolute; left: 0; top: 0; display: grid; gap: 2px; padding-left: 64px; width: 300px; opacity: 0; transform-origin: left center; margin-top: -0.9em; }
.ex-labels li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 52px; height: 1px; background: var(--ink); }
.ex-labels li::after { content: ""; position: absolute; left: -3px; top: calc(0.8em - 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.ex-labels b { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.ex-labels span { font-size: 14px; color: var(--slate); line-height: 1.5; }
[data-enter] > * { animation: enter 1s var(--ease) both; }
[data-enter] > *:nth-child(2) { animation-delay: .08s; } [data-enter] > *:nth-child(3) { animation-delay: .16s; }
#holo3d { animation: fade 1.4s ease .15s both; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }

/* 공통 구역 */
.sec { padding: clamp(96px, 11vw, 150px) 0; }
.sec-mist { background: var(--mist); }
.sec-head { margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* 기술 3단계 */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: tier; }
.tier { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 2px rgba(20,22,26,.05), 0 10px 30px -12px rgba(20,22,26,.12); }
.tier-img { aspect-ratio: 4 / 3; overflow: hidden; background: #e9ecf0; }
.tier-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tier:hover .tier-img img { transform: scale(1.03); }
.tier-body { padding: 26px 26px 30px; }
.tier-n { font-size: 14px; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.tier h3 { margin-top: 6px; font-size: 23px; }
.tier p { margin-top: 6px; color: var(--slate); font-size: 15.5px; }
.tier ul { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 15px; }
.tier-depth { height: 4px; margin-top: 22px; border-radius: 2px; background: var(--line); overflow: hidden; }
.tier-depth i { display: block; height: 100%; background: var(--ink); }

/* 솔루션 3분야 */
.sol3 { margin-top: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.sol-p { display: flex; flex-direction: column; }
.sol-img { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #eceff3; }
.sol-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sol-p:hover .sol-img img { transform: scale(1.03); }
.sol-p .s { margin-top: 24px; font-size: 13.5px; font-weight: 600; color: var(--slate); }
.sol-p h3 { margin-top: 4px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.03em; }
.sol-p p { margin-top: 10px; color: var(--slate); font-size: 16px; }
.sol-p ul { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.sol-p li { position: relative; padding-left: 16px; font-size: 15px; }
.sol-p li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 7px; height: 1.5px; background: var(--ink); }

/* 공정: 옆으로 흐르는 생산 라인 */
#process { overflow: hidden; }
@media (min-width: 901px) { #process { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 88px 0 48px; } #process .sec-head { margin-bottom: clamp(32px, 4vw, 52px); } }
.line { margin-top: 0; }
.line-track { display: flex; gap: clamp(14px, 1.6vw, 22px); width: max-content; padding: 0 var(--gut) 0 max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); will-change: transform; }
.st { width: clamp(270px, 21vw, 380px); flex: none; transition: opacity .4s var(--ease); opacity: .55; }
.st.on { opacity: 1; }
.st-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #e6e9ee; }
.st-media img, .st-media video { width: 100%; height: 100%; object-fit: cover; }
.st-n { display: block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.st h3 { margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.st p { margin-top: 6px; font-size: 15px; color: var(--slate); line-height: 1.6; }
.line-foot { margin-top: 36px; display: flex; align-items: center; gap: 24px; }
.line-bar { flex: 1; height: 2px; background: var(--line); border-radius: 1px; overflow: hidden; }
.line-bar i { display: block; height: 100%; width: 0; background: var(--ink); }

/* 공급 실적: 연도 목록 */
.years { display: grid; grid-template-columns: minmax(0, 1fr); }
.yr { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 12px 8px; border-top: 1px solid var(--line); border-radius: 6px; cursor: default; transition: background .2s; }
.yr:hover, .yr:focus-visible { background: var(--mist); }
.yr time { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.yr h3 { font-size: 15.5px; }
.yr p { margin-top: 1px; font-size: 13.5px; color: var(--slate); }


/* 실적 지도 */
.hist { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.wmap { position: sticky; top: 110px; aspect-ratio: 1000 / 567; }
.wmap > img { width: 100%; height: 100%; }
.arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 1.1s var(--ease), opacity .3s, stroke .3s; }
.arc.on { stroke-dashoffset: 0; }
.pins { position: absolute; inset: 0; }
.pin { position: absolute; width: 0; height: 0; opacity: 0; transition: opacity .4s var(--ease); }
.pin.on, .pin.home { opacity: 1; }
.pin i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(20,22,26,.12); }
.pin.home i { background: var(--red); box-shadow: 0 0 0 5px rgba(215,40,47,.18); }
.pin.on i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ink); animation: ping 1.6s var(--ease) 1; opacity: 0; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
.pin b { position: absolute; left: 9px; top: -9px; font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--ink); background: rgba(255,255,255,.85); padding: 0 4px; border-radius: 4px; }
.wmap.focus .pin:not(.hl):not(.home) { opacity: .25; }
.wmap.focus .arc:not(.hl) { opacity: .12; }
.wmap .pin.hl { opacity: 1; } .wmap .pin.hl i { background: var(--red); }
.wmap .arc.hl { stroke: var(--red); opacity: 1; stroke-dashoffset: 0; }

/* 직접 비춰 보기 */
.lamp { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  background: #fff; border-radius: calc(var(--r) + 6px); padding: clamp(28px, 4vw, 56px); box-shadow: 0 1px 2px rgba(20,22,26,.05), 0 20px 50px -24px rgba(20,22,26,.18); }
.lamp-copy h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; }
.lamp-copy p { margin-top: 12px; color: var(--slate); max-width: 28em; }
.lamp-copy .seg { margin-top: 24px; }
.lamp-stage { --mx: 50%; --my: 50%; --r: clamp(70px, 9vw, 110px); position: relative; width: 100%; max-width: 460px; justify-self: center; aspect-ratio: 2260 / 2343; cursor: none; touch-action: none; user-select: none; }
.lamp-layer { position: absolute; inset: 0; }
.lamp-layer img, .lamp-layer svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lamp-base svg.micro { opacity: .55; }
.lamp-uv, .lamp-loupe { -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 calc(var(--r) - 1.5px), transparent var(--r)); mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 calc(var(--r) - 1.5px), transparent var(--r)); }
.lamp-uv { background: radial-gradient(circle var(--r) at var(--mx) var(--my), #2a1652, #120a26); }
.lamp-uv img { filter: brightness(.22) saturate(.2) sepia(1) hue-rotate(220deg); }
.lamp-loupe { background: #fff; overflow: hidden; }
.loupe-in { position: absolute; inset: 0; transform-origin: var(--mx) var(--my); transform: scale(3.2); }
.loupe-in svg.micro { opacity: 1; }
.lamp-stage[data-m="uv"] .lamp-loupe, .lamp-stage[data-m="loupe"] .lamp-uv { display: none; }
.lamp-ring { position: absolute; left: var(--mx); top: var(--my); width: calc(var(--r) * 2); height: calc(var(--r) * 2); transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(20,22,26,.55); box-shadow: 0 10px 30px -8px rgba(20,22,26,.35); }
.lamp-stage[data-m="uv"] .lamp-ring { border-color: rgba(140,100,255,.75); box-shadow: 0 0 30px rgba(120,80,255,.35); }


/* 회사 · 설비 사진 */
.plant { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 210px); gap: clamp(10px, 1.2vw, 16px); }
.ph { border-radius: var(--r); overflow: hidden; background: #e2e5ea; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph:hover img { transform: scale(1.03); }
.ph-a { grid-column: 1 / 8; grid-row: 1 / 3; }
.ph-b { grid-column: 8 / 13; grid-row: 1 / 2; }
.ph-c { grid-column: 8 / 13; grid-row: 2 / 3; }
.ph-d { grid-column: 1 / 6; grid-row: 3 / 5; }
.facts { grid-column: 6 / 13; grid-row: 3 / 5; align-self: center; padding-left: clamp(0px, 3vw, 40px); display: grid; gap: 0; }
.facts li { padding: 20px 0; border-bottom: 1px solid #d9dde3; font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; letter-spacing: -0.02em; }
.facts li:first-child { border-top: 1px solid #d9dde3; }

/* 제품 줄 · 고객 */
.shelf-nav { display: flex; gap: 10px; flex: none; }
.shelf-nav button { width: 46px; height: 46px; border: 1px solid #cfd3da; border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.shelf-nav button:hover { border-color: var(--ink); }
.shelf-nav svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.shelf { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))) 8px; }
.shelf::-webkit-scrollbar { display: none; }
.card { flex: none; width: clamp(230px, 22vw, 300px); scroll-snap-align: start; scroll-margin-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); }
.card button { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.card-img { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #e2e5ea; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card button:hover .card-img img { transform: scale(1.03); }
.card b { display: block; margin-top: 14px; font-size: 12.5px; font-weight: 650; letter-spacing: .04em; color: var(--slate); }
.card span { display: block; margin-top: 2px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.cl-title { margin-top: clamp(80px, 9vw, 120px); font-size: 22px; }
.logos { margin-top: 28px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.logos li { min-width: 0; height: clamp(96px, 9vw, 124px); display: flex; align-items: center; justify-content: center; padding: 18px 22px; background: #fff; }
.logos img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* 영상 */
.film-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.film-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: pointer; background: #000; }
.film-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.film-frame:hover img { transform: scale(1.03); }
.play { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px 0 16px; border-radius: 25px; background: #fff; color: var(--ink); font-size: 15.5px; font-weight: 600; transition: transform .2s var(--ease); }
.film-frame:hover .play { transform: translateY(-2px); }
.play svg { width: 20px; height: 20px; fill: var(--ink); }
.play small { color: var(--slate); font-weight: 500; font-variant-numeric: tabular-nums; }

/* 문의 · 지도 */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.form { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--slate); }
.form input, .form textarea { width: 100%; padding: 14px 16px; border: 1px solid #d5d9df; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,22,26,.08); }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.form-help { font-size: 13.5px; color: var(--slate); max-width: 26em; }
.form-help.err { color: var(--red); }
.ct-map h3 { font-size: 22px; }
.seg { margin-top: 18px; display: inline-flex; padding: 4px; border-radius: 24px; background: #e6e9ee; }
.seg button { height: 38px; padding: 0 16px; border: 0; border-radius: 20px; background: transparent; color: var(--slate); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,22,26,.12); }
.map { margin-top: 16px; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #e2e5ea; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
.office { margin-top: 18px; display: grid; gap: 4px; font-size: 15.5px; }
.office b { font-size: 17px; }
.office .meta { color: var(--slate); }
.office a { font-weight: 600; }

/* 푸터 */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; gap: 28px; align-items: flex-start; padding-top: 36px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.foot-in img { flex: none; margin-top: 4px; opacity: .85; }
.foot p { color: var(--slate); font-size: 13.5px; line-height: 1.8; }

/* 창 */
.modal { width: min(1200px, 94vw); max-height: 92svh; padding: 0; border: 0; background: #000; border-radius: 16px; overflow: visible; }
.modal::backdrop { background: rgba(10,12,16,.82); backdrop-filter: blur(6px); }
.modal video, .modal img { width: 100%; max-height: 86svh; object-fit: contain; background: #000; border-radius: 16px; }
.modal-sq { width: min(640px, 94vw); }
.modal-cap { padding: 14px 18px; font-size: 15px; color: #c8ccd3; } .modal-cap b { color: #fff; margin-right: 8px; }
.modal-x { position: absolute; right: 0; top: -50px; height: 38px; padding: 0 18px; border: 0; border-radius: 19px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }

/* 좁은 화면 */
@media (max-width: 1080px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .menu { display: block; order: 3; }
  .lang { margin-left: auto; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--gut); background: #fff;
    font-size: 28px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
  .nav a { color: var(--ink); padding: 10px 0; }
  .nav a::after { display: none; }
  .nav-open .nav { opacity: 1; pointer-events: auto; }
  .hero-grid { grid-template-columns: 1fr; align-items: end; padding-bottom: 8px; }
  .hero-visual { display: none; }
  .ex-labels li { width: 190px; padding-left: 40px; } .ex-labels li::before { width: 30px; }
  .ex-labels b { font-size: 15px; } .ex-labels span { display: none; }
  .hero-fallback { right: auto; left: 50%; top: 30%; width: 60vw; transform: translate(-50%, -50%); }
  .film-grid, .contact { grid-template-columns: 1fr; }
  .sol3 { grid-template-columns: 1fr; gap: 48px; }
  .sol-img { aspect-ratio: 16 / 11; }
  .tiers { grid-template-columns: 1fr; }
  .plant { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .ph { aspect-ratio: 1; } .ph-a, .ph-d { aspect-ratio: 16 / 10; }
  .ph-a { grid-column: 1 / 3; grid-row: auto; } .ph-b, .ph-c, .ph-d { grid-column: auto; grid-row: auto; } .ph-d { grid-column: 1 / 3; }
  .facts { grid-column: 1 / 3; grid-row: auto; align-self: start; padding: 12px 0 0; }
  .line-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; width: auto; }
  .line-track::-webkit-scrollbar { display: none; }
  .st { scroll-snap-align: start; scroll-margin-left: var(--gut); width: 76vw; }
  .hist { grid-template-columns: 1fr; } .wmap { position: relative; top: 0; }
  .lamp { grid-template-columns: 1fr; }
  .pin b { font-size: 11px; }
  .yr { grid-template-columns: 72px 1fr; }
  .sec-head.row { align-items: flex-start; }
}
@media (max-width: 560px) {
  .shelf-nav { display: none; }
  .card { width: 72vw; }
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { flex-direction: column; }
  .hero-cta .btn { flex: 1; }
}
@media (max-width: 560px) { .pin:not(.home):not(.hl) b { display: none; } }
@media (prefers-reduced-motion: reduce) { [data-enter] > *, #holo3d { animation: none; } }

/* ───────── 휴대폰 정리 (v4 mobile) ───────── */
.layers-m, .mcta, .more-btn { display: none; }
details.more > summary { display: none; }
details.more { margin-top: 0; }
@media (max-width: 900px) {
  body { font-size: 16px; }
  h2 { font-size: clamp(25px, 7vw, 32px); line-height: 1.25; }
  .lead { font-size: 15.5px; margin-top: 12px; }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 32px; }
  /* 첫 화면: 제목 · 한 줄 · 버튼 하나 */
  .hero { height: auto; }
  .hero-stage { position: relative; height: 100svh; min-height: 560px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-lead { margin-top: 14px; font-size: 15.5px; }
  .hero-cta { margin-top: 24px; }
  .hero-cta .btn-line { display: none; }
  .hero-cta .btn { flex: 0 1 auto; }
  .hero-foot, .ex-head, .ex-labels { display: none; }
  .hero-grid { padding-bottom: 40px; }
  /* 라벨 구조 그림 목록 */
  .layers-m { display: block; padding-top: 24px; }
  .lm { margin-top: 28px; display: grid; gap: 14px; }
  .lm li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; }
  .lm b { display: block; font-size: 16px; font-weight: 700; }
  .lm span { display: block; font-size: 14px; color: var(--slate); line-height: 1.5; }
  .plate { display: block; width: 76px; height: 46px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); transform: perspective(200px) rotateX(48deg); }
  .plate.p0 { background: linear-gradient(135deg, rgba(200,220,245,.65), rgba(235,243,252,.9)); box-shadow: inset 0 0 0 2px rgba(120,140,170,.6); }
  .plate.p1 { background: url("media/stamp/s26.webp") center / 130% auto; }
  .plate.p2 { background: linear-gradient(110deg, #9aa1ab, #eef0f3 40%, #8d939d 60%, #d9dce1); }
  .plate.p3 { background: radial-gradient(circle at 3px 3px, rgba(150,120,60,.35) 1.2px, transparent 1.6px) 0 0 / 7px 7px, #ecd9a6; }
  .plate.p4 { background: #f6f7f8; box-shadow: inset 0 0 0 1.5px #c9cdd4; }
  /* 사업 분야 · 보안 단계: 옆으로 넘기기 */
  .sol3, .tiers { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 32px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 6px; }
  .sol3::-webkit-scrollbar, .tiers::-webkit-scrollbar { display: none; }
  .sol-p, .tier { flex: none; width: 80vw; scroll-snap-align: start; scroll-margin-left: var(--gut); }
  .sol-img { aspect-ratio: 4 / 3; }
  .sol-p h3 { font-size: 22px; }
  .sol-p p { font-size: 15px; }
  details.more { margin-top: 14px; }
  details.more > summary { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
  details.more > summary::-webkit-details-marker { display: none; }
  details.more > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
  details.more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
  details.more ul { margin-top: 14px; }
  .tier-body { padding: 20px; }
  .tier h3 { font-size: 20px; }
  /* 비춰 보기 체험: 작게 */
  .lamp { padding: 24px; gap: 20px; margin-top: 40px; }
  .lamp-copy h3 { font-size: 21px; }
  .lamp-copy p { font-size: 14.5px; }
  .lamp-stage { max-width: 300px; }
  /* 공정 */
  .st h3 { font-size: 19px; }
  /* 공장 사진: 3장만 */
  .ph-c { display: none; }
  .ph-b { grid-column: 1 / 3; aspect-ratio: 16 / 10; }
  .facts li { font-size: 16px; padding: 14px 0; }
  /* 실적: 최근 6개 + 전체 보기 */
  .years .yr.old { display: none; }
  .years.open .yr.old { display: grid; }
  .more-btn { display: inline-flex; margin-top: 18px; height: 44px; font-size: 14.5px; }
  .yr { padding: 10px 4px; }
  /* 제품 · 고객 */
  .card span { font-size: 15.5px; }
  .cl-title { margin-top: 56px; font-size: 19px; }
  /* 영상 · 문의 */
  .film-grid { gap: 20px; }
  .play { left: 14px; bottom: 14px; height: 44px; font-size: 14.5px; }
  .contact { gap: 48px; }
  /* 하단 고정 버튼 */
  .mcta { display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    padding: 8px; border-radius: 34px; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px -10px rgba(20,22,26,.35); transform: translateY(140%); transition: transform .35s var(--ease); }
  .mcta.show { transform: none; }
  .mcta .btn { flex: 1; height: 48px; }
  .foot-in { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos li { height: 76px; padding: 12px; }
}

/* ───────── 시크릿 디테일: 마이크로 문자 선 · 길로셰 워터마크 · 어두운 기술 구역 ───────── */
:root { --mt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='236' height='6'%3E%3Ctext x='0' y='5' font-family='Arial' font-weight='700' font-size='4.4' letter-spacing='0.35' fill='%23a9afb8'%3ESK HOLOGRAM %C2%B7 GENUINE %C2%B7 SECURITY %C2%B7 %3C/text%3E%3C/svg%3E"); --mt-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='236' height='6'%3E%3Ctext x='0' y='5' font-family='Arial' font-weight='700' font-size='4.4' letter-spacing='0.35' fill='%2343494f'%3ESK HOLOGRAM %C2%B7 GENUINE %C2%B7 SECURITY %C2%B7 %3C/text%3E%3C/svg%3E"); }
/* 선 대신 마이크로 문자 (확대해야 읽힘) */
.hero-foot p, .sol-p ul, .tier ul, .facts li, .facts li:first-child { border-top: 0; border-bottom: 0; background: var(--mt) repeat-x 0 0 / 236px 6px; }
.hero-foot p { padding-top: 22px; }
.sol-p ul, .tier ul { padding-top: 20px; }
.facts li { padding-top: 22px; }
.facts li:last-child { background: var(--mt) repeat-x 0 0 / 236px 6px, var(--mt) repeat-x 0 100% / 236px 6px; padding-bottom: 22px; }
/* 길로셰 워터마크 (지폐 무늬, 아주 옅게) */
.hero-stage::before { content: ""; position: absolute; right: -8vw; top: 50%; width: min(70vw, 980px); aspect-ratio: 1; transform: translateY(-50%); background: url("media/img/guilloche.svg") center / contain no-repeat; opacity: .06; pointer-events: none; }
#contact { position: relative; overflow: hidden; }
#contact > .wrap { position: relative; }
/* 기술 구역: 깊은 흑청색 — 보이지 않는 보안을 다루는 곳 */
/* 푸터: 어둡게 마무리 */


/* 보안 3단계: 요소 이름 + 확인 방법 한 줄 */
.tier ul { gap: 12px; }
.tier li { display: grid; gap: 1px; }
.tier li b { font-weight: 650; font-size: 15px; }
.tier li span { font-size: 13.5px; color: var(--slate); line-height: 1.5; }

/* 상단 메뉴: 하위 메뉴 판 */
.nav { align-items: center; }
.nav-item { position: static; }
.nav a { white-space: nowrap; }
.nav .nav-top { display: inline-block; padding: 23px 0; }
.nav .nav-top::after { bottom: 16px; }
.nav-sub { position: fixed; left: 0; right: 0; top: calc(68px + env(safe-area-inset-top)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(20,22,26,.18);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s; }
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-sub-in { max-width: var(--max); margin: 0 auto; padding: 30px var(--gut) 36px; display: grid; grid-template-columns: minmax(200px, 1fr) 3fr; gap: 40px; }
.nav-lead { display: grid; gap: 6px; color: var(--slate); font-size: 14.5px; line-height: 1.55; }
.nav-lead b { color: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.nav-sub ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 28px; }
.nav-sub ul.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav-sub li a { display: grid; gap: 3px; padding: 12px 14px; margin: 0 -14px; border-radius: 10px; color: var(--ink); text-decoration: none; transition: background .15s; }
.nav-sub li a::after { display: none; }
.nav-sub li a:hover, .nav-sub li a:focus-visible { background: var(--mist); }
.nav-sub li b { font-size: 15.5px; font-weight: 650; }
.nav-sub li b em { font-style: normal; color: var(--slate); font-weight: 500; font-variant-numeric: tabular-nums; margin-right: 10px; font-size: 13.5px; }
.nav-sub li span { font-size: 13.5px; color: var(--slate); font-weight: 400; }
@media (max-width: 900px) {
  .nav { justify-content: flex-start; overflow-y: auto; padding-top: calc(84px + env(safe-area-inset-top)); padding-bottom: 40px; gap: 0; }
  .nav-item { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-top { padding: 4px 0; font-size: 22px; font-weight: 700; }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: transparent; transition: none; }
  .nav-sub-in { padding: 4px 0 0; display: block; }
  .nav-lead { display: none; }
  .nav-sub ul, .nav-sub ul.steps { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .nav-sub li a { padding: 6px 0; margin: 0; display: block; }
  .nav-sub li b { font-size: 15px; font-weight: 500; color: var(--slate); }
  .nav-sub li span, .nav-sub li b em { display: none; }
}

/* 솔루션 (넓은 화면): 왼쪽 목록 + 오른쪽 미리보기 */
.solk { margin-top: clamp(40px, 4.5vw, 64px); display: grid; grid-template-columns: minmax(240px, 0.8fr) 2.4fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
.solk-list { display: grid; gap: 4px; position: sticky; top: 110px; }
.solk-list button { display: grid; gap: 4px; text-align: left; padding: 18px 0 18px 22px; border: 0; background: none; cursor: pointer; position: relative; color: var(--slate); font: inherit; }
.solk-list button::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 2px; background: var(--line); transition: background .25s; }
.solk-list button span { font-size: 13.5px; font-weight: 600; }
.solk-list button b { font-size: clamp(24px, 2.1vw, 32px); font-weight: 700; letter-spacing: -0.03em; transition: color .25s; }
.solk-list button[aria-selected="true"] { color: var(--ink); }
.solk-list button[aria-selected="true"]::before { background: var(--ink); }
.solk-list button:not([aria-selected="true"]) b { color: #a3a9b2; }
.solk-list button:hover b { color: var(--ink); }
.solk-view { display: grid; }
.solk-p { grid-area: 1 / 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 3vw, 48px); align-items: center; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.solk-p.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.solk-img { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #eceff3; }
.solk-img img { width: 100%; height: 100%; object-fit: cover; }
.solk-txt h3 { font-size: clamp(26px, 2.3vw, 34px); font-weight: 700; letter-spacing: -0.03em; }
.solk-txt p { margin-top: 12px; color: var(--slate); font-size: 16.5px; line-height: 1.7; }
.solk-txt ul { margin-top: 22px; padding-top: 20px; display: grid; gap: 9px; background: var(--mt) repeat-x 0 0 / 236px 6px; }
.solk-txt li { position: relative; padding-left: 16px; font-size: 15.5px; }
.solk-txt li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 7px; height: 1.5px; background: var(--ink); }
.solk-txt .btn { margin-top: 30px; }

/* 구역 끝 문의 한 줄 */
.cta-line { margin-top: clamp(40px, 4vw, 56px); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.cta-line p { color: var(--slate); font-size: 16px; }
.cta-line .btn { flex: none; }
@media (max-width: 900px) { .cta-line { flex-direction: column; align-items: flex-start; } .cta-line .btn { width: 100%; } }

/* 오시는 길: 본사 · 서울 사무소 함께 (누르면 그곳 지도) */
.office { grid-template-columns: 1fr 1fr; gap: 12px; }
.office-c { display: grid; gap: 4px; align-content: start; text-align: left; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.office-c b { font-size: 16px; }
.office-c:hover { border-color: #c9cdd4; }
.office-c[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.office-links { grid-column: 1 / -1; margin-top: 4px; font-size: 14.5px; color: var(--slate); }
@media (max-width: 560px) { .office { grid-template-columns: 1fr; } }

/* 확대경: 고해상도 렌더라 더 크게 확대해도 또렷 */
.loupe-in { transform: scale(3.6); }

/* 스톡 31 카드 투어: 화면에 고정된 3D 카드 + 왼쪽 글 (스크롤로 장면 진행) */
.card-tour { --n: 12; position: relative; height: calc(var(--n) * 72svh); background: #0c0f14; color: #eef0f3; }
.card-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden;
  background: radial-gradient(60% 70% at 66% 50%, #161b24 0%, #0c0f14 70%); }
#card3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-copy { position: relative; height: 100%; pointer-events: none; }
.card-caps { position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%); width: min(34%, 460px); height: 60%; }
.card-caps li { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px;
  opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.card-caps li.on { opacity: 1; transform: none; pointer-events: auto; }
.cap-tag { font-size: 13.5px; font-weight: 600; color: #8b94a1; font-variant-numeric: tabular-nums; }
.card-caps h2 { font-size: clamp(30px, 3vw, 48px); }
.card-caps h3 { font-size: clamp(26px, 2.4vw, 38px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.2; }
.card-caps p { color: #a9b1bc; font-size: clamp(15.5px, 1.15vw, 17.5px); line-height: 1.7; max-width: 26em; }
.card-caps .btn { align-self: flex-start; margin-top: 10px; }
.btn-light { background: #eef0f3; color: #0c0f14; }
.btn-light:hover { background: #fff; }
.card-foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 32px; display: flex; align-items: center; gap: 20px; }
.card-bar { width: min(34%, 460px); height: 2px; background: rgba(255,255,255,.12); border-radius: 1px; overflow: hidden; }
.card-bar i { display: block; height: 100%; width: 0; background: #eef0f3; }
.card-sim { font-size: 12.5px; color: #6f7883; }
@media (max-width: 900px) {
  .card-tour { height: calc(var(--n) * 64svh); }
  .card-caps { top: auto; bottom: 64px; transform: none; width: auto; right: var(--gut); height: 42%; }
  .card-caps li { justify-content: flex-end; gap: 8px; }
  .card-caps h2 { font-size: 26px; } .card-caps h3 { font-size: 23px; }
  .card-caps p { font-size: 14.5px; }
  .card-foot { bottom: 22px; } .card-bar { width: 40%; }
  .card-stage { background: radial-gradient(90% 50% at 50% 30%, #161b24 0%, #0c0f14 70%); }
}
/* 카드 투어: 글 뒤를 어둡게 눌러 가까이 볼 때도 읽히게 */
.card-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(12,15,20,.92) 0%, rgba(12,15,20,.78) 26%, rgba(12,15,20,0) 46%); }
.card-copy { z-index: 1; }
@media (max-width: 900px) { .card-stage::after { background: linear-gradient(0deg, rgba(12,15,20,.95) 0%, rgba(12,15,20,.8) 34%, rgba(12,15,20,0) 56%); } }

/* ── 정리: 모든 구역 흰 배경, 구역 사이는 가는 선 하나 ── */
.sec-mist { background: var(--paper); }
.sec + .sec, .card-tour + .sec, .sec + .card-tour { border-top: 1px solid var(--line); }
#process { border-top: 1px solid var(--line); }
.lamp { background: var(--mist); box-shadow: none; }
.tier { box-shadow: 0 0 0 1px var(--line); }
.foot { background: var(--paper); border-top: 1px solid var(--line); }

/* 카드 투어: 밝은 배경 */
.card-tour { background: var(--paper); color: var(--ink); height: calc(var(--n) * 52svh); }
.card-stage { background: radial-gradient(60% 70% at 66% 50%, #eef1f5 0%, #ffffff 72%); }
.card-stage::after { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 26%, rgba(255,255,255,0) 46%); }
.cap-tag { color: var(--slate); }
.card-caps p { color: var(--slate); }
.card-bar { background: var(--line); }
.card-bar i { background: var(--ink); }
.card-sim { color: #8a919c; }
.card-caps .btn-light { background: var(--ink); color: #fff; }
@media (max-width: 900px) {
  .card-tour { height: calc(var(--n) * 50svh); }
  .card-stage { background: radial-gradient(90% 50% at 50% 30%, #eef1f5 0%, #ffffff 72%); }
  .card-stage::after { background: linear-gradient(0deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.85) 34%, rgba(255,255,255,0) 56%); }
}

/* 카드 투어: 오른쪽 둥근 창 안에서만 보임 (페이지는 끝까지 흰색) */
.card-stage, .card-tour .card-stage { background: var(--paper); }
.card-stage::after { display: none; }
#card3d { left: 40%; top: calc(68px + 5vh); width: calc(60% - var(--gut)); height: calc(100% - 68px - 14vh); border-radius: 22px;
  background: radial-gradient(70% 70% at 50% 45%, #f3f5f8 0%, #e6ebf1 100%); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 1700px) { #card3d { left: calc((100vw - var(--max)) / 2 + var(--max) * 0.38); width: calc(var(--max) * 0.62 - var(--gut)); } }
@media (max-width: 900px) {
  #card3d { left: var(--gut); top: calc(68px + 2vh); width: calc(100% - var(--gut) * 2); height: calc(54% - 68px - 2vh); border-radius: 16px; }
  .card-stage::after { display: none; }
}

/* ── 효과 시뮬레이션 페이지 ── */
.sim-page main { padding-top: 68px; }
.nav.simple a { padding: 23px 0; }
.nav.simple a::after { bottom: 16px; }
.sim-head { padding-top: clamp(48px, 7vw, 96px); }
.sim-head h1 { font-size: clamp(34px, 4vw, 60px); font-weight: 750; letter-spacing: -0.04em; }
.sim-tabs { margin-top: 32px; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--mist); }
.sim-tabs button { border: 0; background: none; font: inherit; font-size: 15.5px; font-weight: 600; color: var(--slate); padding: 11px 22px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.sim-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,22,26,.12); }
.sim { margin-top: 28px; display: grid; grid-template-columns: minmax(260px, 0.9fr) 2.1fr; grid-template-rows: auto auto auto; gap: 20px clamp(24px, 3vw, 48px); align-items: center; }
.sim-copy { grid-column: 1; grid-row: 1; position: relative; }
.sim-caps { position: relative; min-height: 15em; }
.sim-caps li { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.sim-caps li.on { opacity: 1; transform: none; position: relative; }
.sim-caps h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.22; }
.sim-caps p { color: var(--slate); font-size: 16px; line-height: 1.7; max-width: 26em; }
.sim-play { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px 8px 12px; font: inherit; font-size: 14px; color: var(--slate); cursor: pointer; }
.sim-play i { width: 10px; height: 12px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); }
.sim-play[aria-pressed="true"] i { border: 0; width: 0; height: 0; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.sim-view { grid-column: 2; grid-row: 1; position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 45%, #f3f5f8 0%, #e6ebf1 100%); box-shadow: inset 0 0 0 1px var(--line); transition: background .6s; }
.sim.uv .sim-view, .uv .sim-view { background: radial-gradient(70% 70% at 50% 45%, #241445 0%, #0f0a1e 100%); }
#sim3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sim-chaps { grid-column: 1 / -1; grid-row: 2; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.sim-chaps button { width: 100%; display: grid; gap: 8px; text-align: left; border: 0; background: none; padding: 4px 0; cursor: pointer; font: inherit; color: var(--slate); }
.sim-chaps i { display: block; height: 2px; background: var(--line); border-radius: 1px; overflow: hidden; }
.sim-chaps b { display: block; height: 100%; width: 0; background: var(--ink); }
.sim-chaps li.done b { width: 100%; }
.sim-chaps span { font-size: 13px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sim-chaps li.on span { color: var(--ink); font-weight: 600; }
.sim-note { grid-column: 1 / -1; grid-row: 3; font-size: 12.5px; color: #8a919c; }
#cases { margin-top: clamp(48px, 6vw, 88px); }
.case-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.case-grid button { width: 100%; text-align: left; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--ink); display: grid; gap: 4px; }
.case-img { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--mist); margin-bottom: 8px; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case-grid button:hover .case-img img { transform: scale(1.04); }
.case-grid b { font-size: 15px; } .case-grid span { font-size: 13.5px; color: var(--slate); }
@media (max-width: 1080px) { .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .sim { grid-template-columns: 1fr; }
  .sim-view { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3.2; border-radius: 16px; }
  .sim-copy { grid-column: 1; grid-row: 2; }
  .sim-caps { min-height: 11em; }
  .sim-chaps { grid-row: 3; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; }
  .sim-note { grid-row: 4; }
  .sim-tabs { display: flex; width: 100%; } .sim-tabs button { flex: 1; padding: 10px 6px; font-size: 14.5px; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 시뮬레이션: 한 화면에 들어오게 */
.sim-head { padding-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 32px; }
.sim-head h1 { font-size: clamp(30px, 3vw, 44px); }
.sim-head .lead { grid-column: 1; margin-top: 8px; font-size: 15.5px; max-width: 46em; }
.sim-head .sim-tabs { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
.sim { margin-top: 22px; }
.sim-view { aspect-ratio: auto; height: clamp(340px, calc(100svh - 68px - 230px), 760px); }
@media (max-width: 900px) {
  .sim-head { grid-template-columns: 1fr; }
  .sim-head .sim-tabs { grid-column: 1; grid-row: auto; margin-top: 16px; }
  .sim-view { height: auto; aspect-ratio: 4 / 3.2; }
}

/* 메인: 시뮬레이션 미리보기 세 장 */
.sim-teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.sim-teaser a { display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
.st-img { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: #e9edf2; margin-bottom: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.st-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.sim-teaser a:hover .st-img img { transform: scale(1.03); }
.sim-teaser b { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.sim-teaser span { font-size: 14.5px; color: var(--slate); }
@media (max-width: 900px) { .sim-teaser { grid-template-columns: 1fr; } }

/* 언론 보도 */
.news { display: grid; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 180px 1fr auto; grid-template-rows: auto auto; gap: 4px 32px; align-items: baseline; padding: 24px 4px; color: var(--ink); text-decoration: none; transition: background .2s; }
.news a:hover { background: var(--mist); }
.nw-meta { grid-row: 1 / span 2; display: grid; gap: 2px; font-size: 14px; color: var(--slate); }
.nw-meta b { color: var(--ink); font-weight: 650; font-size: 15px; }
.news strong { font-size: 18.5px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.45; }
.nw-sum { grid-column: 2; font-size: 15px; color: var(--slate); line-height: 1.6; }
.nw-go { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 14px; font-weight: 600; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.news a:hover .nw-go { border-color: var(--ink); }
@media (max-width: 900px) {
  .news a { grid-template-columns: 1fr; gap: 6px; padding: 20px 2px; }
  .nw-meta { grid-row: auto; display: flex; gap: 10px; }
  .nw-sum, .nw-go { grid-column: 1; grid-row: auto; }
  .nw-go { justify-self: start; margin-top: 4px; }
}

.sim-load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 14px; color: var(--slate); opacity: 0; transition: opacity .3s; pointer-events: none; }
.sim.loading .sim-load { opacity: 1; }

/* 공정: CSS sticky 로 화면에 세워 둠 (높이는 app.js 가 공정 줄 길이에 맞춰 정함) */
#process { overflow: visible; }
@media (min-width: 901px) {
  #process { min-height: 0; display: block; padding: 0; }
  .proc-pin { position: sticky; top: 0; height: 100svh; min-height: 560px; display: flex; flex-direction: column; justify-content: center; padding: 88px 0 48px; overflow: clip; }
}

/* 휴대폰: 첫 화면도 스크롤하면 라벨이 다섯 겹으로 분리 (아래 층 목록은 숨김) */
@media (max-width: 900px) {
  .hero { height: 240svh; }
  .hero-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; }
  .ex-head, .ex-labels { display: block; }
  .ex-head { top: calc(68px + 3vh); }
  .ex-head h2 { font-size: 24px; }
  .ex-head p { font-size: 14px; margin-top: 6px; }
  .ex-labels li { width: 150px; padding-left: 30px; } .ex-labels li::before { width: 22px; }
  .ex-labels b { font-size: 14px; } .ex-labels span { display: none; }
  .layers-m { display: none; }
}

/* 먼 곳으로 이동할 때 잠깐 덮는 흰 막 */
.jump-veil { position: fixed; inset: 0; z-index: 40; background: #fff; opacity: 0; pointer-events: none; transition: opacity .16s ease; }
.jump-veil.on { opacity: 1; transition-duration: .14s; }
/* 사업분야 그림: 가로 4:3 렌더 */
.solk-img { aspect-ratio: 4 / 3; background: #e9edf2; }
.solk-p { align-items: center; }
.sol-img { aspect-ratio: 4 / 3; }

/* ── 사업분야 상세 페이지 ── */
.sd-tabs-wrap { padding-top: clamp(24px, 3vw, 40px); }
.sd-tabs a { text-decoration: none; font-size: 15.5px; font-weight: 600; color: var(--slate); padding: 11px 22px; border-radius: 999px; transition: background .2s, color .2s; }
.sd-tabs a[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,22,26,.12); }
.sd-hero { margin-top: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.sd-hero h1 { margin-top: 10px; font-size: clamp(36px, 4.4vw, 64px); font-weight: 750; letter-spacing: -0.04em; line-height: 1.1; }
.sd-lead { margin-top: 18px; font-size: clamp(18px, 1.6vw, 23px); color: var(--slate); line-height: 1.55; max-width: 22em; }
.sd-hero-img { aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #e9edf2; box-shadow: inset 0 0 0 1px var(--line); }
.sd-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.sd-intro { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.sd-intro p { font-size: 16.5px; line-height: 1.8; color: #333842; padding-top: 18px; background: var(--mt) repeat-x 0 0 / 236px 6px; }
.sol-page .sec { padding: clamp(64px, 7vw, 104px) 0; }
.sol-page .sec h2 { margin-bottom: 28px; }
.sd-offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sd-offer li { padding: 28px 30px 30px; border-radius: var(--r); background: var(--mist); display: grid; gap: 8px; align-content: start; }
.sd-n { font-size: 13.5px; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.sd-offer b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.sd-offer p { font-size: 15.5px; color: var(--slate); line-height: 1.7; }
.sd-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sd-fields li { display: grid; justify-items: start; gap: 14px; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--r); }
.sd-fields svg { width: 30px; height: 30px; color: var(--ink); }
.sd-fields span { font-size: 15.5px; font-weight: 600; }
.sd-effects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sd-effects li { display: grid; gap: 6px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.sd-effects b { font-size: 17.5px; font-weight: 700; letter-spacing: -0.02em; }
.sd-effects p { font-size: 14.5px; color: var(--slate); line-height: 1.6; }
.sd-cases { margin-top: 28px; }
.sd-logos { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.sd-end .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.sd-closing { font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -0.03em; }
.solk-txt .btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.solk-txt .btns .btn { margin-top: 0; }
@media (max-width: 900px) {
  .sd-tabs { display: flex; width: 100%; } .sd-tabs a { flex: 1; text-align: center; padding: 10px 6px; font-size: 14.5px; }
  .sd-hero { grid-template-columns: 1fr; }
  .sd-intro { grid-template-columns: 1fr; }
  .sd-offer, .sd-effects { grid-template-columns: 1fr; }
  .sd-end .wrap { flex-direction: column; align-items: flex-start; }
}

.sol-more-link { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--ink); }

/* ── 첫 방문 인트로 (intro.js) ── */
.intro { position: fixed; inset: 0; z-index: 200; background: #fff; display: grid; cursor: pointer; transition: opacity .6s var(--ease), visibility 0s .6s; }
.intro canvas { width: 100%; height: 100%; display: block; }
.intro.out { opacity: 0; visibility: hidden; }

/* ── 유리 질감 상단 메뉴: 떠 있는 유리판, 뒤가 살짝 굴절돼 비침 ── */
.bar { top: 10px; left: max(10px, calc((100vw - var(--max)) / 2 + 10px)); right: max(10px, calc((100vw - var(--max)) / 2 + 10px)); padding-top: env(safe-area-inset-top); }
.bar-in { height: 58px; padding: 0 clamp(16px, 2vw, 28px); max-width: none; }
.bar::before { border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.48));
  -webkit-backdrop-filter: blur(14px) saturate(175%); backdrop-filter: url(#lg) blur(12px) saturate(175%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.4), inset 1px 0 0 rgba(255,255,255,.5), inset -1px 0 0 rgba(255,255,255,.5),
    0 0 0 1px rgba(20,22,26,.07), 0 10px 30px -12px rgba(20,22,26,.28); }
.bar::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 18px; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(120% 140% at 12% -30%, rgba(255,255,255,.75), rgba(255,255,255,0) 55%), radial-gradient(90% 120% at 100% 130%, rgba(200,215,240,.35), rgba(255,255,255,0) 60%); }
.bar.solid::after { opacity: 1; }
.nav .nav-top { padding: 18px 0; } .nav .nav-top::after { bottom: 12px; }
.nav.simple a { padding: 18px 0; } .nav.simple a::after { bottom: 12px; }
.nav-sub { top: calc(74px + env(safe-area-inset-top)); left: max(10px, calc((100vw - var(--max)) / 2 + 10px)); right: max(10px, calc((100vw - var(--max)) / 2 + 10px)); border: 1px solid var(--line); border-radius: 18px; }
@media (max-width: 900px) {
  .bar { top: 8px; left: 8px; right: 8px; }
  .bar-in { height: 54px; padding: 0 14px 0 16px; }
  .nav-sub { border: 0; border-radius: 0; }
}

/* ── 상단 로고: 마우스를 올리면 홀로그램 빛이 한 번 흐름 ── */
.brand { position: relative; display: block; line-height: 0; }
.brand::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0) 35%, #ff6ad5 42%, #ffd36a 47%, #6affc1 52%, #6ab8ff 57%, #b46aff 62%, rgba(255,255,255,0) 69%) 120% 0 / 260% 100% no-repeat;
  -webkit-mask: url("media/logo/logo_dark_notag.png") center / contain no-repeat; mask: url("media/logo/logo_dark_notag.png") center / contain no-repeat; mix-blend-mode: multiply; }
.brand:hover::after { animation: brandHolo 1.1s var(--ease) both; }
@keyframes brandHolo { 0% { opacity: 1; background-position: 120% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) { .brand:hover::after { animation: none; } }
.sd-logos { background: none; border: 0; gap: 12px; }
.sd-logos li { border: 1px solid var(--line); border-radius: var(--r); }

/* 제품 진열대: 마우스로 잡고 끌기 */
@media (pointer: fine) { .shelf { cursor: grab; } .shelf.dragging { cursor: grabbing; } .shelf.dragging * { pointer-events: none; user-select: none; } }
