/* =====================================================================
   tsw v2 — Agentic / futuristic IT system (deep navy, cyan signal, glass HUD)
   ===================================================================== */
:root {
  --bg: #f5f8fc;
  --fg: #0a1020;
  --fg-2: #3f4b63;
  --muted: #7b869c;
  --line: rgba(20,40,80,0.10);
  --line-2: rgba(20,40,80,0.18);
  --cyan: #0a84ff;
  --blue: #1f5eff;
  --violet: #6b5cff;
  --ok: #0bb783;
  --glass: rgba(255,255,255,0.72);
  --glass-2: #ffffff;
  --r: 8px;
  --sans: "Inter", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --ko: "Pretendard Variable", Pretendard, "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body { font-family: var(--ko); background: var(--bg); color: var(--fg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
code { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--cyan); color: #04101a; }
:lang(ko) { word-break: keep-all; }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }

/* ---------- atmosphere ---------- */
.bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mesh { position: absolute; left: 50%; top: -30%; width: 1400px; height: 1000px; transform: translateX(-50%);
  background: radial-gradient(38% 40% at 50% 45%, rgba(31,94,255,0.16), transparent 70%), radial-gradient(30% 36% at 30% 55%, rgba(10,132,255,0.12), transparent 70%), radial-gradient(28% 32% at 72% 40%, rgba(107,92,255,0.10), transparent 70%);
  filter: blur(50px); animation: mesh 22s ease-in-out infinite alternate; }
