/* ============================================================
   LoopWorks — 루프웍스 기업 홈페이지 스타일
   다크 기본 / 라이트 테마 · 고대비 · 글자 크기 · 움직임 줄이기
   Pretendard / Archivo / JetBrains Mono
   ============================================================ */

:root {
  color-scheme: dark;
  /* 표면 */
  --ink-0: #000000;
  --ink-1: #161719;
  --ink-2: #1f2024;
  --ink-3: #2a2b30;
  --glass: rgba(12, 13, 16, 0.8);
  --drawer-bg: #17181b;
  --header-bg: rgba(0, 0, 0, 0.7);
  --header-bg-solid: rgba(0, 0, 0, 0.88);
  /* 선·격자 */
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.45);
  --grid-line: rgba(255, 255, 255, 0.05);
  /* 글자 */
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.86);
  --muted: #a9adb5;
  --muted-2: #8b8f98;
  /* 포인트 */
  --accent: #427eff;
  --accent-text: #5b8dff;
  --accent-fill: #2d5fdb;
  --accent-fill-hover: #244fc0;
  --accent-soft: rgba(66, 126, 255, 0.16);
  --teal: #09c8c8;
  --error: #ff6b6b;
  --error-text: #ff8a8a;
  /* 장식 */
  --card-grad-a: #2b2d33;
  --card-grad-b: #1c1d21;
  --card-shade: rgba(0, 0, 0, 0.6);
  --thumb-base: #15161a;
  --thumb-b: #1d2a4d;
  --thumb-c: #1e3a8a;
  --thumb-d: #243b7a;
  --canvas-dot: #dbe6ff;
  --canvas-label: rgba(169, 173, 181, 0.9);
  --focus: #ffffff;
  --shadow: rgba(0, 0, 0, 0.7);
  /* 타이포·레이아웃 */
  --font-body: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
  --font-display: "Archivo", "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1200px;
  --header-h: 70px;
  --radius-card: 12px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slide-dur: 6s;
}

/* ---------- 라이트 테마 ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --ink-0: #eef1f6;
  --ink-1: #ffffff;
  --ink-2: #f5f7fa;
  --ink-3: #e6e9f0;
  --glass: rgba(255, 255, 255, 0.88);
  --drawer-bg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.72);
  --header-bg-solid: rgba(255, 255, 255, 0.92);
  --line: rgba(15, 17, 21, 0.12);
  --line-strong: rgba(15, 17, 21, 0.4);
  --grid-line: rgba(15, 17, 21, 0.06);
  --text: #0f1115;
  --text-soft: rgba(15, 17, 21, 0.85);
  --muted: #4b5160;
  --muted-2: #626875;
  --accent: #2b5fdb;
  --accent-text: #2b5fdb;
  --accent-fill: #2b5fdb;
  --accent-fill-hover: #1f4bb8;
  --accent-soft: rgba(43, 95, 219, 0.1);
  --teal: #087a7a;
  --error: #c62828;
  --error-text: #b3261e;
  --card-grad-a: #f7f8fb;
  --card-grad-b: #e6eaf2;
  --card-shade: rgba(255, 255, 255, 0.7);
  --thumb-base: #eef2fa;
  --thumb-b: #c9d6f5;
  --thumb-c: #9db4ee;
  --thumb-d: #b3c5f2;
  --canvas-dot: #1e3fa0;
  --canvas-label: rgba(75, 81, 96, 0.9);
  --focus: #0f1115;
  --shadow: rgba(15, 17, 21, 0.18);
}

/* ---------- 고대비 (접근성 패널) ---------- */
:root.hc {
  --ink-0: #000; --ink-1: #000; --ink-2: #000; --ink-3: #111;
  --glass: #000; --drawer-bg: #000; --header-bg: #000; --header-bg-solid: #000;
  --line: rgba(255, 255, 255, 0.6); --line-strong: #fff; --grid-line: rgba(255, 255, 255, 0.15);
  --text: #fff; --text-soft: #fff; --muted: #e6e6e6; --muted-2: #d0d0d0;
  --accent: #8ab4ff; --accent-text: #8ab4ff; --accent-fill: #0044cc; --accent-fill-hover: #0033aa; --accent-soft: rgba(138, 180, 255, 0.2);
  --teal: #5ff2f2; --error: #ff9c9c; --error-text: #ffb3b3;
  --card-grad-a: #000; --card-grad-b: #000; --card-shade: transparent;
  --thumb-base: #000; --thumb-b: #0a1a44; --thumb-c: #0a1a44; --thumb-d: #0a1a44;
  --canvas-dot: #fff; --canvas-label: #fff; --focus: #ffff00;
}
:root.hc[data-theme="light"] {
  --ink-0: #fff; --ink-1: #fff; --ink-2: #fff; --ink-3: #eee;
  --glass: #fff; --drawer-bg: #fff; --header-bg: #fff; --header-bg-solid: #fff;
  --line: rgba(0, 0, 0, 0.6); --line-strong: #000; --grid-line: rgba(0, 0, 0, 0.15);
  --text: #000; --text-soft: #000; --muted: #1a1a1a; --muted-2: #333;
  --accent: #0033aa; --accent-text: #0033aa; --accent-fill: #0033aa; --accent-fill-hover: #00227a; --accent-soft: rgba(0, 51, 170, 0.12);
  --teal: #005f5f; --error: #b00020; --error-text: #b00020;
  --card-shade: transparent; --thumb-base: #fff; --thumb-b: #dbe4ff; --thumb-c: #dbe4ff; --thumb-d: #dbe4ff;
  --canvas-dot: #000; --canvas-label: #000; --focus: #0033aa;
}
:root.hc .hero-glow, :root.hc .news-thumb::before { display: none; }
:root.hc a:not(.btn):not(.lineup-card):not(.contact-card):not(.logo) { text-decoration: underline; }
:root.hc .btn--primary, :root.hc .contact-card, :root.hc .float-cta { outline: 2px solid var(--text); outline-offset: -2px; }
:root.hc .lineup-card, :root.hc .why-card, :root.hc .metric, :root.hc .inq-form, :root.hc .a11y-panel { border-color: var(--line-strong); }

