/* ==========================================================================
   APEXCORE — main stylesheet
   ========================================================================== */

:root {
  --bg: #070b14;
  --bg-2: #0a101d;
  --bg-3: #0d1526;
  --surface: #111a2c;
  --surface-2: #16213a;
  --line: rgba(148, 172, 214, 0.14);
  --line-strong: rgba(148, 172, 214, 0.26);
  --text: #e9eef7;
  --text-2: #a3b0c6;
  --text-3: #6f7d95;

  --light-bg: #ffffff;
  --soft-bg: #f3f6fb;
  --ink: #0b1324;
  --ink-2: #445066;
  --ink-3: #75819a;
  --light-line: #e2e8f1;

  --accent: #22c7e8;
  --accent-strong: #0ea5c6;
  --accent-soft: rgba(34, 199, 232, 0.12);
  --blue: #3b7bff;
  --grad: linear-gradient(120deg, #22c7e8 0%, #3b7bff 100%);

  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.55);
  --shadow-light: 0 18px 40px -24px rgba(15, 30, 60, 0.28);

  --header-h: 72px;
  --container: 1200px;
  --gutter: 24px;

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
    'Noto Sans KR', 'Malgun Gothic', 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', 'JetBrains Mono', Menlo, Consolas, monospace;

  color-scheme: dark;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong, b { font-weight: 700; }

::selection { background: rgba(34, 199, 232, 0.3); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.mono { font-family: var(--mono); letter-spacing: 0; }

.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;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.br-md { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover .ico { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: #04121a;
  box-shadow: 0 10px 30px -12px rgba(34, 199, 232, 0.65);
}
.btn-primary:hover { background: #4fd6f0; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(233, 238, 247, 0.5); background: rgba(255, 255, 255, 0.08); }

.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.25s, border-color 0.25s, backdrop-filter 0.25s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.page-sub .site-header {
  background: rgba(7, 11, 20, 0.86);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--text);
}
.brand-mark { width: 28px; height: 28px; }
.brand-mark svg { width: 100%; height: 100%; }
.bm-outer { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; }
.bm-inner { fill: var(--text); }
.brand-text b { color: var(--accent); font-weight: 800; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav ul a {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-2);
  transition: color 0.2s;
}
.site-nav ul a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.site-nav ul a:hover,
.site-nav ul a[aria-current='page'],
.site-nav ul a.is-active { color: var(--text); }
.site-nav ul a[aria-current='page']::after,
.site-nav ul a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.2s, top 0.25s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* 모바일 메뉴가 열려 있을 때는 헤더도 불투명하게 */
.site-header.is-open { background: var(--bg); border-bottom-color: var(--line); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 88px) 0 110px;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 78% 38%, rgba(59, 123, 255, 0.18), transparent 70%),
    radial-gradient(520px 360px at 62% 70%, rgba(34, 199, 232, 0.12), transparent 70%),
    linear-gradient(180deg, #070b14 0%, #08101f 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 172, 214, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 172, 214, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-2);
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 199, 232, 0.18);
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero-en {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--accent);
}
.hero-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 24px;
  max-width: 560px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--text-2);
}
.hero-sub strong { color: var(--text); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
  max-width: 560px;
}
.hero-pillars a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 26, 44, 0.55);
  transition: border-color 0.2s, background-color 0.2s;
}
.hero-pillars a:hover { border-color: rgba(34, 199, 232, 0.45); background: rgba(17, 26, 44, 0.85); }
.pillar-no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--accent-soft);
}
.pillar-txt { display: flex; flex-direction: column; font-size: 13px; line-height: 1.45; color: var(--text-3); }
.pillar-txt b { font-size: 15px; color: var(--text); font-weight: 700; }

/* hero visual */
.hero-visual {
  position: relative;
  height: 520px;
  max-width: 560px;
  width: 100%;
  justify-self: end;
}

