/* Kinexis 사이트 스타일.
   밝은 회백색 바탕에 흰 카드와 검은색 패널을 교차 배치한다.
   본문 열(.container)과 패널(.robot-hero, .sample-panel 등) 안쪽 글은 같은 좌우 선에 맞춘다. */

:root {
  --bg: #f5f5f5;
  --surface: #fff;
  --panel: #f8f8f8;
  --ink: #191919;
  --muted: #636363;
  --line: #dbdbdb;
  --navy: #181818;
  --navy-soft: #242424;
  --navy-line: #3f3f3f;
  --on-navy: #eeeeee;
  --on-navy-muted: #aeaeae;
  --accent: #565656;
  --accent-strong: #454545;
  --signal: #d6d6d6;

  --font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --inset: clamp(10px, 2vw, 28.8px);
  --content-max: 1296px;
  --panel-pad: calc(var(--gutter) - var(--inset));
  --space-section: clamp(56px, 7.5vw, 112px);
  --radius-panel: clamp(18px, 2.2vw, 30px);
  --radius-card: 16px;

  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
summary { cursor: pointer; }
:is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
h1, h2, h3, p { overflow-wrap: break-word; }
:where(h1, h2, h3, h4, p, li, dt, dd, figcaption, output, small) { white-space: pre-line; }
h1, h2, h3 { font-weight: 600; word-break: keep-all; margin: 0; }
h1 { letter-spacing: -0.035em; }
h2 { letter-spacing: -0.03em; font-size: clamp(26px, 2.7vw, 40px); line-height: 1.3; }
h3 { letter-spacing: -0.02em; }
p { line-height: 1.75; margin: 0; }
p, li, dd, dt, figcaption, label { word-break: keep-all; }
dl, dd, ul, ol, figure { margin: 0; }

.container {
  width: min(100% - 2 * var(--gutter), var(--content-max));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: 12px;
  z-index: 40;
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 10px;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

/* 작은 기술 라벨: 구역 이름과 대상 표시에 쓴다. */
.label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}
.label::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

/* 영상 위에서는 투명하고, 본문에서는 검은 배경으로 바뀌는 머리말. */
.site-header {
  --header-height: 68px;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-height);
  --header-inset: max(var(--gutter), calc((100% - var(--content-max)) / 2));
  padding-inline: var(--header-inset);
  border-bottom: 1px solid #ffffff40;
  background: #151515;
  color: #fff;
}
[data-page="home"] .site-header { margin-bottom: calc(-1 * var(--header-height)); }
[data-page="home"] .site-header:not(.is-solid) { background: #10101036; }
.brand {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.brand img {
  display: block;
  width: clamp(128px, 15vw, 176px);
  max-width: 100%;
  height: auto;
}
.site-header .brand { min-height: 44px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions > :is(a,button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid #ffffff65;
  border-radius: 2px;
  background: #15151550;
  color: #fff;
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}
.header-actions > .language-link { padding-inline: 0; font: 600 12px var(--mono); }
.header-actions > :is(a,button):hover, .menu-toggle[aria-expanded="true"] { background: #434343; }
.site-header :is(a,button):focus-visible { outline-color: #fff; }
#site-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: var(--header-inset);
  width: min(308px, calc(100vw - 2 * var(--gutter)));
  padding: 6px;
  border: 1px solid #4f4f4f;
  background: #151515;
  color: #fff;
}
#site-nav a { display: flex; align-items: center; min-height: 46px; padding-inline: 13px; }
#site-nav a:is(:hover,[aria-current="page"]) { background: #333; }
#site-nav a + a { border-top: 1px solid #3e3e3e; }

/* ───── 단추와 링크 ───── */
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.primary-link:hover:not(:disabled) { background: var(--accent-strong); }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
}

/* ───── 패널 공통: 화면 가장자리에서 조금 띄운 둥근 판 ───── */
.robot-hero,
.sample-panel,
.package-section,
.cta-panel {
  width: min(100% - 2 * var(--inset), 1382.4px);
  margin-inline: auto;
}
.sample-panel,
.package-section,
.cta-panel {
  border-radius: var(--radius-panel);
  padding-inline: var(--panel-pad);
}
.package-section > .container { width: auto; }

/* 모서리 표식: 카메라 화면틀처럼 네 귀퉁이에 꺾쇠를 둔다. */
.hero-corners { position: absolute; inset: clamp(12px, 1.6vw, 22px); pointer-events: none; }
.hero-corners i {
  position: absolute;
  width: 16px;
  height: 16px;
  border: solid #ffffff73;
  border-width: 1px 0 0 1px;
}
.hero-corners i:nth-child(2) { right: 0; transform: scaleX(-1); }
.hero-corners i:nth-child(3) { bottom: 0; transform: scaleY(-1); }
.hero-corners i:nth-child(4) { right: 0; bottom: 0; transform: scale(-1); }

/* ───── 홈 히어로 ───── */
.robot-hero-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(540px, calc(100svh - 150px), 820px);
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--navy);
  color: #fff;
}
.robot-hero-stage video,
.robot-hero-stage::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.robot-hero-stage video { z-index: -2; object-fit: cover; object-position: 55% 50%; }
.robot-hero-stage::before {
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, #151515f2 0%, #151515b0 36%, #15151514 78%),
    linear-gradient(0deg, #151515e6, transparent 70%);
}
.robot-hero-copy { padding: clamp(40px, 5vw, 72px) var(--panel-pad); }
.robot-hero h1 {
  font-size: clamp(34px, 5.4vw, 80px);
  font-weight: 650;
  line-height: 1.18;
}
.robot-hero-copy > p {
  max-width: 640px;
  margin: clamp(16px, 1.8vw, 24px) 0 0;
  color: #e9e9e9;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
}
.explain-icon {
  flex: none;
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ───── 홈: 데이터 구역과 시범 적용 구역 ───── */
.home-data, .home-deployment { padding-top: var(--space-section); }
.home-section-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(30px, 6vw, 88px);
}
.home-section-intro h2,
.cta-panel h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.24;
  text-wrap: balance;
}
.home-section-intro > p:not(.label) { margin-top: 20px; max-width: 34em; color: var(--muted); font-size: 16px; }
.home-section-intro > .text-link { margin-top: 10px; }
.home-detail-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 10px; }