/* ---------- 접근성 옵션 ---------- */
:root.fs-115 { font-size: 115%; }
:root.fs-130 { font-size: 130%; }
:root.ul a { text-decoration: underline; }
:root.rm *, :root.rm *::before, :root.rm *::after { animation: none !important; transition: none !important; }
:root.rm { scroll-behavior: auto; }
:root.rm .reveal { opacity: 1 !important; transform: none !important; }
:root.rm .hero-content > * { opacity: 1 !important; transform: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.drawer-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink-1);
  color: var(--text);
  font: 400 1rem/1.8 var(--font-body);
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
main, .site-footer, .drawer { overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 300; background: var(--accent-fill); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body); white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent-fill); color: #fff; }
.btn--primary:hover { background: var(--accent-fill-hover); }
.btn--outline { border: 1px solid var(--line-strong); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--ink-1); border-color: var(--text); }

/* ---------- Logo (∞) ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.logo-mark { width: 50px; height: auto; flex-shrink: 0; }
.logo-mark .lm-l { stroke: var(--accent); }
.logo-mark .lm-r { stroke: var(--text); }
.logo-mark .lm-dot { fill: var(--text); }
.logo-word { font: 700 1rem/1.05 var(--font-display); letter-spacing: 0.02em; text-transform: lowercase; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.4s;
}
.site-header.is-scrolled { background: var(--header-bg-solid); }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; }
.header-tools { display: flex; align-items: center; gap: 4px; }
.lang { display: flex; gap: 2px; margin-right: 8px; }
.lang-btn { min-width: 44px; height: 44px; padding: 0 6px; border-radius: 8px; font: 600 0.875rem/1 var(--font-display); color: var(--muted-2); transition: color 0.2s, background 0.2s; }
.lang-btn:hover { color: var(--text); background: var(--accent-soft); }
.lang-btn.is-active { color: var(--text); }
.lang-btn.is-active::after { content: ""; display: block; width: 14px; height: 2px; margin: 3px auto 0; background: var(--accent); border-radius: 2px; }
.tool-btn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--text); border-radius: 50%; transition: background 0.2s; }
.tool-btn:hover { background: var(--accent-soft); }
.tool-btn svg { width: 20px; height: 20px; }
.i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }
.menu-btn { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-right: -8px; border-radius: 8px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s; }
.menu-btn:hover span:nth-child(1) { transform: translateX(-2px); }
.menu-btn:hover span:nth-child(3) { transform: translateX(2px); }

/* ---------- 중앙 메뉴 (데스크톱: 상단 바 + 드롭다운, 햄버거 숨김) ---------- */
.top-nav { position: absolute; left: 50%; top: 0; height: var(--header-h); transform: translateX(-50%); display: none; align-items: center; }
.top-nav > ul { display: flex; gap: 4px; }
.top-nav li { position: relative; }
.top-nav > ul > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; font: 600 0.9375rem/1 var(--font-body); color: var(--muted); letter-spacing: -0.01em; transition: color 0.2s, background 0.2s; }
.top-nav > ul > li:hover > a, .top-nav > ul > li:focus-within > a { color: var(--text); background: var(--accent-soft); }
.top-nav > ul > li > a[aria-current="page"] { color: var(--text); }
.top-nav > ul > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--accent); }
.top-nav > ul > li > a { position: relative; }
.sub-menu { position: absolute; top: 100%; left: 50%; min-width: 200px; padding: 8px; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--drawer-bg); box-shadow: 0 24px 50px -20px var(--shadow); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s 0.2s; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* 마우스 이동 시 닫힘 방지 */
.sub-menu--wide { min-width: 220px; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.sub-menu a { display: flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 8px; font: 500 0.9rem/1.3 var(--font-body); color: var(--muted); white-space: nowrap; transition: color 0.15s, background 0.15s; }
.sub-menu a:hover, .sub-menu a:focus-visible { color: var(--text); background: var(--accent-soft); }
.sub-menu a[aria-current="page"] { color: var(--accent-text); }
@media (min-width: 1024px) { .top-nav { display: flex; } .menu-btn { display: none; } }

/* ---------- Drawer (전체 메뉴) ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
  width: min(100%, 480px); padding: 0 48px 40px;
  background: var(--drawer-bg); color: var(--text); display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.5s var(--ease);
  box-shadow: -20px 0 60px var(--shadow);
}
.drawer.is-open { transform: none; }
.drawer-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.drawer-close { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -12px; color: var(--text); border-radius: 8px; }
.drawer-close svg { width: 22px; height: 22px; }
.drawer-list { margin-top: 20px; }
.drawer-item { border-bottom: 1px solid var(--line); }
.drawer-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 22px 0; font: 600 1.375rem/1.2 var(--font-body); text-align: left; color: var(--text); }
.plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--muted); border-radius: 1px; transition: transform 0.35s var(--ease), background 0.3s; }
.plus::before { left: 0; top: 7px; width: 16px; height: 2px; }
.plus::after { left: 7px; top: 0; width: 2px; height: 16px; }
.drawer-item.is-open .plus::after { transform: scaleY(0); }
.drawer-item.is-open .plus::before { background: var(--accent); }
.drawer-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.drawer-sub > ul { overflow: hidden; min-height: 0; }
.drawer-item.is-open .drawer-sub { grid-template-rows: 1fr; }
.drawer-sub a { display: flex; align-items: center; min-height: 44px; padding: 2px 0; color: var(--muted); font-size: 1rem; transition: color 0.2s, transform 0.2s; }
.drawer-sub a:hover { color: var(--text); transform: translateX(4px); }
.drawer-sub a[aria-current="page"] { color: var(--accent-text); }
.drawer-sub li:last-child a { padding-bottom: 22px; }
.drawer-group { color: var(--accent-text); font: 700 0.75rem/1 var(--font-display); letter-spacing: 0.12em; padding: 12px 0 4px; }
.drawer-foot { margin-top: auto; padding-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(640px, 100vh, 1000px); background: var(--ink-0); overflow: hidden; color: var(--text); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(55% 65% at 76% 50%, rgba(66, 126, 255, 0.26), transparent 70%); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding-top: var(--header-h); }
.hero-content > * { transform: translateY(26px); opacity: 0; transition: transform 0.9s var(--ease), opacity 0.9s var(--ease); }
.hero-slide.is-active .hero-content > * { transform: none; opacity: 1; }
.hero-slide.is-active .hero-content > :nth-child(2) { transition-delay: 0.08s; }
.hero-slide.is-active .hero-content > :nth-child(3) { transition-delay: 0.16s; }
.hero-slide.is-active .hero-content > :nth-child(4) { transition-delay: 0.26s; }
.hero-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; font: 600 0.6875rem/1 var(--font-display); letter-spacing: 0.14em; color: var(--text-soft); margin-bottom: 30px; }
.hero-sub { font-size: 1.25rem; font-weight: 500; color: var(--accent); margin-bottom: 10px; }
.hero-title { font: 700 clamp(2.5rem, 6.2vw, 4.125rem)/1.1 var(--font-display); letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 44px; text-wrap: balance; }
.hero-art {
  position: absolute; z-index: 1; pointer-events: none; color: var(--text);
  right: max(-40px, calc((100% - var(--container)) / 2 - 60px)); top: 50%;
  width: min(54vw, 660px); aspect-ratio: 1; transform: translateY(-50%);
  filter: drop-shadow(0 0 28px rgba(66, 126, 255, 0.35));
}
.hero-art svg { width: 100%; height: 100%; }
.spin { transform-origin: 300px 300px; animation: spin 48s linear infinite; }
.spin--slow { animation-duration: 90s; }
.spin--rev { animation-direction: reverse; animation-duration: 60s; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-slide:not(.is-active) .spin { animation-play-state: paused; }
@keyframes pulse { 50% { opacity: 0.35; } }
.pulse { animation: pulse 3.2s ease-in-out infinite; }
@keyframes dash { to { stroke-dashoffset: -240; } }
.dash { animation: dash 9s linear infinite; }
@keyframes scan { 0% { transform: translateY(-120px); } 100% { transform: translateY(120px); } }
.scan { animation: scan 4s ease-in-out infinite alternate; }
.hero-nav { position: absolute; left: 50%; bottom: 44px; z-index: 3; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font: 600 0.875rem/1 var(--font-display); }
.hero-arrow { width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; transition: color 0.3s; }
.hero-arrow:hover { color: var(--text); }
.hero-arrow svg { width: 16px; height: 16px; }
.hero-dots { display: flex; gap: 4px; }
.hero-dot { min-width: 44px; height: 44px; padding: 0; color: var(--muted); font-variant-numeric: tabular-nums; border-radius: 6px; transition: color 0.3s; }
.hero-dot.is-active { color: var(--accent); }
.hero-progress { width: 120px; height: 2px; background: var(--line); overflow: hidden; }
.hero-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.hero-progress span.is-running { animation: heroProgress var(--slide-dur) linear forwards; }
.hero-nav.is-paused .hero-progress span { animation-play-state: paused; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

/* ---------- Intro (회사소개) ---------- */
.intro { position: relative; background: var(--ink-1); padding: 150px 0 0; text-align: center; overflow: hidden; }
.intro-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.eyebrow-title { font: 600 1.25rem/1.45 var(--font-display); color: var(--accent); margin-bottom: 30px; text-wrap: balance; }
.intro-body { font-size: 1.0625rem; line-height: 1.9; color: var(--text-soft); }
.intro-strong { font-size: 1.375rem; font-weight: 700; margin: 14px 0 40px; }
.intro-visual { position: relative; height: clamp(360px, 46vw, 640px); margin-top: 20px; }
#loopCanvas { width: 100%; height: 100%; display: block; }

/* ---------- Section title ---------- */
.section-title { font: 700 clamp(2rem, 4.5vw, 3rem)/1.1 var(--font-display); letter-spacing: -0.02em; text-align: center; margin-bottom: 56px; text-wrap: balance; }
.section-title--ghost { color: var(--muted); margin-bottom: 48px; }

/* ---------- Product Line-up ---------- */
.lineup { background: var(--ink-1); padding: 100px 0 130px; }
.lineup-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1200px; margin-inline: auto; }
.lineup-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  aspect-ratio: 6 / 7; padding-bottom: 30px; border-radius: var(--radius-card); overflow: hidden; color: var(--text);
  background: linear-gradient(180deg, var(--card-grad-a) 0%, var(--card-grad-b) 100%); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.lineup-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; z-index: -1; background: linear-gradient(180deg, transparent, var(--card-shade)); }