.hv-phone {
  position: absolute;
  left: 0; top: 30px;
  width: 232px;
  padding: 16px 14px 14px;
  border-radius: 34px;
  background: linear-gradient(160deg, #1a2540, #0d1424);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), inset 0 0 0 6px #0a0f1b;
}
.hv-phone::before {
  content: '';
  display: block;
  width: 64px; height: 6px;
  margin: 0 auto 12px;
  border-radius: 6px;
  background: #0a0f1b;
}
.hv-phone-top {
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}
.hv-score {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 8px 6px 12px;
  font-size: 11px;
  color: var(--text-3);
  font-family: var(--mono);
}
.hv-score b { font-size: 22px; color: var(--text); font-family: var(--font); font-weight: 800; }
.hv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(7, 11, 20, 0.7);
}
.hv-grid i {
  aspect-ratio: 1;
  border-radius: 9px;
  background: #1c2944;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}
.hv-grid .t1 { background: #1f6f8f; }
.hv-grid .t2 { background: #2a4c9a; }
.hv-grid .t3 { background: #2a3654; }
.hv-grid .t4 { background: #3b3f73; }
.hv-grid .on {
  background: var(--accent);
  box-shadow: 0 0 18px rgba(34, 199, 232, 0.55), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  animation: tile-pop 3.2s ease-in-out infinite;
}
.hv-grid .on:nth-child(7) { animation-delay: 0.12s; }
.hv-grid .on:nth-child(8) { animation-delay: 0.24s; }
@keyframes tile-pop {
  0%, 70%, 100% { transform: scale(1); }
  78% { transform: scale(0.88); }
  86% { transform: scale(1.04); }
}
.hv-ad {
  margin-top: 12px;
  padding: 9px;
  border: 1px dashed rgba(148, 172, 214, 0.3);
  border-radius: 10px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}

.hv-link {
  position: absolute;
  left: 210px; top: 140px;
  width: 120px; height: 200px;
  overflow: visible;
}
.hv-link path {
  fill: none;
  stroke: rgba(34, 199, 232, 0.5);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
}
.hv-pulse { fill: var(--accent); }

.hv-pipeline {
  position: absolute;
  right: 0; top: 150px;
  width: 300px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(13, 21, 38, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hv-pipe-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-3);
}
.hv-dots { display: inline-flex; gap: 5px; }
.hv-dots i { width: 8px; height: 8px; border-radius: 50%; background: #2a3654; }
.hv-steps { padding: 10px 14px 4px; counter-reset: s; }
.hv-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--text-2);
}
.hv-steps li + li::before {
  content: '';
  position: absolute;
  left: 7px; top: -9px;
  width: 1px; height: 16px;
  background: var(--line-strong);
}
.hv-steps b { font-weight: 600; color: var(--text); }
.hv-steps .mono { font-size: 11px; color: var(--text-3); }
.hv-steps .st {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}
.hv-steps .done .st { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px #0d1526; }
.hv-steps .wait .st { border-color: var(--warn); animation: blink 1.8s ease-in-out infinite; }
.hv-steps .wait .mono { color: var(--warn); }
@keyframes blink { 50% { box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18); } }
.hv-channels {
  display: flex;
  gap: 6px;
  padding: 10px 14px 14px;
}
.hv-channels span {
  flex: 1;
  padding: 6px 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.section { position: relative; padding: 120px 0; }
.section-dark { background: var(--bg-2); }
.section-deep { background: var(--bg); }
.section-light { background: var(--light-bg); color: var(--ink); color-scheme: light; }
.section-soft { background: var(--soft-bg); color: var(--ink); color-scheme: light; }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.section-head h2,
.contact-info h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head.center .kicker::after { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-light .kicker,
.section-soft .kicker { color: var(--accent-strong); }

.section-desc { margin-top: 18px; font-size: 17px; line-height: 1.75; color: var(--text-2); }
.section-head.split .section-desc { margin-top: 0; }
.section-light .section-desc,
.section-soft .section-desc { color: var(--ink-2); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.about-grid .section-head { margin-bottom: 0; }
.about-body .lead {
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.about-body p + p { margin-top: 20px; color: var(--ink-2); font-size: 17px; }
.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.keyword-list li {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--light-line);
  background: var(--soft-bg);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.keyword-list li:nth-child(odd) { border-color: rgba(14, 165, 198, 0.35); background: rgba(34, 199, 232, 0.08); color: #0b6f86; }

.company-info {
  margin-top: 72px;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-line);
  background: var(--soft-bg);
}
.company-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.company-title .mono { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.company-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0;
  border-top: 1px solid var(--light-line);
}
.company-table > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--light-line);
}
.company-table > div.wide { grid-column: 1 / -1; }
.company-table dt { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.company-table dd { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.biz-types { display: grid; gap: 4px; }
.biz-types li { font-weight: 600; }
.biz-types span {
  display: inline-block;
  margin-right: 10px;
  padding: 1px 8px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--light-line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.8;
}
.service-art { height: 88px; margin-bottom: 28px; display: flex; align-items: center; }
.art-tiles { display: grid; grid-template-columns: repeat(6, 26px); gap: 6px; }
.art-tiles i { width: 26px; height: 26px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); }
.art-tiles .on { background: var(--accent-soft); border-color: rgba(34, 199, 232, 0.55); }
.art-flow { display: flex; align-items: center; }
.art-flow i { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface-2); }
.art-flow i.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 20px rgba(34, 199, 232, 0.25); }
.art-flow s { width: 34px; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px); opacity: 0.6; }

.service-no { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: var(--accent); }
.service-card h3 { margin-top: 10px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; }
.service-lead { margin-top: 14px; font-size: 17px; font-weight: 600; color: var(--text); }
.service-desc { margin-top: 10px; color: var(--text-2); }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip-list li {
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.check-list { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); line-height: 1.6; }
.check-list .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); stroke-width: 2.2; }

/* ---------- What we build ---------- */
.build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.build-card {
  position: relative;
  padding: 32px 30px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--light-line);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.build-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-light); border-color: rgba(14, 165, 198, 0.4); }