/* 라벨 예시: 한 줄의 시간축 위에 행동 구간을 올린 도식 */
.home-annotation {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.home-annotation figcaption strong { font-size: 16px; }
.home-annotation figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.home-annotation ol {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1.3fr 1fr;
  gap: 3px;
  list-style: none;
  padding: 26px 0 0;
  margin-top: 18px;
  counter-reset: seg;
  background:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10%) 0 8px / 100% 8px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 16px / 100% 1px no-repeat;
}
.home-annotation li {
  counter-increment: seg;
  padding: 10px 12px 12px;
  border-radius: 6px;
  background: #e7e7e7;
  color: #333333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}
.home-annotation li:nth-child(even) { background: #d7d7d7; }
.home-annotation li::before {
  content: counter(seg, decimal-leading-zero);
  display: block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 11px;
  opacity: .7;
}
.home-output-list, .home-pilot dl { margin-top: 10px; }
.home-output-list > div, .home-pilot dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.home-data dt, .home-pilot dt { font-weight: 600; }
.home-data dd, .home-pilot dd { color: var(--muted); line-height: 1.65; }
.home-pilot {
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.home-pilot h3 { font-size: 18px; }
.home-pilot dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.home-pilot-audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vw, 56px);
}
.home-pilot-audiences article {
  padding: 22px 24px;
  border-radius: var(--radius-card);
  background: #e7e7e7;
}
.home-pilot-audiences h3 { font-size: 18px; margin-bottom: 8px; }
.home-pilot-audiences p { color: var(--muted); line-height: 1.7; }

/* ───── 샘플 패널: 검은색 판 위의 조작 가능한 예시 ───── */
.sample-panel {
  margin-top: var(--space-section);
  padding-block: clamp(28px, 5vw, 64px);
  color: var(--on-navy);
  background: var(--navy);
}
.assembly-sample { width: min(100%, 1040px); margin-inline: auto; }
.assembly-sample-intro { margin-bottom: clamp(16px, 3vw, 32px); }
.assembly-sample video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--navy-line);
  border-radius: 10px;
  background: #1a1a1a;
}
/* ───── 홈: 두 서비스 카드 ───── */
.home-services { padding-top: var(--space-section); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.service-grid article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
}
.service-grid h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 16px; }
.service-grid article > p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.service-grid .text-link { align-self: flex-start; margin-top: 16px; padding-inline: 12px; border: 1px solid var(--line); border-radius: 3px; }
.service-grid .text-link:hover { border-color: var(--ink); }

