/* 새 메인 (v2, 2026-10-27) — 시안 ② 사진 + 한 장씩(refs/motion/b.html + main.css)을 그누보드 메인으로 옮긴 것.
   메인은 옛 CSS(부트스트랩 등)를 불러오지 않으므로(head.sub.php 의 $wm2_bare) 시안의 이름을 그대로 쓴다.
   머리말·꼬리말은 wm2.css. */
/* ── 첫 화면 ── */
  :root { --bg: #1A2430; --ink: #EEF2F5; --ink2: #B4BEC7; --ink3: #7E8A95; --sig: #5AAEEA; --alarm: #F7941D; }
  * { box-sizing: border-box; }
  html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif; word-break: keep-all; -webkit-font-smoothing: antialiased; }
  .hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: var(--bg); }

  /* 사진 한 장 = 화면을 덮는 고정 비율 틀. 표시 점은 이 틀의 % 좌표라 사진과 같이 움직인다 */
  .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
  .slide.on { opacity: 1; }
  .frame { position: absolute; left: 50%; top: 50%; width: max(100%, calc(100vh * 1.7769)); aspect-ratio: 1672 / 941; min-height: 100%; transform: translate(-50%, -50%) scale(1.04); transform-origin: var(--ox, 60%) var(--oy, 50%); }
  .slide.on .frame { animation: drift 6.5s linear forwards; }
  @keyframes drift { from { transform: translate(-50%, -50%) scale(1.04); } to { transform: translate(calc(-50% + var(--dx, -14px)), -50%) scale(1.13); } }
  .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.3) contrast(1.04) saturate(1.06); }
  .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20,28,38,.78) 0%, rgba(20,28,38,.4) 32%, rgba(20,28,38,0) 58%), linear-gradient(0deg, rgba(20,28,38,.7) 0%, rgba(20,28,38,0) 26%), linear-gradient(180deg, rgba(20,28,38,.45) 0%, rgba(20,28,38,0) 14%); }

  .mk { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; opacity: 0; transition: opacity .6s ease; }
  .slide.on .mk { opacity: 1; transition-delay: calc(.5s + var(--i) * .35s); }
  .mk .dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 3px rgba(10,13,17,.6); }
  .mk .ring { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--sig); animation: ring 2.4s ease-out infinite; }
  @keyframes ring { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
  .mk .leg { position: absolute; left: 0; bottom: 0; width: 1px; height: 44px; background: rgba(255,255,255,.45); transform-origin: bottom; }
  .mk .lab { position: absolute; left: 10px; bottom: 34px; padding: 6px 11px 7px; border-radius: 9px; background: rgba(26,36,48,.78); border: 1px solid rgba(255,255,255,.14); white-space: nowrap; }
  .mk.left .lab { left: auto; right: 10px; }
  .mk .n { display: block; font-size: 12px; color: var(--ink3); line-height: 1.25; }
  .mk .v { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; font-feature-settings: "tnum" 1; }
  .mk.alarm .dot { background: var(--alarm); }
  .mk.alarm .ring { border-color: var(--alarm); }
  .mk.alarm .lab { border-color: var(--alarm); }
  .mk.alarm .v { color: var(--alarm); }

  .copy { position: absolute; z-index: 5; left: max(28px, 4vw); top: 50%; transform: translateY(-56%); max-width: 560px; }
  .copy h1 { margin: 0; font-size: clamp(36px, 3.9vw, 58px); line-height: 1.2; letter-spacing: -0.035em; font-weight: 700; }
  .copy p { margin: 22px 0 0; font-size: 18px; line-height: 1.7; color: var(--ink2); max-width: 30em; }
  .act { margin-top: 32px; display: flex; gap: 10px; }
  .act a { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 650; text-decoration: none; font-size: 16px; }
  .act .p { background: #2370B4; color: #fff; }
  .act .s { border: 1px solid rgba(255,255,255,.24); color: var(--ink); background: rgba(10,13,17,.25); }

  .chap { position: absolute; z-index: 5; left: max(28px, 4vw); bottom: 40px; display: grid; grid-template-columns: repeat(4, 170px); gap: 16px; }
  .chap button { all: unset; cursor: pointer; display: grid; gap: 4px; padding-top: 14px; position: relative; color: var(--ink3); }
  .chap button::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.16); }
  .chap button i { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--ink); }
  .chap button.on i { animation: bar var(--dur) linear forwards; }
  @keyframes bar { to { width: 100%; } }
  .chap b { font-size: 15px; font-weight: 650; }
  .chap span { font-size: 13px; }
  .chap button.on { color: var(--ink); }
  .chap button:focus-visible { outline: 2px solid var(--sig); outline-offset: 4px; }

  .panel { position: absolute; z-index: 5; right: max(28px, 4vw); bottom: 40px; width: 300px; padding: 16px 18px; border-radius: 16px; background: rgba(26,36,48,.84); border: 1px solid rgba(255,255,255,.1); }
  .panel h2 { margin: 0; font-size: 13px; font-weight: 700; color: var(--sig); letter-spacing: .02em; }
  .panel .z { font-size: 16px; font-weight: 700; margin-top: 2px; }
  .rows { margin-top: 10px; display: grid; }
  .row { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; color: var(--ink2); }
  .row b { color: var(--ink); font-feature-settings: "tnum" 1; }
  .row.alarm b { color: var(--alarm); }
  .toast { position: absolute; z-index: 6; right: max(28px, 4vw); bottom: 222px; width: 300px; padding: 12px 14px; border-radius: 14px; background: #fff; color: #15202B; box-shadow: 0 12px 30px rgba(0,0,0,.35); display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
  .toast.on { opacity: 1; transform: none; }
  .toast i { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--alarm); margin-top: 6px; }
  .toast b { font-size: 14px; }
  .toast span { font-size: 13px; color: #47545F; }
  .note { position: absolute; z-index: 5; right: max(28px, 4vw); top: 86px; font-size: 12px; color: var(--ink3); }

  @media (max-width: 760px) {
    .hero { height: 100svh; min-height: 680px; }
    .frame { width: auto; height: 62%; min-height: 0; top: auto; bottom: 0; left: 50%; transform-origin: var(--ox) var(--oy); }
    .slide.on .frame { animation: driftm 6.5s linear forwards; }
    @keyframes driftm { from { transform: translate(var(--mx, -62%), 0) scale(1.02); } to { transform: translate(calc(var(--mx, -62%) - 10px), 0) scale(1.1); } }
    .frame { transform: translate(var(--mx, -62%), 0); }
    .shade { background: linear-gradient(180deg, rgba(10,13,17,1) 0%, rgba(10,13,17,1) 36%, rgba(10,13,17,.2) 52%, rgba(10,13,17,0) 62%), linear-gradient(0deg, rgba(10,13,17,.92) 0%, rgba(10,13,17,0) 34%); }
    .copy { top: 84px; transform: none; left: 18px; right: 18px; }
    .copy h1 { font-size: 30px; }
    .copy p { font-size: 15.5px; margin-top: 14px; }
    .act { margin-top: 20px; }
    .act a { flex: 1; justify-content: center; min-height: 46px; padding: 0 12px; font-size: 15px; }
    .chap { left: 18px; right: 18px; bottom: 18px; grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .chap span { display: none; }
    .chap b { font-size: 12.5px; }
    .panel { left: 18px; right: 18px; width: auto; bottom: 72px; padding: 12px 14px; }
    .panel .rows { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .row { display: grid; border-top: 0; padding: 0; font-size: 11.5px; }
    .row b { font-size: 14px; }
    .toast { left: 18px; right: 18px; width: auto; bottom: 206px; }
    .mk .lab, .mk .leg { display: none; }
    .note { display: none; }
  }
  /* 현장 탭(4×170px)과 오른쪽 카드(300px)가 한 줄에 다 안 들어가는 폭: 탭을 남기고 카드를 숨긴다 */
  @media (min-width: 761px) and (max-width: 1180px) { .panel { display: none; } }
  @media (prefers-reduced-motion: reduce) { .slide.on .frame, .mk .ring, .chap button.on i { animation: none; } .slide { transition: none; } }


  /* ── 장면 밝기: 제약 클린룸·냉장 창고는 밝은 사진(tone=light), 밀폐공간·전기실은 어두운 사진 ──
     밝은 장면에서는 왼쪽을 흰 안개로 덮고 글자·표·메뉴·로고를 짙은 색으로 바꾼다. 사진이 바뀌는 시간(1.1s)에 맞춰 함께 바뀐다. */
  .shade, .shade-l { transition: opacity 1.1s ease; }
  .shade-l { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(244,247,250,.95) 0%, rgba(244,247,250,.82) 34%, rgba(244,247,250,0) 60%), linear-gradient(0deg, rgba(244,247,250,.86) 0%, rgba(244,247,250,0) 26%), linear-gradient(180deg, rgba(244,247,250,.7) 0%, rgba(244,247,250,0) 16%); }
  .hero[data-tone="light"] .shade { opacity: 0; }
  .hero[data-tone="light"] .shade-l { opacity: 1; }
  .slide[data-tone="light"] .frame img { filter: brightness(1.04) contrast(1.02); }
  .copy h1, .copy p, .act a, .chap button, .chap b, .panel, .panel .z, .row, .row b, .note { transition: color 1.1s ease, background-color 1.1s ease, border-color 1.1s ease, box-shadow 1.1s ease; }
  .chap button::before, .chap button i { transition: background-color 1.1s ease; }
  .hero[data-tone="light"] .copy h1 { color: #14202B; }
  .hero[data-tone="light"] .copy p { color: #3E4B57; }
  .hero[data-tone="light"] .act .s { color: #14202B; border-color: rgba(20,32,43,.24); background: rgba(255,255,255,.55); }
  .hero[data-tone="light"] .chap button { color: #6A7783; }
  .hero[data-tone="light"] .chap button.on { color: #14202B; }
  .hero[data-tone="light"] .chap button::before { background: rgba(20,32,43,.16); }
  .hero[data-tone="light"] .chap button i { background: #14202B; }
  .hero[data-tone="light"] .panel { background: rgba(255,255,255,.9); border-color: rgba(20,32,43,.08); box-shadow: 0 14px 34px -18px rgba(20,32,43,.35); }
  .hero[data-tone="light"] .panel h2 { color: #2370B4; }
  .hero[data-tone="light"] .panel .z { color: #14202B; }
  .hero[data-tone="light"] .row { color: #4A5763; border-top-color: rgba(20,32,43,.08); }
  .hero[data-tone="light"] .row b { color: #14202B; }
  .hero[data-tone="light"] .note { color: #6A7783; }
  .slide[data-tone="light"] .mk .dot { background: #2370B4; box-shadow: 0 0 0 3px rgba(255,255,255,.8); }
  .slide[data-tone="light"] .mk .ring { border-color: #2370B4; }
  .slide[data-tone="light"] .mk .leg { background: rgba(20,32,43,.4); }
  .slide[data-tone="light"] .mk .lab { background: rgba(255,255,255,.92); border-color: rgba(20,32,43,.1); box-shadow: 0 8px 20px -12px rgba(20,32,43,.4); }
  .slide[data-tone="light"] .mk .n { color: #6A7783; }
  .slide[data-tone="light"] .mk .v { color: #14202B; }
  /* 머리말: 첫 화면 위에 떠 있을 때만 장면 밝기를 따른다(내려가면 짙은 띠) */
  @media (max-width: 760px) {
    .shade-l { background: linear-gradient(180deg, rgba(244,247,250,1) 0%, rgba(244,247,250,1) 36%, rgba(244,247,250,.2) 52%, rgba(244,247,250,0) 62%), linear-gradient(0deg, rgba(244,247,250,.94) 0%, rgba(244,247,250,0) 34%); }
  }

/* ── 아래 장들 ── */
/* 메인 아래 구역 — 시안 ①·② 공통.
   어두운 띠(짙은 남회색)와 밝은 띠를 번갈아 두고, 선·점은 첫 화면의 신호선과 같은 언어로. */
:root {
  --d: #1A2430; --d2: #222E3C; --d3: #2B3949;
  --l: #F2F5F8; --l2: #E8EDF2; --w: #FFFFFF;
  --ink-l: #14202B; --ink-l2: #4A5763; --ink-l3: #7A8794;
  --ink-d: #EEF2F5; --ink-d2: #B4BEC7; --ink-d3: #8592A0;
  --acc: #4FA3E3; --acc-s: #2370B4; --alarm: #F7941D;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
html { scroll-behavior: auto; }
body { line-height: 1.6; }

/* 머리말: 첫 화면을 지나면 단색 띠로 */

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 max(28px, 4vw); }
.sec { padding: 120px 0; }
.sec.light { background: var(--l); color: var(--ink-l); }
.sec.light2 { background: var(--w); color: var(--ink-l); }
.sec.dark { background: var(--d); color: var(--ink-d); }
.head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.head h2 { margin: 0; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.22; letter-spacing: -0.03em; font-weight: 700; }
.head p { margin: 0; font-size: 17.5px; line-height: 1.75; max-width: 36em; }
.light .head p, .light2 .head p { color: var(--ink-l2); }
.dark .head p { color: var(--ink-d2); }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 650; font-size: 16px; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn.ghost { border: 1px solid #C8D1DA; color: var(--ink-l); background: var(--w); }
.btn.ghost:hover { border-color: var(--ink-l); }
.btn.line { border: 1px solid rgba(255, 255, 255, .28); color: var(--ink-d); }
.btn.line:hover { border-color: #fff; }
.btn.white { background: #fff; color: var(--ink-l); }
.btn.white:hover { background: var(--ink-l); color: #fff; }
.ar { display: inline-block; width: 16px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s var(--ease); }
a:hover .ar { transform: translateX(4px); }

/* 나타나는 움직임 */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
li.rv:nth-child(2) { transition-delay: .08s; } li.rv:nth-child(3) { transition-delay: .16s; } li.rv:nth-child(4) { transition-delay: .24s; } li.rv:nth-child(5) { transition-delay: .32s; } li.rv:nth-child(6) { transition-delay: .4s; }

/* 숫자 띠 */
.facts { background: var(--d); color: var(--ink-d); border-top: 1px solid rgba(255, 255, 255, .08); }
.facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 44px 28px 48px; border-left: 1px solid rgba(255, 255, 255, .08); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: flex; align-items: baseline; gap: 2px; font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-feature-settings: "tnum" 1; }
.fact b small { font-size: 20px; font-weight: 600; color: var(--ink-d2); margin-left: 3px; }
.fact .u { display: block; margin-top: 6px; font-size: 16px; font-weight: 650; }
.fact p { margin: 4px 0 0; font-size: 14px; color: var(--ink-d3); }

/* 현장별 구성 */
.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ind-grid a { position: relative; display: block; height: 400px; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; background: var(--d2); }
.ind-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.15) saturate(1.05); transition: transform 1.2s var(--ease); }
.ind-grid a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 38, .1) 30%, rgba(20, 28, 38, .88) 100%); }
.ind-grid a:hover img { transform: scale(1.06); }
.ind-grid .t { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.ind-grid h3 { margin: 0; font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.ind-grid .t p { margin: 6px 0 0; font-size: 15px; color: #D3DAE1; line-height: 1.55; }
.ind-grid .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14.5px; font-weight: 650; color: #fff; }
.ind-grid .ind-tag { position: absolute; z-index: 2; top: 18px; right: 18px; display: flex; align-items: baseline; gap: 6px; padding: 6px 11px; border-radius: 10px; background: rgba(20, 28, 38, .72); border: 1px solid rgba(255, 255, 255, .16); font-size: 12.5px; color: #C9D2DA; opacity: 0; transform: translateY(-4px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ind-grid .ind-tag b { font-size: 15px; color: #fff; font-feature-settings: "tnum" 1; }
.ind-grid .ind-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); align-self: center; }
.ind-grid a:hover .tag, .ind-grid a:focus-visible .tag { opacity: 1; transform: none; }

/* 하는 일: 신호선 하나로 잇는 다섯 단계 */
.flow-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; position: relative; }
.flow-line::before { content: ''; position: absolute; left: 6px; right: 6px; top: 7px; height: 2px; background: linear-gradient(90deg, var(--acc) 0%, #9CC8EC 100%); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.flow-line.in::before { transform: scaleX(1); }
.flow-line .node { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--l); border: 2px solid var(--acc); position: relative; z-index: 1; }
.flow-line h3 { margin: 22px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.flow-line p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-l2); }
.flow-line a { color: var(--acc-s); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* 현장 사진 */
.field-row { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.field-row figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; }
.field-row img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.55) brightness(1.05); transition: filter .6s var(--ease), transform .9s var(--ease); }
.field-row figure:hover img { filter: grayscale(0); transform: scale(1.04); }
.field-row figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; display: grid; gap: 1px; font-size: 14px; color: #D3DAE1; background: linear-gradient(to top, rgba(20, 28, 38, .85), rgba(20, 28, 38, 0)); }
.field-row figcaption b { color: #fff; font-size: 16px; }

/* 브랜드 */
.br-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.br-grid a { display: block; height: 100%; padding: 10px 10px 22px; border-radius: 20px; background: var(--w); color: var(--ink-l); text-decoration: none; box-shadow: 0 1px 2px rgba(20, 32, 43, .05), 0 16px 32px -24px rgba(20, 32, 43, .3); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.br-grid a:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(20, 32, 43, .05), 0 24px 40px -24px rgba(20, 32, 43, .4); }
.br-grid .plate { height: 200px; border-radius: 14px; background: #EEF2F5; display: flex; align-items: center; justify-content: center; gap: 5%; padding: 24px; }
.br-grid .plate img { min-width: 0; max-width: 30%; max-height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.br-grid .plate.one img { max-width: 60%; max-height: 70%; }
.br-grid .bt { display: flex; align-items: baseline; justify-content: space-between; padding: 20px 12px 0; }
.br-grid h3 { margin: 0; font-size: 22px; font-weight: 760; letter-spacing: .03em; }
.br-grid .bt span { font-weight: 650; color: var(--ink-l3); }
.br-grid a > p { margin: 8px 12px 0; color: var(--ink-l2); font-size: 15.5px; }

/* 고객사 */
.logo-box { background: #fff; border: 1px solid #E3E8ED; border-radius: 20px; padding: 24px 32px; }
.logo-box img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .5s, opacity .5s; }
.logo-box:hover img { filter: none; opacity: 1; }

/* 자료 */
.lib { padding: 96px 0; }
.lib-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lib-grid a { position: relative; display: grid; gap: 4px; padding: 24px 22px 26px; border-radius: 18px; background: var(--d2); border: 1px solid rgba(255, 255, 255, .06); color: var(--ink-d); text-decoration: none; transition: background .25s, border-color .25s; }
.lib-grid a:hover { background: var(--d3); border-color: rgba(79, 163, 227, .5); }
.lib-grid b { font-size: 19px; font-weight: 700; }
.lib-grid span { font-size: 14.5px; color: var(--ink-d3); }
.lib-grid .ar { position: absolute; right: 22px; top: 30px; color: var(--acc); }

/* 마무리 문의 */
.cta { background: linear-gradient(120deg, #1D5D96 0%, #2370B4 55%, #2B80C4 100%); color: #fff; padding: 96px 0; }
.cta-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
.cta h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.03em; line-height: 1.2; }
.cta p { margin: 14px 0 0; font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 34em; }
.cta-act { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.cta-act .btn.line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.cta-tel { display: grid; gap: 4px; padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .25); }
.cta-tel span { font-size: 14px; color: rgba(255, 255, 255, .75); }
.cta-tel a { color: #fff; text-decoration: none; font-size: 34px; font-weight: 700; letter-spacing: -0.01em; }
.cta-tel a.mail { font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .85); }

/* 바닥글 */

@media (max-width: 1080px) {
  .head { grid-template-columns: 1fr; gap: 14px; }
  .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
  .ind-grid, .br-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-line { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
  .flow-line::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; transform-origin: top; transform: scaleY(0); background: linear-gradient(180deg, var(--acc), #9CC8EC); }
  .flow-line.in::before { transform: scaleY(1); }
  .flow-line li { position: relative; padding-bottom: 28px; }
  .flow-line .node { position: absolute; left: -36px; top: 4px; }
  .flow-line h3 { margin-top: 0; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-in { grid-template-columns: 1fr; gap: 32px; }
  .cta-tel { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .sec { padding: 80px 0; }
  .head { margin-bottom: 30px; }
  .head h2 { font-size: 28px; }
  .head p { font-size: 16px; }
  .fact { padding: 28px 14px 30px; }
  .fact b { font-size: 34px; }
  .fact p { font-size: 13px; }
  .ind-grid, .br-grid { grid-template-columns: 1fr; }
  .ind-grid a { height: 300px; }
  .ind-grid .ind-tag { opacity: 1; transform: none; }
  .field-row { gap: 10px; }
  .lib-grid { grid-template-columns: 1fr; }
  .cta { padding: 72px 0; }
  .cta-act .btn { flex: 1 1 auto; justify-content: center; }
  .cta-tel a { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .flow-line::before { transform: none !important; transition: none; }
}

/* 키보드 초점 */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.act a .ar { width: 16px; }


/* ───────── 넘김 방식 ─────────
   html.m-page   : 휠 한 번에 한 장. 다음 장이 앞 장을 덮으며 올라오고, 덮이는 장은 살짝 작아지고 어두워진다.
   html.m-scroll : 자유롭게 내리며 글·사진·카드가 차례로 짜여 들어온다. */
.facts-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 등장: 제목은 옆에서, 설명은 조금 늦게, 사진은 아래에서 걷히듯 */
.head.rv { opacity: 1; transform: none; }
.head.rv h2 { opacity: 0; transform: translateX(-40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.head.rv p { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .18s, transform .9s var(--ease) .18s; }
.head.rv.in h2, .head.rv.in p { opacity: 1; transform: none; }
/* 가리는 효과는 안쪽에: 바깥 li 는 그대로 두어야 화면에 들어온 것을 알아챈다 */
.rv.clip { opacity: 1; transform: none; }
.rv.clip > * { clip-path: inset(100% 0 0 0 round 20px); transition: clip-path 1.15s var(--ease); }
.rv.clip.in > * { clip-path: inset(0 0 0 0 round 20px); }
.rv.clip img { scale: 1.2; transition: scale 1.7s var(--ease), transform 1.2s var(--ease), filter .6s var(--ease); }
.rv.clip.in img { scale: 1.1; }
.br-grid li.rv { transform: translateY(26px) scale(.96); }
.br-grid li.rv.in { transform: none; }
.flow-line li.rv .node { transform: scale(0); transition: transform .5s var(--ease) .5s; }
.flow-line li.rv.in .node { transform: none; }

html.m-page .pg { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 84px 0 34px; transform-origin: 50% 0; }
html.m-page .pg::after { content: ''; position: absolute; inset: 0; z-index: 40; background: #0B1016; opacity: var(--cov, 0); pointer-events: none; }
html.m-page .hero.pg { padding: 0; display: block; min-height: 0; }
html.m-page .pg-last { position: relative; height: auto; overflow: visible; display: block; padding: 0; }
html.m-page .pg-last::after { display: none; }
html.m-page .head { margin-bottom: 30px; }
html.m-page .facts { border-top: 0; }
html.m-page .facts-h { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin: 0 0 64px; font-size: clamp(30px, 3.1vw, 44px); letter-spacing: -0.03em; line-height: 1.22; font-weight: 700; }
html.m-page .fact { padding: 8px 32px 12px; }
html.m-page .fact b { font-size: clamp(56px, 6.2vw, 92px); }
html.m-page .fact b small { font-size: 26px; }
html.m-page .fact .u { font-size: 18px; margin-top: 12px; }
html.m-page .fact p { font-size: 15px; }
html.m-page .ind-grid a { height: clamp(160px, calc((100vh - 330px) / 2), 330px); }
html.m-page .field-row { margin-bottom: 24px; }
html.m-page .field-row img { aspect-ratio: auto; height: clamp(200px, calc(100vh - 430px), 440px); }
html.m-page .br-grid .plate { height: clamp(120px, calc(100vh - 560px), 230px); }
html.m-page .logo-box { padding: 14px 24px; }
html.m-page .logo-box img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 320px); margin: 0 auto; }

/* 오른쪽 위치 점(한 장씩일 때) */
.pdots { position: fixed; z-index: 25; right: 22px; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 14px; }
html.m-page .pdots { display: flex; }
.pdots button { all: unset; cursor: pointer; position: relative; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .38); transition: transform .3s var(--ease), background .3s; }
.pdots button.on { background: #fff; transform: scale(1.45); }
.pdots.onlight button { background: rgba(20, 32, 43, .22); }
.pdots.onlight button.on { background: var(--acc-s); }
.pdots button span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: rgba(20, 28, 38, .88); color: #fff; opacity: 0; pointer-events: none; transition: opacity .2s; }
.pdots button:hover span, .pdots button:focus-visible span { opacity: 1; }

/* 위쪽 전환 버튼에 붙는 넘김 방식 버튼 */

/* 스크롤 방식에서 부드러운 스크롤(Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (max-width: 760px) {
}
@media (prefers-reduced-motion: reduce) {
  .rv.clip > * { clip-path: none; }
  .head.rv h2, .head.rv p { opacity: 1; transform: none; }
}

/* ───────── 방식별로 보이는 구역 ─────────
   po = 한 장씩에서만, so = 스크롤에서만. 같은 내용을 방식에 맞게 다르게 보여 준다. */
html.m-page .so { display: none !important; }
html.m-scroll .po { display: none !important; }

/* 현장 설치 지원 항목(한 장씩) */
.sup-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.sup { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.sup li { display: grid; gap: 1px; padding: 10px 16px; border-radius: 12px; background: var(--d2); border: 1px solid rgba(255, 255, 255, .08); }
.sup b { font-size: 15px; }
.sup span { font-size: 13px; color: var(--ink-d3); }
html.m-page .field-row img { height: clamp(180px, calc(100vh - 500px), 400px); }

/* ───────── 스크롤 방식 장면 ───────── */
.sx-pin { position: relative; height: 100vh; overflow: hidden; }

/* 1. 큰 문구가 스크롤만큼 밝아진다 */
.sx-state { background: #0F161E; color: #fff; }
.sx-state-bg { position: absolute; inset: 0; }
.sx-state-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: saturate(.9); }
.sx-state-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 22, 30, .92) 0%, rgba(15, 22, 30, .55) 55%, rgba(15, 22, 30, .3) 100%); }
.sx-state-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.sx-big { margin: 0; font-size: clamp(40px, 6vw, 92px); line-height: 1.14; letter-spacing: -0.045em; font-weight: 760; }
.sx-big .ln { display: block; }
.sx-big .w.hl { color: #6CB8F0; }
.sx-facts { display: flex; flex-wrap: wrap; gap: 18px 64px; margin-top: 60px; }
.sf b { display: flex; align-items: baseline; font-size: 42px; font-weight: 700; letter-spacing: -0.02em; font-feature-settings: "tnum" 1; }
.sf small { font-size: 18px; margin-left: 3px; color: #B4BEC7; font-weight: 600; }
.sf > span { display: block; margin-top: 2px; font-size: 15px; color: #AEB9C3; }

/* 2. 작은 사진 카드가 화면 가득 펼쳐진다 */
.sx-zoom { background: #0F161E; color: #fff; }
.sx-zoom-media { position: absolute; inset: 0; --sh: 1; overflow: hidden; transform-origin: 50% 50%; will-change: transform; }
.sx-zoom-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.1); }
.sx-zoom-media::after { content: ""; position: absolute; inset: 0; opacity: var(--sh); background: linear-gradient(90deg, rgba(15, 22, 30, .86) 0%, rgba(15, 22, 30, .35) 55%, rgba(15, 22, 30, .1) 100%); }
.sx-zoom-txt { position: absolute; left: 0; right: 0; bottom: 16vh; z-index: 2; }
.sx-zoom-txt h2 { margin: 0; font-size: clamp(40px, 5vw, 76px); letter-spacing: -0.04em; line-height: 1.15; font-weight: 740; }
.sx-zoom-txt p { margin: 18px 0 0; font-size: 19px; line-height: 1.7; color: #D3DAE1; }

/* 3. 업종 카드가 가로로 지나간다 */
.sx-ind { background: #0F161E; color: #fff; }
.sx-ind .sx-pin { display: flex; align-items: center; }
.sx-track { list-style: none; margin: 0; padding: 0 max(28px, 4vw); display: flex; gap: 22px; will-change: transform; }
.sx-card a { position: relative; display: block; width: min(34vw, 520px); height: 68vh; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; background: #1A2430; }
.sx-card img { position: absolute; top: -2%; left: -8%; width: 116%; height: 104%; object-fit: cover; filter: brightness(1.12); }
.sx-card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 22, 30, .05) 35%, rgba(15, 22, 30, .9) 100%); }
.sx-card .t { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 28px; }
.sx-card h3 { margin: 0; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.02em; }
.sx-card .t p { margin: 8px 0 0; font-size: 16px; color: #D3DAE1; line-height: 1.55; }
.sx-card .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 650; font-size: 15px; }
.sx-card .ind-tag { position: absolute; z-index: 2; top: 22px; right: 22px; display: flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 10px; background: rgba(15, 22, 30, .7); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; color: #C9D2DA; }
.sx-card .ind-tag b { font-size: 16px; color: #fff; }
.sx-card .ind-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); align-self: center; }
.sx-ind-bar { position: absolute; left: max(28px, 4vw); right: max(28px, 4vw); bottom: 7vh; height: 2px; background: rgba(255, 255, 255, .12); }
.sx-ind-bar i { display: block; width: 100%; height: 100%; background: var(--acc); transform-origin: left; }

/* 4. 신호선이 스크롤만큼 그어지고 단계가 켜진다 */
.sx-svc { background: var(--l); color: var(--ink-l); }
.sx-svc .sx-pin { display: flex; align-items: center; }
.sx-svc .wrap, .sx-brand .wrap, .sx-cl .wrap { width: 100%; }
.sx-svc-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: end; margin-bottom: 72px; }
.sx-svc-head h2, .sx-brand-txt h2, .sx-cl-head h2, .sx-field-txt h2 { margin: 0; font-size: clamp(32px, 3.5vw, 54px); line-height: 1.2; letter-spacing: -0.035em; font-weight: 720; }
.sx-svc-head p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink-l2); }
.sx-line { position: relative; height: 2px; margin: 0 8px; background: #D5DDE5; }
.sx-line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--acc), var(--acc-s)); transform-origin: left; }
.sx-steps { list-style: none; margin: -9px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.sx-steps .node { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--acc); border: 2px solid var(--acc); }
.sx-steps h3 { margin: 24px 0 0; font-size: 21px; letter-spacing: -0.02em; }
.sx-steps p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-l2); }
.sx-steps a { color: var(--acc-s); font-weight: 650; }

/* 5. 현장 설치: 글은 멈춰 있고 사진 두 줄이 서로 다른 속도로 흐른다 */
.sx-field { background: var(--d); color: #fff; padding: 140px 0; overflow: hidden; }
.sx-field-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.sx-field-txt { position: sticky; top: 20vh; }
.sx-field-txt p { margin: 22px 0 28px; font-size: 17.5px; line-height: 1.75; color: var(--ink-d2); }
.sx-sup { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sx-sup li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--d2); border: 1px solid rgba(255, 255, 255, .08); }
.sx-sup b { font-size: 16px; }
.sx-sup span { font-size: 13.5px; color: var(--ink-d3); }
.sx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sx-cols .col { display: grid; gap: 18px; align-content: start; }
.sx-cols .c2 { margin-top: 140px; }
.sx-cols figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; }
.sx-cols img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.4) brightness(1.05); }
.sx-cols figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; display: grid; font-size: 14px; color: #D3DAE1; background: linear-gradient(to top, rgba(20, 28, 38, .85), rgba(20, 28, 38, 0)); }
.sx-cols figcaption b { color: #fff; font-size: 16px; }

/* 6. 브랜드 카드가 한 장씩 올라와 쌓인다 */
.sx-brand { background: var(--l); color: var(--ink-l); }
.sx-brand .sx-pin { display: flex; align-items: center; }
.sx-brand-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.sx-brand-txt p { margin: 20px 0 0; font-size: 18px; line-height: 1.7; color: var(--ink-l2); }
.sx-stack { position: relative; height: min(64vh, 540px); }
.sx-bcard { position: absolute; inset: 0; transform-origin: 50% 0; }
.sx-bcard a { display: flex; flex-direction: column; height: 100%; padding: 12px 12px 28px; border-radius: 26px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(20, 32, 43, .06), 0 30px 60px -36px rgba(20, 32, 43, .45); }
.sx-bcard .plate { flex: 1; min-height: 0; border-radius: 18px; background: #EEF2F5; display: flex; align-items: center; justify-content: center; gap: 5%; padding: 32px; }
.sx-bcard .plate img { min-width: 0; max-width: 28%; max-height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.sx-bcard .plate.one img { max-width: 52%; max-height: 70%; }
.sx-bcard .bt { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 16px 0; }
.sx-bcard h3 { margin: 0; font-size: 30px; font-weight: 760; letter-spacing: .03em; }
.sx-bcard .bt span { font-size: 18px; font-weight: 650; color: var(--ink-l3); }
.sx-bcard a > p { margin: 8px 16px 0; font-size: 16.5px; color: var(--ink-l2); }

/* 7. 고객사 로고가 가운데서부터 열린다 */
.sx-cl { background: #fff; color: var(--ink-l); }
.sx-cl .sx-pin { display: flex; align-items: center; }
.sx-cl-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: end; margin-bottom: 34px; }
.sx-cl-head p { margin: 0; font-size: 17.5px; line-height: 1.7; color: var(--ink-l2); }
.sx-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 330px); margin: 0 auto; }

/* 휴대폰·낮은 화면: 멈춤 없이 차례로 */
@media (max-width: 760px), (max-height: 620px) {
  .sx-pin { height: auto; overflow: visible; padding: 84px 0; }
  .sx-state-in { height: auto; }
  .sx-big { font-size: 38px; }
  .sx-facts { gap: 18px 32px; margin-top: 36px; }
  .sf b { font-size: 32px; }
  .sx-zoom .sx-pin { height: 72vh; padding: 0; }
  .sx-zoom-txt { bottom: 8vh; }
  .sx-zoom-txt h2 { font-size: 34px; }
  .sx-zoom-txt p { font-size: 16px; }
  .sx-zoom-txt p br { display: none; }
  .sx-track { flex-direction: column; padding: 0 18px; gap: 14px; width: 100%; }
  .sx-card a { width: 100%; height: 320px; }
  .sx-ind-bar { display: none; }
  .sx-svc-head, .sx-cl-head, .sx-field-in, .sx-brand-in { grid-template-columns: 1fr; gap: 16px; }
  .sx-svc-head { margin-bottom: 36px; }
  .sx-line { display: none; }
  .sx-steps { grid-template-columns: 1fr; gap: 26px; margin: 0; }
  .sx-steps h3 { margin-top: 12px; }
  .sx-field { padding: 84px 0; }
  .sx-field-txt { position: static; }
  .sx-cols .c2 { margin-top: 48px; }
  .sx-stack { height: auto; display: grid; gap: 14px; }
  .sx-bcard { position: relative; inset: auto; }
  .sx-bcard .plate { height: 180px; flex: none; }
  .sx-logo img { max-height: none; width: 100%; height: auto; }
}

/* ───────── 10-28 시연 의견 반영 ───────── */
/* 숫자로 보는 와이즈맥스: 오른쪽에 냉장 창고 선 그림(센서 → 전송기 → 클라우드) */
.f3 { display: none; }
html.m-page .facts { position: sticky; }
html.m-page .f3 { display: block; position: absolute; inset: 0; z-index: 0; }
html.m-page .f3-c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
html.m-page .f3::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(26, 36, 48, .96) 0%, rgba(26, 36, 48, .82) 34%, rgba(26, 36, 48, 0) 58%); }
.f3-tags { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.f3-tag { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; transition: opacity .5s; will-change: transform; }
.f3-tag::before { content: ''; width: 18px; height: 1px; background: rgba(255, 255, 255, .4); }
.f3-tag .box { padding: 5px 10px 6px; border-radius: 8px; background: rgba(34, 45, 58, .86); border: 1px solid rgba(255, 255, 255, .12); }
.f3-tag .n { display: block; font-size: 11.5px; color: var(--ink-d3); line-height: 1.2; }
.f3-tag .v { display: block; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; font-feature-settings: "tnum" 1; }
.f3-tag.alarm .box { border-color: var(--alarm); }
.f3-tag.alarm .v { color: var(--alarm); }
.f3-tag.cloud::before { display: none; }
.f3-tag.cloud .box { background: transparent; border: 0; padding: 0; transform: translateX(-50%); }
.f3-tag.cloud .n { color: var(--acc); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
html.m-page .facts-wrap { position: relative; z-index: 2; width: 100%; }
html.m-page .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; gap: 0; }
html.m-page .fact { padding: 26px 32px 30px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
html.m-page .fact b { font-size: clamp(48px, 4.8vw, 76px); }

/* 업종별 솔루션: 밝은 바탕, 사진 위·글 아래의 흰 카드 */
.ind.light .ind-grid a { display: flex; flex-direction: column; background: var(--w); color: var(--ink-l); box-shadow: 0 1px 2px rgba(20, 32, 43, .05), 0 18px 36px -26px rgba(20, 32, 43, .35); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.ind.light .ind-grid a:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(20, 32, 43, .05), 0 26px 44px -26px rgba(20, 32, 43, .45); }
.ind.light .ind-grid a::after { display: none; }
.ind.light .ind-grid img { position: relative; flex: 1 1 auto; min-height: 0; height: auto; filter: none; }
.ind.light .ind-grid .t { position: relative; z-index: 2; left: auto; right: auto; bottom: auto; flex: none; padding: 16px 20px 18px; background: var(--w); }
.ind.light .ind-grid h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 20px; }
.ind.light .ind-grid h3::after { content: ''; width: 16px; height: 10px; flex: none; background: var(--acc-s); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s var(--ease); }
.ind.light .ind-grid a:hover h3::after { transform: translateX(4px); }
.ind.light .ind-grid .t p { margin-top: 4px; font-size: 14.5px; color: var(--ink-l2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ind.light .ind-grid .go { display: none; }
.ind.light .ind-grid .ind-tag { opacity: 1; transform: none; }
html.m-page .ind.light .ind-grid a { height: clamp(200px, calc((100vh - 300px) / 2), 340px); }

/* 서비스: 실험실 사진을 아주 옅게 */
.svc, .sx-svc { position: relative; }
.svc-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.svc-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .13; filter: blur(3px) grayscale(.3); transform: scale(1.04); }
.svc-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(242, 245, 248, .55) 0%, rgba(242, 245, 248, 0) 40%, rgba(242, 245, 248, .7) 100%); }
.svc > .wrap, .sx-svc .wrap { position: relative; z-index: 1; }

/* 숫자 장: 기록 화면 카드(Cloud Web)와 기준 이탈 알림 — 첫 화면 카드와 같은 모양 */
.f3-panel { position: absolute; z-index: 2; right: max(64px, 4.5vw); bottom: 44px; width: 300px; padding: 16px 18px; border-radius: 16px; background: rgba(34, 45, 58, .9); border: 1px solid rgba(255, 255, 255, .1); color: var(--ink-d); }
.f3-panel h3 { margin: 0; font-size: 13px; font-weight: 700; color: var(--acc); letter-spacing: .02em; }
.f3-panel .z { font-size: 16px; font-weight: 700; margin-top: 2px; }
.f3-rows { margin-top: 10px; display: grid; }
.f3-rows .row { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: var(--ink-d2); }
.f3-rows .row b { color: #fff; font-feature-settings: "tnum" 1; transition: color .3s; }
.f3-rows .row.alarm b { color: var(--alarm); }
.f3-toast { position: absolute; z-index: 3; right: max(64px, 4.5vw); bottom: 222px; width: 300px; padding: 12px 14px; border-radius: 14px; background: #fff; color: #15202B; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.f3-toast.on { opacity: 1; transform: none; }
.f3-toast i { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--alarm); margin-top: 6px; }
.f3-toast b { font-size: 14px; }
.f3-toast span { font-size: 13px; color: #47545F; }
/* 업종 카드: 값 표시는 왼쪽 위 */
.ind.light .ind-grid .ind-tag { right: auto; left: 18px; }

/* 끌기(드래그)로 글자를 고를 때 메뉴·버튼·그림까지 선택되지 않게.
   웨일은 선택된 둥근 버튼을 네모 테두리로 그려 화면이 깨져 보인다. 읽을 글(제목·설명·숫자)은 그대로 선택할 수 있다. */

/* ── 그누보드 메인용 덧붙임 (2026-10-27) ── */
html, body { font-family: var(--wm2-font); }
body.wm2-home { margin: 0; }
body.wm2-home a { text-decoration: none; }
/* 제품·소프트웨어: 카드 4장(제품 사진 1 + 소프트웨어 화면 3) */
.br-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.br-grid .plate.shot, .sx-bcard .plate.shot { padding: 0; overflow: hidden; background: #E9EEF2; }
.br-grid .plate.shot img, .sx-bcard .plate.shot img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: 0 0; mix-blend-mode: normal; }
.br-grid .bt span, .sx-bcard .bt span { font-size: 14px; letter-spacing: 0; }
.br-grid h3 { letter-spacing: -0.01em; }
.sx-bcard h3 { letter-spacing: -0.01em; }
@media (max-width: 1180px) { .br-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .br-grid.four { grid-template-columns: 1fr; } }
/* 관리자 > 팝업레이어 (옛 default.css 의 #hd_pop 규칙을 메인에서만 옮겨 둠) */
#hd_pop { z-index: 1040; position: relative; margin: 0 auto; height: 0; }
#hd_pop h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
.hd_pops { position: absolute; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .5); }
.hd_pops img { max-width: 100%; }
.hd_pops_footer { display: flex; justify-content: space-between; background: #14202B; }
.hd_pops_footer button { padding: 10px 14px; border: 0; background: none; color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.hd_pops_footer button strong { color: #6CB8F0; }
.sound_only { display: inline-block !important; position: absolute; top: 0; left: 0; width: 0; height: 0; margin: 0 !important; padding: 0 !important; font-size: 0; line-height: 0; border: 0 !important; overflow: hidden !important; }
#hd_login_msg { position: absolute; top: 0; left: 0; font-size: 0; line-height: 0; overflow: hidden; }
/* 사내 띠(회사 IP·직원, 30px)가 있으면 그만큼 아래로 */
html.m-page .pg:not(.hero):not(.pg-last) { padding-top: calc(84px + var(--wm2-st)); }
.lib { padding-top: calc(120px + var(--wm2-st)); }
.note { top: calc(86px + var(--wm2-st)); }
/* 제품 카드: 이름 위에 작은 분류(구독형 S/W 등) */
.br-grid .bt, .sx-bcard .bt { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: 2px; }