@keyframes mesh { to { transform: translateX(-52%) translateY(40px) scale(1.08); } }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(20,40,80,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,40,80,0.07) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, #000 20%, transparent 75%); }
.graph { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; animation: fade-in 2.4s var(--ease) 0.3s forwards; will-change: transform, opacity; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 32%; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(245,248,252,0), var(--bg)); }
@keyframes fade-in { to { opacity: 1; } }
main, .header, .footer { position: relative; z-index: 1; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); background: rgba(245,248,252,0.6); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.header.scrolled { border-bottom-color: var(--line); background: rgba(245,248,252,0.85); }
.progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--blue); z-index: 2; }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; gap: 24px; }
.header-r { justify-self: end; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.logo svg, .logo-ko { fill: currentColor; }
.logo-full { height: 14px; width: auto; display: block; }
.nav { display: flex; gap: 2px; justify-self: center; }
.nav a { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--fg-2); padding: 8px 12px; border-radius: 8px; transition: background 0.2s, color 0.2s; }
.nav a:hover, .nav a.is-active { color: var(--fg); background: rgba(20,40,80,0.06); }
.nav .ext { font-size: 11px; color: var(--muted); }
.header-r { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 8px; place-content: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--fg); margin: 3px 0; border-radius: 2px; transition: transform 0.3s; }
body.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 6px; font-family: var(--ko); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; border: 1px solid transparent; transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s; }
.btn i { font-style: normal; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-primary { background: var(--fg); color: #fff; border-color: var(--fg); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,94,255,0.14); }
.btn-outline { background: #fff; color: var(--fg); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--fg); }
.btn-dark { background: var(--fg); color: #fff; }
.btn-dark:hover { background: var(--blue); box-shadow: 0 0 0 4px rgba(31,94,255,0.14); }
.textlink { font-size: 13.5px; color: var(--muted); padding: 0 6px; align-self: center; transition: color 0.2s; }
.textlink:hover { color: var(--fg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: calc(100vh - 64px); min-height: calc(100dvh - 64px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 0 120px; }
.hero-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-center::before { content: ""; position: absolute; inset: -10% -10%; z-index: -1; background: radial-gradient(50% 55% at 50% 50%, rgba(245,248,252,0.85), rgba(245,248,252,0) 70%); }
h1 { font-size: clamp(42px, 5.9vw, 84px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.06; }
h1 > span { display: block; }
.accent { background: linear-gradient(92deg, var(--cyan) 0%, var(--blue) 55%, var(--violet) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 26px; font-size: clamp(16px, 1.4vw, 19px); color: var(--fg-2); max-width: 560px; line-height: 1.7; text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.scroll-cue { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue span { width: 1px; height: 44px; background: linear-gradient(180deg, var(--cyan), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- live band: stats + ticker ---------- */
.live { position: relative; padding: 8px 0 88px; background: var(--bg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.stats li { padding: 26px 28px 28px 0; }
.stats li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.stats code { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 11px; color: var(--muted); }
.stats code::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--blue); }
.stats strong { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.stats li { transition: background 0.3s; }
.stats li:hover code::before { background: var(--blue); }
.ticker { margin-top: 36px; padding: 26px 0 6px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 80px; padding-right: 80px; }
.ticker-group img { width: auto; filter: grayscale(1) brightness(0.85); opacity: 0.6; transition: filter 0.35s, opacity 0.35s; }
.client-logo[src*="hyundai"] { height: 22px; }
.ticker-group .tk-app { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ko); font-size: 15px; font-weight: 600; color: #7b869c; white-space: nowrap; }
.ticker-group .tk-app img { height: 26px; border-radius: 6px; }
.ticker-group .tk-app img[alt="성균관대학교"] { border-radius: 0; }
.ticker-group img[alt="HYUNDAI"]     { height: 26px; }
.ticker-group img[alt="KT"] { height: 22px; }
.ticker-group img[alt="HD현대"]      { height: 21px; }
.ticker-group img[alt="Dengle"]      { height: 20px; }
.ticker-group img[alt="소상공인365"]  { height: 22px; filter: grayscale(1) brightness(0.7) contrast(1.2); }
.ticker-group img[alt="성균관대학교"]  { height: 30px; }
.ticker:hover img { filter: none; opacity: 1; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 120px 0; background: var(--bg); overflow: hidden; }
.section:nth-of-type(odd) { background: #fff; }
.section-tint { background-color: var(--bg); background-image: radial-gradient(rgba(20,40,80,0.10) 1px, transparent 1px); background-size: 24px 24px; }
.section > .wrap { position: relative; }
.wm { position: absolute; right: max(24px, calc((100% - var(--wrap)) / 2 - 8px)); top: 88px; font-family: var(--sans); font-size: clamp(160px, 20vw, 300px); font-weight: 200; letter-spacing: -0.06em; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(20,40,80,0.10); pointer-events: none; user-select: none; }
.section-tint .wm { -webkit-text-stroke: 1px rgba(20,40,80,0.13); }
.section + .section { border-top: 1px solid var(--line); }
.spec { display: block; margin-bottom: 64px; }
.spec.sub { margin-top: 104px; }
.spec-l { margin-bottom: 22px; }
.spec-l:empty { display: none; }
.spec-l .idx { margin: 0; }
.spec-r { max-width: 820px; }
.sec-head { max-width: 820px; margin-bottom: 56px; }
.idx { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--muted); }
.idx::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(31,94,255,0.12); }
.idx::after { content: ""; width: 40px; height: 1px; background: var(--line-2); margin-left: 4px; }
h2 { font-family: var(--ko); font-size: clamp(34px, 4.2vw, 56px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.1; }
.desc { margin-top: 22px; color: var(--fg-2); font-size: 16.5px; line-height: 1.8; max-width: 740px; text-wrap: balance; }

/* ---------- Agent loop instrument ---------- */
.loop { --step: 1.6s; position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); margin-bottom: 16px; overflow: hidden; }
.loop-cap { display: flex; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.loop-cap code { color: var(--fg); font-weight: 500; }
.loop-body { position: relative; padding: 40px 24px 30px; }
.loop-body::before { content: ""; position: absolute; left: var(--rail-l, calc(10% + 24px)); width: var(--rail-w, 80%); top: 53px; height: 5px; background-image: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 10%); background-size: 100% 100%; opacity: 0.55; pointer-events: none; }
.loop-rail { position: absolute; left: var(--rail-l, calc(10% + 24px)); width: var(--rail-w, 80%); top: 47px; height: 2px; overflow: visible; }
.loop-rail path { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.loop-rail .flow { stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; opacity: 0; transition: stroke-dashoffset var(--step, 1.6s) cubic-bezier(.4,0,.2,1); }
.loop.is-in .loop-rail .flow { opacity: 1; }
.loop-pulse { position: absolute; top: 47px; left: var(--rail-l, 0); width: 10px; height: 10px; margin: -4px 0 0 -5px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 0 0 4px rgba(31,94,255,.14), 0 0 14px rgba(31,94,255,.75); opacity: 0; transition: transform var(--step, 1.6s) cubic-bezier(.4,0,.2,1), opacity .45s ease; pointer-events: none; z-index: 2; }
.loop-pulse::before { content: ""; position: absolute; right: 6px; top: 50%; width: 46px; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(270deg, rgba(31,94,255,.55), rgba(31,94,255,0)); transition: opacity .35s ease; }
.loop-pulse.at-start::before { opacity: 0; transition: none; }
.loop.is-in .loop-pulse { opacity: 1; }
.loop-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.loop-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 28px; }
.loop-steps li::before { content: ""; position: absolute; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line-2); transition: border-color .45s var(--ease), background .45s var(--ease), transform .45s var(--ease); }
.loop-steps li.active::before { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 4px rgba(31,94,255,.14), 0 0 14px rgba(31,94,255,.55); animation: node-hit .6s var(--ease) both; }
@keyframes node-hit { 0% { transform: scale(.9); } 45% { transform: scale(1.55); } 100% { transform: scale(1.15); } }
.loop-steps li::after { content: ""; position: absolute; top: 2px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--blue); opacity: 0; }
.loop-steps li.active::after { animation: ping var(--step, 1.6s) var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.2); opacity: 0; } }
.loop-steps li.done::before { border-color: #8ea9f0; background: #8ea9f0; }
.loop-steps li.done .st, .loop-steps li.active .st { animation: chip-in .5s var(--ease) both; }
@keyframes chip-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.loop-steps code { color: var(--line-2); transition: color .5s var(--ease); }
.loop-steps li.done code, .loop-steps li.active code { color: var(--muted); }
.loop-steps strong { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; color: var(--muted); transition: color .5s var(--ease); }
.loop-steps li.done strong { color: var(--fg-2); }
.loop-steps li.active strong { color: var(--blue); }
.loop-steps span { font-size: 13px; color: var(--line-2); margin-top: 2px; transition: color .5s var(--ease); }
.loop-steps li.done span, .loop-steps li.active span { color: var(--fg-2); }
.loop-steps .st { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.loop-steps .st::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); order: -1; }
.loop-steps .st::before { content: "Queued"; }
.loop-steps li.active .st { color: var(--blue); } .loop-steps li.active .st::after { background: var(--blue); box-shadow: 0 0 0 3px rgba(31,94,255,0.15); } .loop-steps li.active .st::before { content: "Running"; }
.loop-steps li.done .st { color: #7f8db0; } .loop-steps li.done .st::after { background: #8ea9f0; } .loop-steps li.done .st::before { content: "Done"; }

.loop.cycling .loop-rail .flow, .loop.cycling .loop-pulse { opacity: 0; transition: opacity .45s ease; }

/* ---------- capability rows ---------- */
.rows { border-top: 1px solid var(--line-2); }
.row { display: grid; grid-template-columns: 96px 1.2fr 2fr 40px; gap: 32px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); transition: background 0.3s; position: relative; }
.row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--fg); transition: width 0.7s var(--ease); }
.row:hover::after { width: 100%; }
.row-idx { font-family: var(--sans); font-size: 44px; font-weight: 200; letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(20,40,80,0.35); transition: color 0.4s; }
.row:hover .row-idx { color: var(--blue); -webkit-text-stroke: 1px var(--blue); }
.row-head code { display: block; color: var(--muted); margin-bottom: 8px; }
.row-head h3 { font-family: var(--ko); font-size: 24px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.2; }
.row-body .meta { display: block; margin: 4px 0 10px; color: var(--muted); }
.row-body p { color: var(--fg-2); font-size: 15px; line-height: 1.7; max-width: 560px; }
.row .arrow { justify-self: end; font-size: 20px; color: var(--muted); transition: transform 0.5s var(--ease), color 0.3s; padding-top: 2px; }
.row:hover .arrow { transform: translateX(6px); color: var(--fg); }

/* glass HUD cards */
.bento { display: grid; gap: 16px; }
.bento.three { grid-template-columns: repeat(3, 1fr); }
.bento.two { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 30px; transition: border-color 0.3s, box-shadow 0.3s; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--blue), rgba(31,94,255,0) 70%); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.card:hover::before { transform: scaleX(1); }
.card:hover { border-color: rgba(31,94,255,0.35); box-shadow: 0 20px 40px -30px rgba(20,40,80,0.3); }
.case.is-link { cursor: pointer; }
.case.is-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.card h3 { font-family: var(--ko); font-size: 19px; font-weight: 600; letter-spacing: -0.03em; }
.card p { margin-top: 10px; color: var(--fg-2); font-size: 14.5px; line-height: 1.7; }
.ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; color: var(--fg); margin-bottom: 28px; border: 1px solid var(--line-2); }
.ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cap { display: block; padding: 30px; }
.cap-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cap-top code { color: var(--muted); }
.cap .arrow { color: var(--muted); transition: transform 0.4s var(--ease), color 0.2s; }
.cap:hover .arrow { transform: translate(2px, -2px); color: var(--fg); }
.meta { display: block; margin-top: 10px; color: var(--muted); }
.case { display: flex; flex-direction: column; }
.case-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 56px; }
.case-top > code:last-child { font-family: var(--sans); font-size: 22px; font-weight: 200; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(20,40,80,0.35); }
.tag { color: var(--blue); }
.case p { flex: 1; }
.case footer { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.case footer::after { content: ""; }
.case.is-link footer::after { content: "↗"; color: var(--muted); font-size: 13px; transition: transform 0.4s var(--ease), color 0.3s; }
.case.is-link:hover footer::after { transform: translate(3px, -3px); color: var(--blue); }
.client { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--fg-2); }

/* ---------- 04 Service: spec table + device stage ---------- */
.svc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: stretch; }
.svc-spec { display: flex; flex-direction: column; padding: 36px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); }
.app { display: flex; align-items: center; gap: 14px; }
.app img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 12px rgba(10,16,32,0.15); }
.app strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.app span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.spec-table { margin: 30px 0 30px; border-top: 1px solid var(--line-2); flex: 1; }
.spec-table > div:last-child { border-bottom: 0; }
.spec-table > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { display: flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.spec-table dt code { color: var(--blue); }
.spec-table dd { font-size: 14px; color: var(--fg-2); line-height: 1.65; }
.svc-spec .actions { justify-content: flex-start; margin-top: 0; }
.svc-stage { position: relative; aspect-ratio: 1.12 / 1; min-height: 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden;
  background-image: linear-gradient(rgba(20,40,80,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,40,80,0.07) 1px, transparent 1px); background-size: 40px 40px; background-position: center; }
.stage-glow { position: absolute; left: 50%; top: 55%; width: 70%; height: 70%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(31,94,255,0.16), transparent 70%); filter: blur(24px); }