/* ───── 사진 ───── */
.reference-photo { min-width: 0; }
.photo-frame { position: relative; overflow: hidden; border-radius: 12px; background: #e4e4e4; }
.reference-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-photo .photo-frame { aspect-ratio: 2; }
.capture-photo .photo-frame { aspect-ratio: 4 / 3; }
.wide-photo .photo-frame { height: clamp(220px, 27vw, 380px); }
.wide-photo img { object-position: 50% 53%; }

/* ───── 진행 단계: 선 위의 점과 번호가 붙은 카드 ───── */
.process { padding-top: var(--space-section); }
.process h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.26; }
.process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 34px 0 0;
  margin-top: clamp(24px, 3vw, 40px);
  counter-reset: step;
  background: linear-gradient(var(--line), var(--line)) 0 5px / 100% 1px no-repeat;
}
.process li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-increment: step;
  padding: 22px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.process li::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px var(--bg);
}
.process li::after {
  content: counter(step, decimal-leading-zero);
  order: -1;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}
.process h3 { font-size: 19px; line-height: 1.45; }
.process p { color: var(--muted); font-size: 16px; }

/* ───── 문의 패널: 남색에서 파랑으로 번지는 판 ───── */
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: end;
  gap: clamp(24px, 6vw, 88px);
  margin-top: var(--space-section);
  padding-block: clamp(40px, 6vw, 88px);
  background:
    radial-gradient(120% 140% at 100% 100%, #767676cc 0%, #565656b3 28%, transparent 62%),
    radial-gradient(60% 80% at 82% 110%, #bebebe8c 0%, transparent 60%),
    var(--navy);
  color: #fff;
}
.cta-copy > p:not(.label) { margin-top: 16px; color: #dddddd; font-size: 17px; }
.cta-actions { display: flex; justify-content: flex-end; }
ul.cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}
.cta-card {
  display: block;
  height: 100%;
  padding: 18px 22px 22px;
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 40px -22px #151515;
}
.cta-card:hover .text-link,
.cta-card:focus-visible .text-link { text-decoration: underline; text-underline-offset: .2em; }
.cta-card:focus-visible { outline-color: #fff; }
ul.cta-actions .text-link { font-size: 17px; font-weight: 600; }
ul.cta-actions p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ───── 바닥글 ───── */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-section);
  padding: clamp(32px, 4vw, 52px) 0 clamp(28px, 4vw, 48px);
  background: var(--navy);
  color: var(--on-navy);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px clamp(24px, 5vw, 64px);
  width: min(100% - 2 * var(--gutter), var(--content-max));
  margin-inline: auto;
}
.site-footer .brand img { width: clamp(72.8px, 8.4vw, 89.6px); }
.footer-lead p { margin-top: 10px; color: var(--on-navy-muted); font-size: 14px; line-height: 1.7; }
.footer-nav { display: grid; align-content: start; gap: 2px; font-size: 15px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 36px; justify-self: start; }
.footer-nav a:hover { color: var(--signal); }
.footer-copyright {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--navy-line);
  color: var(--on-navy-muted);
  font-size: 13px;
}
/* ───── 세부 페이지 첫 화면 ───── */
.page-hero { background: #151515; color: #f4f4f4; }
.page-hero-card { padding-block: clamp(38px, 6vw, 88px); }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 5vw, 72px);
}
.page-hero h1 { font-size: clamp(34px, 5vw, 70px); font-weight: 650; line-height: 1.15; letter-spacing: -.05em; }
.lead { font-size: 17px; line-height: 1.8; color: var(--muted); }
.page-hero-card .lead { color: #dddddd; }
.page-hero-grid .primary-link { margin-top: 24px; background: #fff; color: var(--ink); border-radius: 3px; }
.page-hero-grid .primary-link:hover { background: var(--signal); }
.page-hero-card .reference-photo { margin-top: clamp(32px, 4.5vw, 64px); }

/* ───── 세부 페이지 구역 ───── */
.section, .scope-section { padding-top: var(--space-section); }
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(24px, 3.4vw, 48px);
}
.section-intro p { color: var(--muted); font-size: 16px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.info-grid article {
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.info-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-grid h3 { font-size: 20px; margin-bottom: 10px; }
.info-grid p { color: var(--muted); font-size: 16px; }
.section-link { margin-top: 20px; }

.flow-diagram {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
}
.flow-diagram li {
  position: relative;
  min-width: 0;
  padding: 22px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.flow-diagram li::before {
  content: counter(list-item, decimal-leading-zero);
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}
.flow-diagram li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -15px;
  width: 15px;
  height: 1px;
  background: var(--ink);
}
.flow-diagram h3 { font-size: 20px; margin: 18px 0 6px; }
.flow-diagram p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* 데이터 제공 구성 */
.package-section {
  margin-top: var(--space-section);
  padding-block: clamp(40px, 6vw, 88px);
  background:
    linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / 48px 100%,
    var(--navy);
  color: var(--on-navy);
}
.package-section .section-intro p { color: var(--on-navy-muted); }
.package-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 5vw, 72px);
}
.package-list > div { padding: 20px 0; border-top: 1px solid var(--navy-line); }
.package-list dt { margin-bottom: 6px; font-size: 17px; font-weight: 600; }
.package-list dd { color: var(--on-navy-muted); font-size: 16px; line-height: 1.7; }
.data-layers {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--navy-line);
}
.data-layers h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; margin-bottom: 14px; }
.data-layers p { color: var(--on-navy-muted); font-size: 16px; }
.layer-diagram {
  padding: 8px clamp(16px, 2vw, 26px);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-card);
  background: var(--navy-soft);
}
.data-layer {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--navy-line);
}
.data-layer:last-child { border-bottom: 0; }
.data-layer > strong { font-size: 14px; font-weight: 500; }
.data-layers .layer-content p { margin-top: 7px; color: var(--on-navy-muted); font-size: 13px; }
.layer-shapes { display: flex; gap: 3px; height: 20px; }
.layer-shapes i { flex: 1; border-radius: 3px; background: #747474; }
.layer-0 i { background: transparent; border: 1px solid #858585; }
.layer-1 i:nth-child(2n) { flex: 1.5; background: #a5a5a5; }
.layer-2 i { background: var(--signal); opacity: .85; }
.layer-3 i { background: #b6b6b6; }

.capture-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: var(--space-section);
}
.capture-story h2 { margin-bottom: 16px; }
.capture-story p, .capture-story ul { color: var(--muted); font-size: 16px; line-height: 1.85; }
.capture-story ul { padding-left: 20px; margin-top: 12px; }

.audience-section > h2 { margin-bottom: clamp(22px, 3vw, 40px); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.audience-grid article {
  min-width: 0;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
}
.audience-grid h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 10px; }
.audience-grid p { max-width: 43ch; color: var(--muted); }

.scope-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.scope-columns article {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.scope-columns article + article { border-style: dashed; border-color: #b4b4b4; background: transparent; }
.scope-columns h3 { font-size: 20px; margin-bottom: 16px; }
.scope-columns ul { padding-left: 18px; color: var(--muted); font-size: 16px; line-height: 2; }
.scope-note { max-width: 800px; color: var(--muted); font-size: 14px; }

/* ───── 문의 페이지 ───── */
[data-page="contact"] .page-hero-card,
.contact-section {
  width: min(100% - 2 * var(--gutter), 820px);
}
[data-page="contact"] .page-hero-grid {
  grid-template-columns: 1fr;
  gap: clamp(14px, 2.6vw, 28px);
}
[data-page="contact"] .page-hero h1 { text-wrap: balance; }
[data-page="contact"] .page-hero .lead { max-width: 52ch; word-break: keep-all; }
.contact-section { padding-top: clamp(26px, 5vw, 64px); }
#contact-form {
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
  min-width: 0;
  padding: clamp(18px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
#contact-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
#contact-form :is(input, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #cdcdcd;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
#contact-form textarea { resize: vertical; }
#contact-form [aria-invalid="true"] { border-color: #434343; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px, 2.5vw, 24px); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-status:not(:empty) { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }
@media (max-width: 460px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ───── 공개 샘플 영역(준비 중일 때) ───── */
.home-demo { padding-top: var(--space-section); }
.home-demo .demo-list, .home-demo .demo-pending { margin-top: 0; }

/* ───── 좁은 화면 ───── */
@media (max-width: 1000px) {
  .flow-diagram { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-diagram li:nth-child(2)::after { display: none; }

  .cta-panel { grid-template-columns: 1fr; align-items: start; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 84px; }
  .site-header { --header-height: 62px; }
  .header-actions { gap: 5px; }
  .header-actions > :is(a,button) { padding-inline: 8px; font-size: 12px; }
}

@media (max-width: 760px) {
  .home-section-grid,
  .service-grid,
  .home-pilot-audiences,
  .process ol,
  ul.cta-actions,
  .page-hero-grid,
  .section-intro,
  .info-grid,
  .info-grid:has(> :nth-child(3):last-child),
  .data-layers,
  .capture-story,
  .audience-grid,
  .scope-columns { grid-template-columns: 1fr; }
  .section-intro { align-items: start; gap: 14px; }

  .robot-hero-stage { min-height: clamp(480px, calc(100svh - 170px), 660px); }
  .robot-hero-stage video { object-position: 53% 50%; }
  .robot-hero-stage::before {
    background: linear-gradient(0deg, #151515 0%, #151515de 36%, #15151540 76%, #1515154f 100%);
  }
  .robot-hero-copy { padding: 110px 20px 26px; }


  .home-annotation ol { grid-template-columns: 1fr 1fr; background: none; padding-top: 0; }
  .home-output-list > div, .home-pilot dl > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }

  .process ol { padding: 0 0 0 26px; background: linear-gradient(var(--line), var(--line)) 5px 0 / 1px 100% no-repeat; }
  .process li::before { top: 26px; left: -26px; }

  .flow-diagram { grid-template-columns: 1fr; }
  .flow-diagram li::after { display: none; }
  .flow-diagram h3 { margin-top: 12px; }
  .package-list { grid-template-columns: 1fr; }
  .data-layer { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .primary-link { min-height: 46px; }
}

@media (max-width: 360px) {
  .home-annotation ol { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 라인과 눈금은 자료나 공정의 경계를 표시한다. */
.robot-hero-stage { --radius-panel: 16px; }

.robot-hero-copy { max-width: 1150px; }

.home-section-grid { border-top: 1px solid var(--line); padding-top: clamp(24px, 4vw, 52px); }
.home-services .service-grid article { border-radius: 12px; }
.home-deployment .home-pilot { border-radius: 12px; }
.home-contact { background-image: repeating-linear-gradient(90deg, #ffffff07 0 1px, transparent 1px 24px); }

@media (max-width: 760px) {


}

/* 데이터 페이지. 촬영 장면, 처리 공정, 제공 데이터의 순으로 읽는다. */
[data-page="data"] .wide-photo .photo-frame { border-radius: 10px; }
[data-page="data"] .flow-diagram { gap: 0; border: 1px solid var(--line); background: var(--surface); }
[data-page="data"] .flow-diagram li { border: 0; border-radius: 0; }
[data-page="data"] .flow-diagram li + li { border-inline-start: 1px solid var(--line); }
[data-page="data"] .flow-diagram li:not(:last-child)::after {
  z-index: 1;
  right: -8px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--surface);
}
[data-page="data"] .data-layers {
  margin: 0 0 clamp(24px, 4vw, 56px);
  padding: clamp(18px, 3vw, 40px);
  border: 1px solid var(--navy-line);
  border-radius: 12px;
  background: var(--navy-soft);
}
[data-page="data"] .layer-diagram { border-radius: 0; background: var(--navy); }
[data-page="data"] .layer-shapes { background: repeating-linear-gradient(90deg, #ffffff24 0 1px, transparent 1px 10%); }
[data-page="data"] #collection-partnership .info-grid article { border-radius: 10px; }
@media (min-width: 1000px) {
  [data-page="data"] .page-hero-card {
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
    column-gap: clamp(32px, 5vw, 76px);
    align-items: center;
  }
  [data-page="data"] .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  [data-page="data"] .page-hero-card > .wide-photo { margin-top: 0; }
}
@media (max-width: 760px) {
  [data-page="data"] .flow-diagram li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  [data-page="data"] .flow-diagram li:not(:last-child)::after { inset: auto auto -8px 38px; transform: none; display: block; }
}

/* 로봇 현장 도입 */
[data-page="automation"] .page-hero-card {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(24px, 4.5vw, 64px);
  padding-block: clamp(32px, 5vw, 76px);
}
[data-page="automation"] .page-hero-grid {
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 24px);
}
[data-page="automation"] .page-hero h1 { font-size: clamp(34px, 4.2vw, 62px); }
[data-page="automation"] .page-hero-grid .lead { max-width: 43ch; }
[data-page="automation"] .page-hero-card > .wide-photo { margin-top: 0; }
[data-page="automation"] .wide-photo .photo-frame { height: auto; aspect-ratio: 16 / 10; }
[data-page="automation"] .wide-photo img { object-position: 50% 46%; }
[data-page="automation"] .wide-photo figcaption { margin-top: 7px; }
[data-page="automation"] h1 { text-wrap: balance; }
[data-page="automation"] :is(p, li, dd) { text-wrap: pretty; }
[data-page="automation"][data-locale="ko"] main :is(h1,h2,h3,p,li,dt,dd) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.deployment-pilot {
  margin-top: var(--space-section);
  padding-block: clamp(32px, 5vw, 68px);
  background: var(--navy);
  color: var(--on-navy);
}
.deployment-pilot > .container {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: start;
}
.deployment-pilot p { margin-top: 14px; color: var(--on-navy-muted); }
.pilot-criteria { border-block: 1px solid var(--navy-line); }
.pilot-criteria > div {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 8px 18px;
  padding-block: 16px;
  line-height: 1.65;
}
.pilot-criteria > div + div { border-top: 1px solid var(--navy-line); }
.pilot-criteria dt { font-weight: 600; }
.pilot-criteria dd { color: var(--on-navy-muted); }
.service-contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 5vw, 68px);
  margin-top: var(--space-section);
  padding: clamp(22px, 4vw, 54px);
  border-radius: var(--radius-card);
  background: var(--navy);
  color: var(--on-navy);
}
.service-contact h2 { font-size: clamp(26px, 3vw, 42px); }
.service-contact p { max-width: 42ch; color: var(--on-navy-muted); }
.service-contact .primary-link {
  margin-top: 18px;
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
}
.service-contact .primary-link:hover { background: var(--signal); }
:is([data-page="automation"] .page-hero, .service-contact) .primary-link:focus-visible { outline-color: #fff; }
@media (max-width: 860px) {
  [data-page="automation"] .page-hero-card,
  .deployment-pilot > .container,
  .service-contact { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 860px) {
  [data-page="automation"] .wide-photo .photo-frame { aspect-ratio: 2 / 1; }
}
@media (max-width: 480px) {
  .pilot-criteria > div { grid-template-columns: 1fr; gap: 4px; }
}

/* 홈의 사업 흐름은 도해 한 장과 세 단계의 설명으로 이어진다. */
.home-flow {
  width: min(100% - 2 * var(--inset), 1382.4px);
  margin: clamp(38px, 6vw, 86px) auto 0;
  padding: clamp(32px, 5.1vw, 74px) var(--panel-pad);
  border-radius: 16px;
  color: var(--on-navy);
  background: #191919;
}
.home-flow > .container { width: 100%; }
.home-flow-steps { margin: 0; padding: 0; list-style: none; }
.home-flow-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, .82fr);
  align-items: center;
  gap: 18px clamp(26px, 4.4vw, 62px);
  padding-block: 22px;
}
.home-flow-scene[hidden] { display: none; }
.home-flow-steps > li + li { border-top: 1px solid var(--navy-line); }
.home-flow-diagram {
  display: block;
  width: 100%;
  aspect-ratio: 760 / 414;
  border: 1px solid #555;
  border-radius: 3px;
  background: linear-gradient(148deg, #252525, #191919 70%);
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-flow-label { margin-bottom: 10px; color: var(--signal); font-size: .84rem; font-weight: 600; }
.home-flow-label span { margin-inline-end: 8px; color: #c1c1c1; font: .8rem var(--mono); }
.home-flow-copy h2 { font-size: clamp(24px, 3vw, 38px); line-height: 1.28; }
.home-flow-copy > p:not(.home-flow-label) { max-width: 43ch; margin-top: 12px; color: #cbcbcb; }
.home-flow-copy .text-link { margin-top: 6px; color: var(--signal); }
.home-flow-stage { display: none; }
@media (min-width: 901px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
  [data-scroll-flow] .home-flow-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding-top: 22px;
  }
  [data-scroll-flow] :is(.home-flow-stage, .home-flow-steps) { grid-area: 1 / 1; }
  [data-scroll-flow] .home-flow-stage { display: grid; position: sticky; top: max(100px, 20svh); z-index: 1; }
  [data-scroll-flow] .home-flow-steps > li { min-height: 42svh; border: 0; }
  .home-flow-stage .home-flow-scene { grid-area: 1 / 1; min-height: clamp(310px, 35vw, 470px); }
  .home-flow-stage .home-flow-diagram { animation: flow-reveal .45s ease both; }
  @keyframes flow-reveal { from { opacity: .35; transform: translateY(6px); } }
}
@media (max-width: 760px) {
  .home-flow-scene { grid-template-columns: 1fr; }
  .home-flow-scene { padding-block: 26px; }
  .home-flow-copy { grid-row: 1; }

}

/* 흑백 재질과 얇은 구분선을 공통 화면에 사용한다. */
:root {
  --bg: #f5f5f5;
  --ink: #141414;
  --muted: #555;
  --line: #d5d5d5;
  --navy: #131313;
  --navy-soft: #232323;
  --navy-line: #454545;
  --on-navy: #f1f1f1;
  --on-navy-muted: #bdbdbd;
  --accent: #363636;
  --accent-strong: #1b1b1b;
  --signal: #ededed;
}
.reference-photo img, .robot-hero-stage video, .assembly-sample video { filter: grayscale(1); }
[data-page="home"] .robot-hero { width: 100%; }
[data-page="home"] .robot-hero-stage { --radius-panel: 0px; }
.robot-hero-stage { min-height: clamp(560px, calc(100svh - 94px), 900px); }
.robot-hero-stage::before {
  background: linear-gradient(180deg,#101010c7,transparent 24%), linear-gradient(90deg,#101010f8 0%,#101010b5 35%,#10101018 73%), linear-gradient(0deg,#101010d9,transparent 48%);
}
.robot-hero-copy {
  width: min(100% - 2 * var(--gutter), var(--content-max));
  max-width: none;
  justify-self: center;
  padding: clamp(96px, 8vw, 132px) 0 clamp(44px, 7vw, 98px);
}
.robot-hero h1 { font-size: clamp(37px, 5.6vw, 85px); letter-spacing: -.065em; }
[data-locale="en"] .robot-hero h1 { font-size: clamp(26px, 3.92vw, 59.5px); }



.home-flow { width: 100%; margin-top: 0; padding-inline: var(--gutter); border-radius: 0; background: #151515; }
.home-flow > .container { max-width: var(--content-max); }
.diagram-paper-grid { stroke: #777; opacity: .29; stroke-width: .65; }
.diagram-rule { stroke: #6b6b6b; }
.diagram-grid { stroke: #888; opacity: .48; stroke-width: .75; }
.diagram-edge { stroke: #b6b6b6; }
.diagram-right { fill: #333; stroke: #9a9a9a; }
.diagram-front { fill: #444; stroke: #a2a2a2; }
.diagram-top { stroke: #c5c5c5; }
.diagram-fastener { fill: #2b2b2b; stroke: #ccc; }
.diagram-node { fill: #f3f3f3; }
.diagram-ring { fill: #242424; stroke: #e9e9e9; }
.diagram-signal { stroke: #f3f3f3; stroke-width: 1.8; }
.diagram-structure { stroke: #d6d6d6; stroke-width: 15; }
.diagram-structure-core { stroke: #656565; stroke-width: 12; }
.diagram-joint { fill: #494949; stroke: #e7e7e7; stroke-width: 1.4; }
.diagram-dash { stroke-dasharray: 3 5; }
.diagram-leader { stroke: #b6b6b6; stroke-width: .8; }
.diagram-panel { fill: #202020; stroke: #737373; }
.diagram-selected { fill: #505050; stroke: #b0b0b0; }
.diagram-hand { fill: #575757; stroke: #e8e8e8; stroke-width: 1.6; }
.diagram-hand-detail { stroke: #a0a0a0; }
.diagram-hand-ghost { fill: #333; stroke: #8a8a8a; stroke-dasharray: 3 3; }
.diagram-mesh-depth { fill: #333; stroke: #a0a0a0; }
.diagram-mesh-wire { stroke: #d2d2d2; stroke-width: .8; }
.diagram-sheet { fill: #e9e9e9; font-size: 19px; font-weight: 600; }
.diagram-label { fill: #f1f1f1; font-size: 18px; font-weight: 550; }
.diagram-coordinate { fill: #e9e9e9; font: 15px var(--mono); }
.flow-alloy-light { stop-color: #676767; }
.flow-alloy-shadow { stop-color: #3a3a3a; }
.home-flow-figure { min-width: 0; }
.home-flow-figure figcaption { display: none; }

.assembly-views { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.assembly-views figcaption { margin-bottom: 8px; font-size: .92rem; font-weight: 600; }
.assembly-views figure > p { margin-top: 8px; color: var(--on-navy-muted); font-size: .82rem; }

.assembly-views video { border-radius: 4px; }
.assembly-video-frame { position: relative; }
.assembly-video-toggle:not([hidden]) {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: transparent;
}
.assembly-video-toggle:focus-visible { outline-color: #eee; }

@media(max-width:760px) {
  .robot-hero-stage { min-height: clamp(490px, calc(100svh - 80px), 680px); }
  .robot-hero-stage::before { background: linear-gradient(180deg,#101010d0,transparent 28%), linear-gradient(0deg,#111 0%,#111d 37%,#15151544 77%); }
  .robot-hero-copy { padding: 115px 0 33px; }
  .assembly-views { grid-template-columns: 1fr; }
  .home-flow-figure figcaption {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 10px 0 0;
    color: var(--on-navy-muted);
    font-size: .75rem;
  }
}

.sample-panel { margin-top: 0; border-radius: 0 0 4px 4px; }
.assembly-lanes { margin-top: 24px; padding: clamp(10px, 2vw, 22px); border: 1px solid #383838; background: #101010; }
.assembly-time { display: flex; justify-content: space-between; margin-bottom: 9px; color: #bcbcbc; font: .72rem var(--mono); }
.assembly-lane + .assembly-lane { margin-top: 5px; border-top: 1px solid #303030; }
.assembly-lane-copy { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 8px 14px; align-items: baseline; padding: 7px 0 0; }
.assembly-lane-copy span { font-size: .78rem; color: #c3c3c3; }
.assembly-lane-copy output { color: #f2f2f2; font-size: .83rem; }
.assembly-track { position: relative; display: flex; }
.assembly-track::after { content: ''; position: absolute; top: 3px; bottom: 3px; left: clamp(1px,var(--playhead,0%),calc(100% - 1px)); width: 2px; background: white; pointer-events: none; }
.assembly-track button { position: relative; flex: 1 1 0; min-width: 0; min-height: 24px; border: 0; padding: 0; background: transparent; }
.assembly-track button::before { content: ''; position: absolute; inset: 6px 1px; border-radius: 2px; background: #555; }
[data-assembly-lane="left"] button::before { background: #484848; }
[data-assembly-lane="right"] button::before { background: repeating-linear-gradient(135deg,#4b4b4b 0 3px,#3a3a3a 3px 6px); }
.assembly-track button[aria-current]::before { background: #ddd; }
[data-assembly-lane="left"] button[aria-current]::before { background: #b5b5b5; }
[data-assembly-lane="right"] button[aria-current]::before { background: repeating-linear-gradient(135deg,#ccc 0 3px,#999 3px 6px); }
.assembly-track button:hover::before { filter: brightness(1.25); }
.assembly-track button:focus-visible { outline: 1px solid #eee; outline-offset: 1px; }
.assembly-note { margin-top: 14px; color: #bdbdbd; font-size: .82rem; }
.home-flow-copy .text-link:hover { opacity: .78; }

body[data-page] { --space-section: clamp(44px, 6vw, 84px); }
[data-page="home"] .sample-panel {
  width: 100%;
  padding: clamp(28px, 4.5vw, 58px) var(--gutter);
  border-top: 1px solid #343434;
  border-radius: 0;
}
.assembly-sample { width: min(100%, var(--content-max)); }

/* 상세 서비스와 문의도 홈의 공통 기준선과 검은색 패널을 사용한다. */
.package-section {
  width: 100%;
  padding-inline: 0;
  border-radius: 0;
  background: #151515;
}
.package-section > .container {
  width: min(100% - 2 * var(--gutter), var(--content-max));
}
.page-hero-card .photo-frame { border-radius: 4px; }
body:not([data-page="home"]) :is(.info-grid article,.audience-grid article,.scope-columns article) {
  border-radius: 4px;
}
body:not([data-page="home"]) :is(.section,.scope-section) > .section-intro { margin-bottom: clamp(20px,3vw,36px); }