.build-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--accent);
}
.build-icon .ico { width: 26px; height: 26px; }
.build-idx { position: absolute; right: 28px; top: 30px; font-size: 13px; color: var(--ink-3); }
.build-card h3 { margin-top: 22px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.build-card p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 28px 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 45px; right: -17px;
  width: 18px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.process-no {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
.process-step h3 { margin-top: 20px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.process-step p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); line-height: 1.6; }

/* ---------- Tech ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  overflow: hidden;
}
.tech-card { padding: 30px 30px 32px; background: var(--bg); }
.tech-card h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.tech-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tech-card li {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Projects ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--light-line);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-light); }
.project-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  overflow: hidden;
}
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-pattern { position: absolute; inset: 0; }
.cover-game .cover-pattern {
  background:
    radial-gradient(circle at 70% 40%, rgba(34, 199, 232, 0.35), transparent 45%),
    conic-gradient(from 90deg at 1px 1px, transparent 25%, rgba(148, 172, 214, 0.14) 0) 0 0 / 28px 28px,
    linear-gradient(140deg, #0e1a33, #0a1122);
}
.cover-automation .cover-pattern {
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(34, 199, 232, 0.45) 49.5% 50.5%, transparent 50.5%) 0 50% / 100% 1px no-repeat,
    radial-gradient(circle, rgba(34, 199, 232, 0.9) 0 4px, transparent 5px) 18% 50% / 40px 40px no-repeat,
    radial-gradient(circle, rgba(59, 123, 255, 0.9) 0 4px, transparent 5px) 50% 50% / 40px 40px no-repeat,
    radial-gradient(circle, rgba(34, 199, 232, 0.9) 0 4px, transparent 5px) 82% 50% / 40px 40px no-repeat,
    radial-gradient(circle at 50% 50%, rgba(59, 123, 255, 0.25), transparent 60%),
    linear-gradient(140deg, #0c1730, #081020);
}
.cover-media .cover-pattern {
  background:
    repeating-linear-gradient(90deg, rgba(148, 172, 214, 0.16) 0 2px, transparent 2px 22px),
    radial-gradient(circle at 30% 60%, rgba(34, 199, 232, 0.3), transparent 50%),
    linear-gradient(140deg, #111a36, #09101f);
}
.cover-senior .cover-pattern {
  background:
    radial-gradient(circle at 50% 50%, transparent 38px, rgba(34, 199, 232, 0.5) 39px 40px, transparent 41px),
    radial-gradient(circle at 50% 50%, transparent 70px, rgba(59, 123, 255, 0.35) 71px 72px, transparent 73px),
    radial-gradient(circle at 50% 50%, rgba(34, 199, 232, 0.2), transparent 55%),
    linear-gradient(140deg, #0f1b33, #0a1122);
}
.project-cat {
  position: absolute;
  left: 14px; bottom: 14px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(7, 11, 20, 0.72);
  border: 1px solid rgba(148, 172, 214, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: #dbe6f5;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.project-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.project-body h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.project-body h3 a:hover { color: var(--accent-strong); }
.project-body p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.tag-list li {
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--soft-bg);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
.why-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.why-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.why-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(34, 199, 232, 0.35);
  color: var(--accent);
}
.why-icon .ico { width: 24px; height: 24px; }
.why-item h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.why-item p { margin-top: 6px; color: var(--text-2); font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
.contact-points { display: grid; gap: 14px; margin-top: 36px; }
.contact-points li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(17, 26, 44, 0.5);
}
.contact-points .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.contact-points b { display: block; font-size: 15px; }
.contact-points span { display: block; font-size: 14px; color: var(--text-3); }
.contact-points a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }

.contact-form {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-3);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.req { color: var(--accent); }
.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field textarea {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder,
.field textarea::placeholder { color: #56637a; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 199, 232, 0.2);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--danger); }
.field-error { min-height: 0; margin-top: 6px; font-size: 13px; color: var(--danger); }
.field-error:empty { display: none; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; }
.field-meta .field-error:empty { display: block; }
.counter { margin-top: 6px; margin-left: auto; font-size: 12px; color: var(--text-3); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field-check { padding: 16px 18px; border-radius: 10px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); }
.check { display: flex !important; align-items: flex-start; gap: 10px; margin: 0 !important; cursor: pointer; font-weight: 500 !important; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  transition: background-color 0.15s, border-color 0.15s;
}
.check-box .ico { width: 14px; height: 14px; stroke-width: 2.6; color: #04121a; opacity: 0; }
.check input:checked + .check-box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check-box .ico { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.check-desc { margin: 8px 0 0 30px; font-size: 12.5px; color: var(--text-3); line-height: 1.6; }

.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.btn-submit { min-width: 180px; position: relative; }
.btn-submit .spinner {
  display: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(4, 18, 26, 0.3);
  border-top-color: #04121a;
  animation: spin 0.7s linear infinite;
}
.btn-submit[aria-busy='true'] .spinner { display: inline-block; }
.btn-submit:disabled { opacity: 0.75; cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { font-size: 14.5px; font-weight: 600; }
.form-status.is-success { color: var(--ok); }
.form-status.is-error { color: var(--danger); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #05080f; border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer-lines { margin-top: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--text-3); }
.footer-lines a:hover { color: var(--text); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { font-size: 14px; color: var(--text-2); }
.footer-nav a:hover { color: var(--text); }
.footer-nav strong { color: var(--text); }
.footer-biz {
  display: grid;
  gap: 6px;
  padding-bottom: 28px;
}
.biz-list { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--text-3); }
.biz-list li { display: inline-flex; gap: 6px; }
.biz-list li:not(:last-child)::after { content: ''; width: 1px; height: 11px; margin: 0 12px; align-self: center; background: var(--line-strong); }
.biz-list span { color: var(--text-2); font-weight: 600; }
.biz-list a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-3);
}

/* ==========================================================================
   Sub pages
   ========================================================================== */
.sub-hero {
  padding: calc(var(--header-h) + 72px) 0 64px;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(59, 123, 255, 0.16), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.sub-hero h1 { margin-top: 14px; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.sub-hero .section-desc { max-width: 760px; }

.policy { padding: 72px 0 110px; }
.policy-body { max-width: 860px; }
.policy-body h2 {
  margin: 44px 0 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p,
.policy-body li { color: var(--ink-2); font-size: 16px; }
.policy-body p + p,
.policy-body ul + p { margin-top: 10px; }
.policy-body ul { margin: 10px 0; padding-left: 4px; display: grid; gap: 6px; }
.policy-body li { position: relative; padding-left: 16px; }
.policy-body li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-strong); }
.policy-body a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }

.error-page {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  text-align: center;
}
.error-code { font-size: 15px; color: var(--accent); letter-spacing: 0.2em; }
.error-page h1 { margin-top: 12px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.error-page .section-desc { margin-bottom: 32px; }

/* ==========================================================================
   Reveal (가벼운 스크롤 등장 효과, JS 가 화면 밖 요소에만 적용)
   ========================================================================== */
.reveal.is-pending { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-step:nth-child(3n)::after { display: none; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual { transform: scale(0.9); transform-origin: right center; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 12px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s, transform 0.22s, visibility 0s linear 0.22s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.22s, transform 0.22s;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a { padding: 15px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .site-nav ul a[aria-current='page'],
  .site-nav ul a.is-active { color: var(--accent); }
  .nav-cta { min-height: 50px; font-size: 16px; }

  .hero { min-height: 0; padding: calc(var(--header-h) + 64px) 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-self: center; transform: none; height: 470px; }
  .br-md { display: inline; }

  .section { padding: 96px 0; }
  .section-head.split { grid-template-columns: 1fr; gap: 0; }
  .section-head.split .section-desc { margin-top: 18px; }
  .about-grid,
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid .section-head { position: static; }
  .service-grid { grid-template-columns: 1fr; }
  .company-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }

  body { font-size: 15.5px; }
  .brand { font-size: 18px; }

  .hero { padding: calc(var(--header-h) + 44px) 0 64px; }
  .hero-title { margin-top: 20px; font-size: clamp(32px, 9vw, 40px); }
  .hero-sub { margin-top: 18px; }
  .hero-sub br { display: none; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .btn { flex: 1 1 0; padding: 0 16px; }
  .hero-pillars { grid-template-columns: 1fr; margin-top: 32px; }

  .hero-visual { height: 390px; max-width: 360px; }
  .hv-phone { width: 190px; top: 0; padding: 14px 12px 12px; border-radius: 28px; }
  .hv-grid { gap: 5px; padding: 8px; }
  .hv-grid i { border-radius: 7px; }
  .hv-score b { font-size: 18px; }
  .hv-link { display: none; }
  .hv-pipeline { width: 220px; top: 120px; }
  .hv-steps li { font-size: 12.5px; padding: 5px 0; gap: 8px; }
  .hv-steps .mono { display: none; }
  .hv-steps li { grid-template-columns: 14px 1fr; }
  .hv-steps .st { width: 12px; height: 12px; }
  .hv-steps li + li::before { left: 6px; }
  .hv-channels span { font-size: 11px; }

  .section { padding: 76px 0; }
  .section-head { margin-bottom: 36px; }
  .section-desc { font-size: 16px; }

  .service-card { padding: 28px 22px; }
  .service-art { height: 64px; margin-bottom: 20px; }
  .art-tiles { grid-template-columns: repeat(6, 20px); gap: 5px; }
  .art-tiles i { width: 20px; height: 20px; border-radius: 5px; }
  .art-flow i { width: 30px; height: 30px; }
  .art-flow s { width: 22px; }

  .build-grid,
  .tech-grid,
  .project-grid,
  .why-list { grid-template-columns: 1fr; }
  .build-grid { gap: 12px; }
  .build-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 20px;
  }
  .build-card:hover { transform: none; }
  .build-icon { grid-row: span 2; width: 48px; height: 48px; }
  .build-idx { display: none; }
  .build-card h3 { margin-top: 0; font-size: 18px; }
  .build-card p { margin-top: 2px; font-size: 14.5px; }
  .why-list { gap: 12px; }
  .why-item { flex-direction: row; align-items: flex-start; gap: 16px; }
  .why-icon { flex: none; }

  .process-list { grid-template-columns: 1fr; gap: 12px; }
  .process-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 16px;
    padding: 20px;
  }
  .process-step .process-no { grid-row: span 2; }
  .process-step h3 { margin-top: 0; }
  .process-step p { margin-top: 2px; }
  .process-step::after { display: none; }

  .tech-card { padding: 24px 22px; }
  .why-item { padding: 22px 20px; }

  .contact-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .btn-submit { width: 100%; }

  .company-info { margin-top: 48px; padding: 24px 20px; }
  .company-title { flex-direction: column; gap: 2px; }
  .company-table { grid-template-columns: 1fr; }
  .company-table > div { grid-template-columns: 104px 1fr; padding: 13px 0; }
  .company-table dd { font-size: 15px; }
  .biz-types span { display: block; width: fit-content; margin: 6px 0 2px; }
  .biz-list { flex-direction: column; }
  .biz-list li:not(:last-child)::after { display: none; }

  .footer-inner { flex-direction: column; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hv-pulse { display: none; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