.ph { position: absolute; width: 34%; filter: drop-shadow(0 24px 32px rgba(10,16,32,0.2)); z-index: 1; }
.ph1 { left: 16%; top: 9%; z-index: 2; animation: float 7s ease-in-out infinite; }
.ph2 { left: 50%; top: 16%; opacity: 0.94; animation: float 7s ease-in-out 3s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.callout { position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 6px; box-shadow: 0 8px 20px -12px rgba(10,16,32,0.25); }
.callout code { font-size: 10.5px; color: var(--blue); }
.callout span { font-size: 12.5px; font-weight: 600; color: var(--fg); white-space: nowrap; }
.callout i { position: absolute; background: var(--blue); }
.callout i::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(31,94,255,0.18); }
.c1 { left: 5%; top: 14%; } .c1 i { left: 100%; top: 50%; width: 54px; height: 1px; } .c1 i::after { right: -4px; top: -2.5px; }
.c2 { right: 4%; top: 46%; } .c2 i { right: 100%; top: 50%; width: 40px; height: 1px; } .c2 i::after { left: -4px; top: -2.5px; }
.c3 { left: 6%; bottom: 22%; } .c3 i { left: 100%; top: 50%; width: 70px; height: 1px; } .c3 i::after { right: -4px; top: -2.5px; }
.stage-meta { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 3; display: flex; justify-content: space-between; }
.stage-meta code { font-size: 10.5px; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.alt { margin-top: 22px; font-size: 14px; color: var(--muted); }
.alt a { color: var(--fg); border-bottom: 1px solid var(--line-2); }
.form { display: grid; gap: 16px; padding: 30px; min-width: 0; }
.form:hover { transform: none; }
.form label { display: grid; gap: 6px; min-width: 0; font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--fg-2); }
.form input, .form textarea { display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; height: 44px; padding: 0 12px; margin: 0; border-radius: 6px; border: 1px solid var(--line-2); background: #f8fafd; font: inherit; font-family: var(--ko); font-size: 14px; line-height: 1.4; color: var(--fg); outline: none; appearance: none; -webkit-appearance: none; box-shadow: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form textarea { height: auto; min-height: 112px; padding: 12px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,94,255,0.12); background: #fff; }
.form .btn { justify-self: start; margin-top: 6px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-msg { min-height: 0; margin: 0; font-size: 13px; line-height: 1.6; white-space: pre-line; }
.form-msg.is-ok { color: var(--ok); }
.form-msg.is-err { color: #d7263d; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 28px 64px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand code { display: inline-flex; align-items: center; gap: 8px; }
.footer-brand code::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--blue); }
.logo-ko { height: 15px; width: auto; color: var(--fg); }
.footer-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13.5px; color: var(--fg-2); }
.footer-info div { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.footer-info dt { color: var(--muted); font-size: 12.5px; }
.footer-info a:hover { color: var(--cyan); }
.copy { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.copy a:hover { color: var(--fg); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.bento .rv:nth-child(2), .kpis .rv:nth-child(2) { transition-delay: 0.08s; } .bento .rv:nth-child(3), .kpis .rv:nth-child(3) { transition-delay: 0.16s; } .bento .rv:nth-child(4) { transition-delay: 0.24s; }
.hero .rv { transition-duration: 1.3s; }
.hero h1 { transition-delay: 0.2s; } .hero .lede { transition-delay: 0.55s; } .hero .actions { transition-delay: 0.7s; } .scroll-cue { transition-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } .graph { display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .live-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .bento.three { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; }
  .svc-stage { aspect-ratio: 1.12 / 1; }
  .callout { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; gap: 16px; }
  .loop-steps { grid-template-columns: repeat(5, 1fr); gap: 6px; }   .row { grid-template-columns: 64px 1fr 32px; } .row-body { grid-column: 2; }
  .wm { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .desc br, .lede br { display: none; }
  .header-in { height: 58px; grid-template-columns: 1fr auto; }
  .logo-full { height: 13px; }
  .nav { position: fixed; inset: 58px 0 auto 0; justify-self: stretch; z-index: 49; flex-direction: column; padding: 12px 16px 20px; background: rgba(245,248,252,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s; }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 16px; padding: 12px; }
  .header-r .btn { display: none; }
  .burger { display: grid; }
  .hero { min-height: calc(100vh - 58px); min-height: calc(100dvh - 58px); padding: 24px 0 96px; }
  h1 { font-size: 38px; }
  .actions { width: 100%; } .actions .btn { flex: 1; }
  .kpis { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .stats { grid-template-columns: 1fr; } .stats li { padding: 16px 0; } .stats li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .loop-body { padding: 8px 12px 12px; } .loop-rail, .loop-pulse, .loop-body::before, .loop-steps li::after { display: none; }
  .loop-cap { flex-wrap: wrap; gap: 8px 16px; }   .loop-steps { grid-template-columns: 1fr; gap: 0; }
  .loop-steps li { display: grid; grid-template-columns: 34px 1fr auto; grid-template-areas: "c s st" "c t st" "c e st"; column-gap: 10px; align-items: center; text-align: left; padding: 14px 8px 14px 30px; border-bottom: 1px solid var(--line); }
  .loop-steps li:last-child { border-bottom: 0; }
  .loop-steps li::before { top: 50%; left: 8px; margin-top: -6px; box-shadow: none; }
  .loop-steps code { grid-area: c; } .loop-steps strong { grid-area: s; margin: 0; font-size: 15px; } .loop-steps span { grid-area: t; }   .row { grid-template-columns: 1fr auto; gap: 10px 16px; padding: 24px 0; } .row-idx { display: none; } .row-head { grid-column: 1; } .row-body { grid-column: 1 / 3; } .row .arrow { grid-column: 2; grid-row: 1; }
  .row-head h3 { font-size: 20px; }
  .bento.three, .bento.two { grid-template-columns: 1fr; }
  .svc-spec { padding: 24px; }
  .spec-table > div { grid-template-columns: 1fr; gap: 6px; }
  .svc-stage { aspect-ratio: 1 / 1.02; } .ph { width: 38%; } .ph1 { left: 8%; top: 8%; } .ph2 { left: 52%; top: 14%; }
  .svc-spec .actions .btn { flex: 1 1 45%; }
  .form { padding: 20px; } .form input, .form textarea { font-size: 16px; } .form .btn { justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; } .footer-info { flex-direction: column; gap: 10px; }
  .copy { flex-direction: column; gap: 8px; }
}

#service .wm { display: none; }
#contact .sec-head { position: relative; display: flex; flex-direction: column; margin-bottom: 0; }
#contact .wm { top: auto; bottom: -0.1em; right: auto; left: -0.04em; }
#contact .alt { margin-bottom: 28px; }
#contact .form { margin-top: 39px; }

/* ---------- pillars as table row ---------- */
.stats.pillars { margin-top: 20px; }
.stats.pillars code { text-transform: none; letter-spacing: 0.02em; font-size: 12px; }

/* ---------- case visuals + client logos ---------- */
.case-vis { position: relative; margin: 0 0 22px; aspect-ratio: 45 / 26; border-radius: 6px; background: #eef2f8; border: 1px solid var(--line); overflow: hidden; }
.case-vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case-vis img { transform: scale(1.04); }
.case-vis::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,94,255,0.03), rgba(255,255,255,0.06)); pointer-events: none; }
.case .case-top { margin-bottom: 18px; }
.case:hover .case-vis { border-color: rgba(31,94,255,0.3); }
.client { display: inline-flex; align-items: center; gap: 8px; }
.client-logo { width: auto; object-fit: contain; filter: grayscale(1) brightness(0.45); opacity: 0.9; transition: filter 0.35s, opacity 0.35s; }
.client-logo[src*="app-icon"] { width: 18px; border-radius: 4px; }
.case:hover .client-logo { filter: none; opacity: 1; }
/* optically equal sizes: area-normalised per logo aspect */
.client-logo[src*="hyundai"] { height: 16px; }
.client-logo[src*="kt.svg"]  { height: 13.5px; }
.client-logo[src*="hd.svg"]  { height: 13px; }
.client-logo[src*="dengle"]  { height: 12px; }
.client-logo[src*="sbiz"]    { height: 13.5px; filter: grayscale(1) brightness(0.35) contrast(1.3); }
.client-logo[src*="skku"]    { height: 18px; }
.client-logo[src*="app-icon"]{ height: 16px; border-radius: 4px; }