.lineup-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 30px 60px -30px rgba(66, 126, 255, 0.55); }
.lineup-art { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; padding: 14%; color: var(--text); transition: transform 0.7s var(--ease); }
.lineup-card:hover .lineup-art { transform: scale(1.06); }
.lineup-art svg { width: 100%; height: auto; }
.lineup-name { font: 700 1.25rem/1 var(--font-display); letter-spacing: 0.16em; margin-bottom: 8px; }
.lineup-desc { font-size: 0.875rem; color: var(--muted); }

/* ---------- Core Technology ---------- */
.tech { background: var(--ink-1); padding: 60px 0 0; }
.tech-title { font: 800 clamp(2.75rem, 7vw, 5rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--accent); text-align: center; margin-bottom: 40px; }
.tech-panel { padding: 60px 0 90px; }
.tech-panel-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; min-height: 560px; }
.tech-visual { position: relative; }
.tech-panel-inner > *, .inquiry-grid > *, .split > *, .product-inner > * { min-width: 0; }
.tech-text { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.tech-stack { border-right: 2px solid var(--line-strong); padding-right: 28px; }
.eyebrow { display: block; font: 700 1rem/1 var(--font-display); color: var(--accent); margin-bottom: 22px; }
.tech-head { font: 700 clamp(1.5rem, 3vw, 2.125rem)/1.3 var(--font-body); letter-spacing: -0.02em; text-wrap: balance; }
.tech-other { margin-top: 24px; font: 400 0.875rem/1.6 var(--font-body); color: var(--muted-2); }
.tech-desc { color: var(--muted); font-size: 0.9375rem; line-height: 1.75; margin: 16px 0 0; } /* 제목 바로 아래, 세로선 안쪽 */
.tech-text .btn { margin-top: 36px; margin-right: 30px; }

/* 터미널 (RAG 예시) — 테마와 무관하게 어두운 화면 */
.term {
  max-width: 620px; background: #0c0d10; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; overflow: hidden; color: #c9ccd3;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(66, 126, 255, 0.35);
  font: 400 0.84375rem/1.7 var(--font-mono);
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: #8b8f98; font-size: 0.75rem; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3b40; }
.term-bar i:nth-child(1) { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 8px; }
.term-body { padding: 18px 20px 20px; overflow-x: auto; }
.t-line { white-space: nowrap; }
.t-prompt { color: #6f9bff; margin-right: 6px; }
.t-q { color: #fff; }
.t-dim { color: #8b8f98; }
.t-step { margin-top: 10px; color: #e6e8ee; }
.t-step i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #09c8c8; margin-right: 10px; box-shadow: 0 0 8px #09c8c8; vertical-align: 1px; }
.t-step .t-dim { margin-left: 10px; }
.t-docs { margin: 4px 0 0 4px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.t-docs li { display: flex; gap: 14px; align-items: baseline; white-space: nowrap; }
.t-docs span { flex: 1; color: #c9ccd3; overflow: hidden; text-overflow: ellipsis; }
.t-docs em { font-style: normal; color: #8b8f98; }
.t-docs b { color: #6f9bff; font-weight: 500; font-variant-numeric: tabular-nums; }
.t-answer { margin: 14px 0 12px; padding: 12px 14px; border-left: 2px solid #427eff; background: rgba(66, 126, 255, 0.09); color: #fff; font: 400 0.875rem/1.7 var(--font-body); }
.t-cursor { display: inline-block; width: 8px; height: 14px; background: #427eff; vertical-align: -2px; margin-left: 4px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8125rem; color: var(--muted); }
.demo-note { margin-top: 10px; font: 500 0.75rem/1 var(--font-mono); color: var(--muted-2); letter-spacing: .04em; }

/* 운영 대시보드 */
.ops { position: relative; max-width: 640px; color: var(--text); }
.ops-chart { width: 100%; height: auto; overflow: visible; }
.ops-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: min(100%, 400px); margin-bottom: 22px; }
.metric { background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; flex-direction: column; }
.metric-label { font: 500 0.6875rem/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.metric-value { font: 700 1.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--text); }
.metric-value small { font: 500 0.75rem/1 var(--font-body); color: var(--muted); margin-left: 4px; }
.metric-delta { font: 500 0.75rem/1 var(--font-mono); color: var(--teal); margin-top: 8px; }
.chart-grid path { stroke: var(--line); }
.chart-ticks text { font: 500 0.6875rem var(--font-mono); fill: var(--muted-2); }
.chart-dots circle { fill: var(--ink-1); }
.chart-label text { font: 600 0.6875rem var(--font-mono); }
.chart-legend text { font: 500 0.75rem var(--font-body); fill: var(--muted); }

/* ---------- Why LoopWorks ---------- */
.why { background: var(--ink-1); padding: 40px 0 120px; }
.why-lead { text-align: center; font-size: 1.375rem; font-weight: 700; line-height: 1.6; margin: -28px 0 48px; letter-spacing: -0.02em; text-wrap: balance; }
.why-lead span { display: block; font-size: 0.9375rem; font-weight: 400; color: var(--muted); margin-top: 8px; letter-spacing: -0.01em; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 30px 26px 32px; transition: transform 0.5s var(--ease), border-color 0.4s; }
.why-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.why-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.why-icon svg { width: 30px; height: 30px; }
.why-card h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.4; margin-bottom: 12px; letter-spacing: -0.02em; }
.why-card p { font-size: 0.875rem; line-height: 1.75; color: var(--muted); }
.why-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.why-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.why-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Industries ---------- */
.industries { background: var(--ink-0); padding: 110px 0 120px; }
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.ind-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ind-circle {
  position: relative; width: clamp(96px, 10vw, 150px); aspect-ratio: 1; border-radius: 50%; margin-bottom: 20px;
  display: grid; place-items: center; color: var(--text);
  background: radial-gradient(circle at 50% 30%, var(--accent-soft), transparent 72%), var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 20px 40px -30px rgba(66, 126, 255, 0.5);
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.5s;
}
.ind-circle::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; padding: 1.5px;
  background: conic-gradient(from 210deg, transparent 0 55%, var(--accent) 72%, transparent 88%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  transition: transform 0.8s var(--ease);
}
.ind-circle::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed var(--line); opacity: 0; transition: opacity 0.4s, transform 0.8s var(--ease); }
.ind-grid li:hover .ind-circle { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 24px 44px -24px rgba(66, 126, 255, 0.75); }
.ind-grid li:hover .ind-circle::before { transform: rotate(180deg); }
.ind-grid li:hover .ind-circle::after { opacity: 1; transform: rotate(45deg); }
.ind-circle svg { width: 42%; height: 42%; stroke-width: 1.4; }
.ind-grid span { font-size: 1.0625rem; font-weight: 600; }
.ind-grid small { font: 500 0.6875rem/1 var(--font-display); letter-spacing: 0.1em; color: var(--muted-2); margin-top: 6px; text-transform: uppercase; }
.ind-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.ind-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.ind-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.ind-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.ind-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

/* ---------- Latest Updates ---------- */
.news { background: var(--ink-1); padding: 60px 0 130px; }
.news-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(24px, calc((100% - var(--container)) / 2)) 8px; scroll-padding-inline: max(24px, calc((100% - var(--container)) / 2)); scrollbar-width: none; }
.news-track::-webkit-scrollbar { display: none; }
.news-card { flex: 0 0 min(380px, 80vw); scroll-snap-align: start; }
.news-card a { display: block; border-radius: 8px; }
.news-thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 18px; background: var(--thumb-base); transition: transform 0.5s var(--ease), border-color 0.4s; }
.news-card a:hover .news-thumb { transform: translateY(-4px); border-color: var(--accent); }
.news-thumb::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 32px 32px; }
.news-thumb::after { content: attr(data-label); position: absolute; left: 20px; bottom: 16px; font: 700 clamp(1.25rem, 2.4vw, 1.75rem)/1 var(--font-display); letter-spacing: 0.1em; color: var(--text); opacity: 0.22; }
.t1 { background: radial-gradient(70% 90% at 20% 20%, rgba(66, 126, 255, 0.55), transparent 60%), radial-gradient(60% 70% at 90% 90%, rgba(9, 200, 200, 0.25), transparent 60%), var(--thumb-base); }
.t3 { background: linear-gradient(135deg, var(--thumb-b), var(--thumb-base)); }
.t4 { background: radial-gradient(80% 60% at 50% 100%, rgba(66, 126, 255, 0.45), transparent 60%), var(--thumb-base); }
.t5 { background: radial-gradient(50% 70% at 15% 80%, rgba(9, 200, 200, 0.35), transparent 60%), radial-gradient(50% 70% at 85% 20%, rgba(66, 126, 255, 0.4), transparent 60%), var(--thumb-base); }
.t6 { background: linear-gradient(160deg, var(--thumb-base) 40%, var(--thumb-c)); }
.t7 { background: radial-gradient(70% 70% at 70% 60%, rgba(66, 126, 255, 0.4), transparent 60%), var(--thumb-base); }
.t8 { background: linear-gradient(135deg, var(--thumb-base), var(--thumb-d)); }
.news-meta { font: 600 0.8125rem/1 var(--font-body); color: var(--accent-text); margin-bottom: 10px; }
.news-meta .sep { color: var(--muted-2); font-weight: 400; margin: 0 8px; }
.news-title { font-size: 1.125rem; font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; transition: color 0.3s; }
.news-card a:hover .news-title { color: var(--accent); }
.news-date { font: 500 0.875rem/1 var(--font-display); color: var(--muted-2); font-variant-numeric: tabular-nums; }
.news-controls { display: flex; align-items: center; gap: 24px; margin-top: 44px; }
.news-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text); transition: background 0.3s, color 0.3s, opacity 0.3s; }
.news-arrow svg { width: 16px; height: 16px; }
#newsPrev svg { transform: rotate(180deg); }
.news-arrow:hover { background: var(--text); color: var(--ink-1); }
.news-arrow:disabled { opacity: 0.3; cursor: default; }
.news-arrow:disabled:hover { background: none; color: var(--text); }
.news-progress { position: relative; flex: 1; height: 2px; background: var(--line); }
.news-progress span { position: absolute; left: 0; top: 0; height: 100%; width: 30%; background: var(--text); transition: left 0.15s, width 0.15s; }

/* ---------- Contact / Inquiry ---------- */
.contact { background: var(--ink-1); padding-top: 40px; }
.inquiry { padding-bottom: 96px; scroll-margin-top: calc(var(--header-h) + 40px); }
.inquiry-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.inquiry-info h3 { font: 700 2.25rem/1.15 var(--font-body); letter-spacing: -0.03em; margin-bottom: 18px; }
.inquiry-info > p { color: var(--muted); font-size: 1rem; }
.inquiry-dl { margin: 36px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 22px; font-size: 0.9375rem; }
.inquiry-dl dt { color: var(--muted-2); font: 700 0.75rem/1.7 var(--font-display); letter-spacing: 0.08em; }
.inquiry-dl dd { margin: 0; }
.inquiry-dl a:hover { color: var(--accent); }
.inq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.form-note { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--muted); margin-bottom: -4px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9375rem; line-height: 1.4; }
.req { color: var(--accent-text); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 8px;
  background: var(--ink-1); color: var(--text); border: 1px solid var(--line-strong);
  font: inherit; font-size: 1rem; line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field-error { color: var(--error-text); font-size: 0.8125rem; line-height: 1.5; margin: 0; }
.field-error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; padding: 0; flex-shrink: 0; accent-color: var(--accent-fill); }
.check-link { font-size: 0.8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.check-link:hover { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form-status { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); flex: 1; min-width: 200px; }
.form-status.is-ok { color: var(--teal); }
.form-status.is-error { color: var(--error-text); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.contact-band { background: var(--accent-fill); padding: 24px 0; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin-inline: auto; }
.contact-card {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  min-height: 180px; padding: 28px 32px; border-radius: 4px; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #1a45bf 0%, #2d62e8 100%);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.contact-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.6px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6); }
.contact-card:focus-visible { outline-color: #fff; }
.contact-en { font: 500 0.9375rem/1 var(--font-display); color: rgba(255, 255, 255, 0.92); }
.contact-ko { font-size: 1.5rem; font-weight: 700; }
.contact-card svg { position: absolute; right: 26px; bottom: 24px; width: 26px; height: 26px; transition: transform 0.3s var(--ease); }
.contact-card:hover svg { transform: translateX(6px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-0); padding: 76px 0 56px; color: var(--muted); }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px clamp(40px, 7vw, 110px); padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer-col h2 { font: 700 1rem/1 var(--font-body); color: var(--text); margin-bottom: 20px; text-align: center; }
.footer-col li { text-align: center; font-size: 0.875rem; line-height: 1.5; margin-bottom: 10px; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-group { color: var(--accent-text); font: 700 0.75rem/1 var(--font-display); letter-spacing: 0.12em; margin: 16px 0 10px; }
.footer-group:first-child { margin-top: 0; }
.footer-info { padding-top: 48px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--text); }
.footer-brand strong { font: 600 0.9375rem/1 var(--font-body); margin-left: 6px; }
.footer-addr { font-size: 0.875rem; line-height: 1.7; }
.footer-contact, .footer-biz { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.875rem; margin-top: 6px; }
.footer-contact b, .footer-biz b { color: var(--text); font: 700 0.8125rem/1 var(--font-display); margin-right: 8px; letter-spacing: 0.04em; }
.footer-contact a:hover { color: var(--text); }
.footer-legal { margin-top: 30px; font-size: 0.8125rem; display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--text); }
.footer-copy { font: 500 0.75rem/1 var(--font-display); color: var(--muted-2); margin-top: 12px; letter-spacing: 0.02em; }

/* ---------- Floating: 도입 문의 · 접근성 ---------- */
.float-cta {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border-radius: 999px; background: var(--text); color: var(--ink-1); font: 600 0.9375rem/1 var(--font-body);
  box-shadow: 0 14px 30px -10px var(--shadow);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.float-cta svg { width: 14px; height: 14px; }
.float-cta:hover { transform: translateY(-2px); background: var(--accent-fill); color: #fff; }
.a11y-btn {
  position: fixed; left: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px;
  border-radius: 999px; background: var(--ink-2); color: var(--text); border: 1px solid var(--line-strong);
  font: 600 0.9375rem/1 var(--font-body); box-shadow: 0 14px 30px -10px var(--shadow);
  transition: background 0.3s, border-color 0.3s;
}
.a11y-btn:hover, .a11y-btn[aria-expanded="true"] { border-color: var(--accent); background: var(--accent-soft); }
.a11y-btn svg { width: 22px; height: 22px; }
.a11y-panel {
  position: fixed; left: 24px; bottom: 86px; z-index: 95; width: min(340px, calc(100vw - 48px));
  background: var(--ink-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: 16px; padding: 18px 22px 20px;
  box-shadow: 0 30px 60px -20px var(--shadow);
}
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.a11y-head h2 { font: 700 1.125rem/1 var(--font-body); }
.a11y-close { width: 44px; height: 44px; display: grid; place-items: center; color: var(--text); border-radius: 8px; margin-right: -8px; }
.a11y-close svg { width: 18px; height: 18px; }
.a11y-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.a11y-name { font-weight: 600; font-size: 0.9375rem; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.seg button { padding: 8px 12px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); transition: background 0.2s, color 0.2s; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button:focus-visible { outline-offset: -3px; }
.seg button[aria-pressed="true"] { background: var(--accent-fill); color: #fff; }
.switch { position: relative; width: 48px; height: 28px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line-strong); flex-shrink: 0; transition: background 0.3s, border-color 0.3s; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--text); transition: transform 0.3s var(--ease), background 0.3s; }
.switch[aria-checked="true"] { background: var(--accent-fill); border-color: var(--accent-fill); }
.switch[aria-checked="true"] .knob { transform: translateX(20px); background: #fff; }
.a11y-reset { margin-top: 12px; font-size: 0.8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.a11y-reset:hover { color: var(--text); }

/* ---------- 법적 고지 본문 (privacy / email-policy 페이지) ---------- */
.policy-body { padding: 10px 24px 28px; font-size: 0.9375rem; line-height: 1.8; color: var(--text-soft); }
.policy-body h2 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 22px 0 6px; }
.policy-body p { margin: 0 0 10px; }
.policy-body ul, .policy-body ol { padding-left: 22px; margin: 0 0 10px; }
.policy-body ul { list-style: disc; }
.policy-body ol { list-style: decimal; }
.policy-body li { margin-bottom: 4px; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0.55; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.lineup-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.lineup-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.lineup-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.lineup-grid .reveal:nth-child(5) { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-art { opacity: 0.55; }
}
@media (max-width: 1024px) {
  .tech-panel-inner { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  .tech-text { text-align: left; align-items: flex-start; }
  .tech-stack { border-right: 0; border-left: 2px solid var(--line-strong); padding-right: 0; padding-left: 24px; }
  .tech-text .btn { margin-right: 0; margin-left: 26px; }
  .lineup-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-art { right: -20vw; opacity: 0.35; filter: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 12px; }
  .inquiry-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .logo { gap: 10px; }
  .logo-mark { width: 44px; }
  .logo-word { font-size: 0.875rem; }
  .container { width: min(100% - 40px, var(--container)); }
  .header-inner { padding: 0 16px; }
  .lang { margin-right: 2px; }
  .drawer { width: 100%; padding: 0 24px 32px; }
  .drawer-toggle { font-size: 1.25rem; padding: 18px 0; }
  .hero { height: clamp(560px, 92vh, 800px); }
  .hero-nav { bottom: 24px; gap: 4px; }
  .hero-dots { gap: 0; }
  .hero-dot { min-width: 40px; }
  .hero-progress { display: none; } /* 슬라이드 5개 + 44px 탭 영역이 375px에 들어가도록 */
  .hero-sub { font-size: 1rem; }
  .intro { padding-top: 110px; }
  .intro-body { font-size: 0.9375rem; }
  .intro-body br, .intro-strong br, .tech-desc br, .why-card h3 br, .inquiry-info p br, .tech-head br, .tech-other br, .eyebrow-title br { display: none; }
  .tech-head { font-size: 1.375rem; }
  .intro-strong { font-size: 1.125rem; }
  .lineup { padding: 80px 0 100px; }
  .lineup-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ops-metrics { width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .why-lead { font-size: 1.125rem; }
  .why { padding-bottom: 90px; }
  .industries { padding: 80px 0 90px; }
  .news-card { flex-basis: min(300px, 80vw); }
  .inq-form { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  .form-actions { padding-bottom: 64px; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .inquiry-info h3 { font-size: 1.75rem; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { min-height: 150px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .footer-col h2, .footer-col li { text-align: left; }
  .footer-info { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 96px; }
  .float-cta { right: 16px; bottom: 16px; min-height: 44px; padding: 0 16px; font-size: 0.875rem; }
  .a11y-btn { left: 16px; bottom: 16px; min-height: 44px; padding: 0 14px 0 12px; font-size: 0.875rem; }
  .a11y-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .a11y-panel { left: 16px; bottom: 72px; }
}

/* ---------- Reduced motion (OS 설정) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-content > * { transform: none; opacity: 1; }
}

/* ============================================================
   서브페이지 공통
   ============================================================ */
.page-hero { position: relative; background: var(--ink-0); padding: calc(var(--header-h) + 88px) 0 72px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 85% 30%, rgba(66, 126, 255, 0.22), transparent 70%); pointer-events: none; }
.page-hero--compact { padding: calc(var(--header-h) + 60px) 0 48px; }
.page-hero .container { position: relative; }
.page-eyebrow { font: 700 0.875rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.page-title { font: 700 clamp(2.25rem, 5vw, 3.5rem)/1.1 var(--font-body); letter-spacing: -0.03em; margin-bottom: 20px; text-wrap: balance; }
.page-lead { max-width: 720px; font-size: 1.0625rem; line-height: 1.8; color: var(--muted); }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.anchor-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; font: 600 0.875rem/1 var(--font-display); letter-spacing: 0.04em; color: var(--text); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.anchor-nav a:hover { background: var(--text); color: var(--ink-0); border-color: var(--text); }
.section { padding: 100px 0; background: var(--ink-1); scroll-margin-top: 24px; }
.section--alt { background: var(--ink-0); }
.section-head { max-width: 640px; }
.section-head h2 { font: 700 clamp(1.75rem, 3.4vw, 2.5rem)/1.2 var(--font-body); letter-spacing: -0.03em; margin-bottom: 16px; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 1rem; }
.section-head--center { text-align: center; margin: 0 auto 48px; }
.section-head--center .eyebrow { text-align: center; }
.section-head--gap { margin-top: 72px; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.narrow { max-width: 860px; }
.info-table { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0; border-top: 1px solid var(--line-strong); }
.info-table dt, .info-table dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.info-table dt { font: 700 0.8125rem/1.8 var(--font-display); letter-spacing: 0.06em; color: var(--muted-2); padding-right: 32px; text-transform: uppercase; }
.info-table dd { font-size: 0.9375rem; }
.info-table a:hover { color: var(--accent); }
.why-grid--3 { grid-template-columns: repeat(3, 1fr); }
.map-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px; }
.map-label { font: 700 0.75rem/1 var(--font-display); letter-spacing: 0.12em; color: var(--accent-text); margin-bottom: 14px; }
.map-addr { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.map-addr a:hover { color: var(--accent); }
.map-sub { color: var(--muted); font-size: 0.9375rem; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* 제품 블록 */
.product-block { padding: 100px 0; background: var(--ink-1); scroll-margin-top: var(--header-h); }
.product-block--alt { background: var(--ink-0); }
.product-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.product-block--alt .product-inner { direction: rtl; }
.product-block--alt .product-inner > * { direction: ltr; }
.product-art { aspect-ratio: 1; border-radius: var(--radius-card); border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-grad-a), var(--card-grad-b)); display: grid; place-items: center; padding: 14%; color: var(--text); }
.product-art svg { width: 100%; height: auto; }
.product-text h2 { font: 700 clamp(1.5rem, 3vw, 2.125rem)/1.25 var(--font-body); letter-spacing: -0.03em; margin-bottom: 16px; text-wrap: balance; }
.product-text > p { color: var(--muted); margin-bottom: 24px; }
.product-sub { font-size: 0.9375rem; color: var(--muted); margin: 0 0 28px; scroll-margin-top: calc(var(--header-h) + 24px); padding: 12px 16px; border-left: 2px solid var(--accent); background: var(--accent-soft); border-radius: 0 8px 8px 0; }
.product-sub b { color: var(--text); }
.feat-list { display: grid; gap: 12px; margin-bottom: 28px; }
.feat-list li { position: relative; padding-left: 30px; font-size: 0.9375rem; line-height: 1.7; }
.feat-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); }
.feat-list li::after { content: ""; position: absolute; left: 5px; top: calc(0.55em + 4px); width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.feat-list--cols { grid-template-columns: 1fr; margin-bottom: 0; }
@media (min-width: 1024px) { .feat-list--cols { grid-template-columns: repeat(2, 1fr); gap: 12px 32px; } }

/* 절차 (순서가 있는 단계) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px 24px 30px; position: relative; }
.step-no { display: block; font: 800 1.75rem/1 var(--font-display); color: var(--accent); letter-spacing: -0.02em; margin-bottom: 18px; }
.step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.step p { font-size: 0.875rem; line-height: 1.75; color: var(--muted); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq p { padding: 0 0 22px; color: var(--muted); font-size: 0.9375rem; line-height: 1.8; max-width: 720px; }

/* 표 · 채용 */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.table th, .table td { padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { font: 700 0.8125rem/1 var(--font-display); letter-spacing: 0.06em; color: var(--muted-2); border-bottom: 1px solid var(--line-strong); }
.table .empty { text-align: center; color: var(--muted); padding: 48px 12px; }
.job-list { display: grid; gap: 16px; }
.job-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 30px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-card); }
.job-card h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.job-meta { font: 500 0.8125rem/1.6 var(--font-display); color: var(--accent-text); margin-bottom: 10px; }
.job-card p:not(.job-meta) { color: var(--muted); font-size: 0.9375rem; }
.job-card .btn { flex-shrink: 0; }
.job-status { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 5px 10px; border-radius: 999px; background: var(--ink-3); color: var(--muted); font: 700 0.75rem/1 var(--font-display); letter-spacing: 0.08em; }
.btn--disabled { border: 1px solid var(--line); color: var(--muted-2); cursor: default; }
.job-card.is-closed h3 { color: var(--muted); }

/* 뉴스룸 */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; font: 600 0.875rem/1 var(--font-body); color: var(--muted); transition: background 0.2s, color 0.2s; }
.filter-btn:hover { color: var(--text); }
.filter-btn[aria-pressed="true"] { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.news-grid .news-card { flex: none; }
.news-grid .news-card[hidden] { display: none; }
.news-contact { margin-top: 48px; color: var(--muted); font-size: 0.9375rem; }
.news-contact a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.tech--page { padding-top: 0; }
.policy-body--page { padding: 0; font-size: 1rem; }

@media (max-width: 1024px) {
  .split, .product-inner { grid-template-columns: 1fr; gap: 40px; }
  .product-block--alt .product-inner { direction: ltr; }
  .product-art { max-width: 420px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-hero { padding: calc(var(--header-h) + 40px) 0 40px; }
  .page-title { font-size: 2rem; }
  .product-text h2 { font-size: 1.375rem; }
  .section, .product-block { padding: 72px 0; }
  .steps, .why-grid--3, .news-grid { grid-template-columns: 1fr; }
  .info-table { grid-template-columns: 1fr; }
  .info-table dt { padding-bottom: 4px; border-bottom: 0; }
  .info-table dd { padding-top: 0; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .map-card { padding: 24px 22px; }
  .map-addr { font-size: 1.0625rem; }
}
