/* 준인산업 — 산업 현장의 바닥을 만드는 회사.
   Layout: 사진과 숫자를 앞세운 넓은 밴드, 본문은 1180px 그리드. 어두운 밴드에는 그레이팅(베어링 바 30 · 크로스 바 100) 패턴.
   Single light theme by choice: 로고의 검정 글자가 밝은 바탕을 전제로 하므로 다크 모드를 두지 않음. */
:root {
  --red: #E60013;
  --red-deep: #b8000f;
  --ink: #231916;
  --steel: #767E83;
  --steel-soft: #a9b0b4;
  --bg: #ffffff;
  --paper: #f3f4f4;
  --line: #d8dcde;
  --dark: #1a1513;
  --dark-2: #2a2421;
  --on-dark: #f2f0ee;
  --on-dark-dim: #b9b3af;

  --font-body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-num: "Barlow Condensed", "Arial Narrow", "IBM Plex Sans KR", sans-serif;

  --wrap: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 15.5px;
  padding: 8px 14px; border-radius: 2px; color: var(--ink);
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav .nav-cta {
  margin-left: 10px; background: var(--red); color: #fff; padding: 9px 18px; border-radius: 2px;
}
.nav .nav-cta:hover { background: var(--red-deep); color: #fff; }
.nav .nav-cta[aria-current="page"] { box-shadow: none; color: #fff; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--bg); border-radius: 2px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .brand img { height: 28px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter-r) 16px var(--gutter-l);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--paper); font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .nav-cta { margin: 12px 0 0; text-align: center; border-bottom: 0; }
}

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 14px 24px; border-radius: 2px;
  border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.btn::after { content: "→"; font-weight: 400; transition: transform .15s; }
.btn:hover::after { transform: translateX(3px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(127,127,127,.12); }
.btn-plain::after { content: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--on-dark); background: var(--dark);
  isolation: isolate; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,16,14,.92) 0%, rgba(20,16,14,.78) 38%, rgba(20,16,14,.25) 75%, rgba(20,16,14,.1) 100%);
}
.hero .wrap { padding-block: clamp(80px, 13vw, 160px) clamp(72px, 10vw, 128px); }
.hero-sub-page .wrap { padding-block: clamp(64px, 9vw, 112px) clamp(56px, 7vw, 88px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-num); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.hero .eyebrow { color: #ff5a63; }
.hero .eyebrow::before { background: var(--red); }
.hero h1 {
  margin-top: 20px; max-width: 16em;
  font-size: clamp(32px, 5.2vw, 60px); font-weight: 700; line-height: 1.22; letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; color: #fff; box-shadow: inset 0 -0.18em 0 var(--red); }
.hero .lead { margin-top: 22px; max-width: 36em; font-size: clamp(16px, 1.6vw, 19px); color: var(--on-dark-dim); line-height: 1.75; }
.hero .btns { margin-top: 36px; }
.hero .btn-line { color: #fff; }

/* ---------- stat band ---------- */
.stats { background: var(--ink); color: var(--on-dark); position: relative; }
.stats ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.stats li { padding: 30px 24px 30px 0; border-left: 1px solid rgba(255,255,255,.12); padding-left: 24px; }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats .num { display: block; font-size: clamp(36px, 4.4vw, 54px); font-weight: 600; line-height: 1; color: #fff; }
.stats .num small { font-size: .5em; font-weight: 500; margin-left: 3px; color: var(--on-dark-dim); }
.stats .num .pre { font-size: .42em; font-weight: 500; margin-right: 4px; color: var(--on-dark-dim); font-family: var(--font-body); }
.stats .label { display: block; margin-top: 10px; font-size: 15px; color: var(--on-dark-dim); }
.stats-light { background: var(--paper); color: var(--ink); }
.stats-light li { border-left-color: var(--line); }
.stats-light .num { color: var(--ink); }
.stats-light .num small, .stats-light .num .pre, .stats-light .label { color: var(--steel); }
@media (max-width: 760px) {
  .stats ul { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats li { padding: 22px 12px 22px 16px; border-top: 1px solid rgba(255,255,255,.12); }
  .stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(-n+2) { border-top: 0; }
  .stats-light li { border-top-color: var(--line); }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.grating-bg {
  background-color: var(--dark);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 3px, transparent 3px 30px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 6px, transparent 6px 100px);
}
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
.sec-head p { color: var(--steel); font-size: 17px; }
.section-dark .sec-head p { color: var(--on-dark-dim); }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; max-width: none; }
.sec-head-row > div { display: grid; gap: 14px; max-width: 720px; }
.prose { max-width: 42em; display: grid; gap: 1.1em; font-size: 17px; }
.note { color: var(--steel); font-size: 14px; }
.section-dark .note { color: var(--on-dark-dim); }
.link-more { font-weight: 700; text-decoration: none; color: var(--red); white-space: nowrap; }
.link-more::after { content: " →"; }
.link-more:hover { text-decoration: underline; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0,1fr); } }

/* ---------- product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none;
  background: var(--bg); border: 1px solid var(--line); padding: 28px 26px 26px;
  transition: border-color .15s, transform .15s;
}
a.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card .profile { height: 64px; color: var(--ink); }
.card .profile svg { height: 100%; width: auto; }
.card h3 { font-size: 20px; }
.card .code { font-family: var(--font-num); font-size: 15px; letter-spacing: .08em; color: var(--steel); font-weight: 600; }
.card p { color: #4c4542; font-size: 15.5px; }
.card .link-more { margin-top: auto; padding-top: 6px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0,1fr); } }

/* ---------- process strip ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.flow li { display: grid; gap: 12px; align-content: start; }
.flow figure { margin: 0; position: relative; }
.flow img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.flow .step { font-family: var(--font-num); font-weight: 600; color: var(--red); font-size: 15px; letter-spacing: .1em; }
.flow h3 { font-size: 17px; margin-top: 2px; }
.flow p { font-size: 14.5px; color: var(--on-dark-dim); line-height: 1.6; }
.section:not(.section-dark) .flow p { color: var(--steel); }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 28px; } }
@media (max-width: 560px) { .flow { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 2px solid var(--ink); }
.tbl { width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { font-weight: 700; background: var(--paper); white-space: nowrap; font-size: 14.5px; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl td.c, .tbl th.c { text-align: center; }
.tbl tbody th { font-weight: 700; }
.tbl .muted { color: var(--steel); }
.tbl-compact th, .tbl-compact td { padding: 9px 10px; }
.tbl-spec td, .tbl-spec th { text-align: center; white-space: nowrap; }
.tbl-spec tbody th { text-align: left; }
.tbl-spec thead tr:first-child th { border-bottom: 1px solid var(--line); }
.section-dark .table-scroll { border-top-color: var(--on-dark); }
.section-dark .tbl th, .section-dark .tbl td { border-bottom-color: rgba(255,255,255,.14); }
.section-dark .tbl thead th { background: rgba(255,255,255,.06); }

/* ---------- photo grid ---------- */
.photos { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photos figcaption { font-size: 14px; color: var(--steel); margin-top: 8px; }
.section-dark .photos figcaption { color: var(--on-dark-dim); }
@media (max-width: 860px) { .photos { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- steps (10단계) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-top: 2px solid var(--ink); }
.steps li { padding: 22px 18px 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.steps li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.steps li:nth-child(5n+1) { padding-left: 0; border-left: 0; }
.steps .n { font-family: var(--font-num); font-size: 34px; font-weight: 600; line-height: 1; color: var(--steel-soft); }
.steps li.qc .n { color: var(--red); }
.steps h3 { font-size: 17px; }
.steps p { font-size: 14.5px; color: #4c4542; line-height: 1.6; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps li, .steps li + li { padding: 20px 14px 20px 0; border-left: 0; }
  .steps li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}

/* ---------- key list / feature list ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 48px; }
.facts > div { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9.5em minmax(0,1fr); gap: 16px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: #4c4542; }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0,1fr); } .facts > div { grid-template-columns: minmax(0,1fr); gap: 4px; } }

/* ---------- projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.proj { background: var(--bg); padding: 24px 24px 22px; display: grid; gap: 6px; align-content: start; }
.proj .field { font-size: 13.5px; font-weight: 700; color: var(--red); letter-spacing: .02em; }
.proj h3 { font-size: 18px; }
.proj .client { color: var(--steel); font-size: 15px; }
.proj .meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--steel); }
.proj .meta .num { font-size: 24px; font-weight: 600; color: var(--ink); }
.proj .meta .num small { font-size: 14px; color: var(--steel); margin-left: 2px; }
@media (max-width: 960px) { .proj-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: minmax(0,1fr); } }

.clients { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients li { padding: 24px 12px; text-align: center; font-weight: 700; font-size: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .clients { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- chart ---------- */
.chart-box { display: grid; gap: 14px; }
.chart-box svg { width: 100%; height: auto; display: block; }
.chart-box .chart-title { font-weight: 700; font-size: 18px; }
.chart-scroll { overflow-x: auto; }
.chart-scroll svg { min-width: 560px; }
.bars-h { display: grid; gap: 14px; }
.bars-h .row { display: grid; grid-template-columns: 9em minmax(0,1fr) 5.5em; gap: 14px; align-items: center; font-size: 15px; }
.bars-h .track { height: 22px; background: var(--paper); }
.bars-h .fill { height: 100%; background: var(--ink); }
.bars-h .row:first-child .fill { background: var(--red); }
.bars-h .val { text-align: right; font-family: var(--font-num); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bars-h .val small { font-family: var(--font-body); font-size: 12.5px; color: var(--steel); font-weight: 400; margin-left: 4px; }
@media (max-width: 520px) { .bars-h .row { grid-template-columns: 6.8em minmax(0,1fr) 4.6em; gap: 8px; font-size: 14px; } }

/* ---------- timeline ---------- */
.timeline { list-style: none; display: grid; border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 7em minmax(0,1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline .num { font-size: 20px; font-weight: 600; color: var(--red); }
.timeline .yr-first .num { color: var(--ink); }

/* ---------- cert ---------- */
.certs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.cert { border: 1px solid var(--line); padding: 28px; display: grid; gap: 10px; background: var(--bg); }
.cert .std { font-family: var(--font-num); font-size: 34px; font-weight: 600; line-height: 1; }
.cert h3 { font-size: 17px; }
.cert dl { margin: 6px 0 0; display: grid; grid-template-columns: 5.5em minmax(0,1fr); gap: 6px 12px; font-size: 15px; }
.cert dt { color: var(--steel); }
.cert dd { margin: 0; }
@media (max-width: 700px) { .certs { grid-template-columns: minmax(0,1fr); } }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.values > div { padding: 26px 24px 8px 0; display: grid; gap: 8px; align-content: start; }
.values > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.values .en { font-family: var(--font-num); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ff5a63; font-size: 15px; }
.values h3 { font-size: 20px; }
.values p { color: var(--on-dark-dim); font-size: 15.5px; }
@media (max-width: 760px) { .values { grid-template-columns: minmax(0,1fr); } .values > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); } }

/* ---------- location ---------- */
.locs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.loc { border-top: 3px solid var(--ink); padding-top: 20px; display: grid; gap: 10px; }
.loc .tag { font-size: 14px; font-weight: 700; color: var(--red); }
.loc h3 { font-size: 20px; }
.loc address { font-style: normal; font-size: 16.5px; }
.loc .maps { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.loc .maps a { color: var(--steel); }
@media (max-width: 700px) { .locs { grid-template-columns: minmax(0,1fr); } }

/* ---------- video ---------- */
.video-frame { position: relative; background: #000; }
.video-frame video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.chapters { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.chapters button {
  all: unset; cursor: pointer; display: grid; gap: 6px; font-size: 14px; color: var(--on-dark-dim); width: 100%;
}
.chapters button img { width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: .7; transition: opacity .15s; }
.chapters button:hover img, .chapters button:focus-visible img { opacity: 1; }
.chapters button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.chapters .t { font-family: var(--font-num); color: #ff5a63; font-weight: 600; }
@media (max-width: 760px) { .chapters { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* ---------- profiles (제품 단면) ---------- */
.types { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; }
.type { border: 1px solid var(--line); padding: 22px 18px; display: grid; gap: 10px; align-content: start; background: var(--bg); }
.type .profile { height: 70px; display: flex; align-items: end; }
.type .profile svg { height: 100%; width: auto; }
.type h3 { font-size: 17px; }
.type .code { font-family: var(--font-num); font-size: 15px; color: var(--steel); font-weight: 600; letter-spacing: .06em; }
.type p { font-size: 14.5px; color: #4c4542; line-height: 1.6; }
@media (max-width: 1000px) { .types { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 600px) { .types { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.anatomy { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(28px,4vw,56px); align-items: center; }
.anatomy > * { min-width: 0; }
.anatomy svg { width: 100%; height: auto; }
@media (max-width: 860px) { .anatomy { grid-template-columns: minmax(0,1fr); } }

.fix { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 2px solid var(--ink); }
.fix > div { padding: 20px 18px 20px 0; display: grid; gap: 6px; }
.fix > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.fix h3 { font-size: 17px; }
.fix p { color: #4c4542; font-size: 15px; }
@media (max-width: 760px) { .fix { grid-template-columns: repeat(2, minmax(0,1fr)); } .fix > div:nth-child(3) { padding-left: 0; border-left: 0; } .fix > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.callout { border-left: 4px solid var(--red); background: var(--paper); padding: 22px 26px; display: grid; gap: 8px; }
.callout h3 { font-size: 18px; }

.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { flex-shrink: 0; text-decoration: none; padding: 14px 12px; font-size: 15px; font-weight: 500; color: var(--steel); }
.subnav a:hover { color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

/* ---------- CTA band ---------- */
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); color: #fff; }
.cta-band p { color: var(--on-dark-dim); margin-top: 10px; font-size: 17px; }
.cta-band .tel { font-family: var(--font-num); font-size: 30px; font-weight: 600; color: #fff; text-decoration: none; letter-spacing: .02em; }
.cta-band .contact-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0,1fr); } }
.form { display: grid; gap: 20px; }
.form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: minmax(0,1fr); } }
.field { display: grid; gap: 8px; }
.field label, .field .lbl { font-weight: 700; font-size: 15px; }
.field .req { color: var(--red); margin-left: 3px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #bfc4c7; border-radius: 2px;
  background: var(--bg); color: var(--ink); width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field .hint { font-size: 13.5px; color: var(--steel); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { font-weight: 500; font-size: 15px; cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid #bfc4c7; border-radius: 2px; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #4c4542; }
.agree input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
.agree details { margin-top: 4px; }
.agree summary { cursor: pointer; color: var(--steel); }
.form-status { padding: 16px 18px; background: var(--paper); border-left: 4px solid var(--ink); font-size: 15px; }
.form-status.err { border-left-color: var(--red); }
.info-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.info-list > div { display: grid; grid-template-columns: 5em minmax(0,1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--steel); font-size: 15px; }
.info-list dd { margin: 0; font-weight: 700; }
.info-list dd a { text-decoration: none; }
.info-list dd a:hover { color: var(--red); }
.info-list .big { font-family: var(--font-num); font-size: 24px; font-weight: 600; }
.doc-card { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); padding: 18px 20px; text-decoration: none; }
.doc-card:hover { border-color: var(--ink); }
.doc-card .ext { font-family: var(--font-num); font-weight: 700; background: var(--red); color: #fff; padding: 10px 8px; font-size: 15px; letter-spacing: .06em; }
.doc-card strong { display: block; }
.doc-card span { font-size: 14px; color: var(--steel); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-dim); font-size: 14.5px; }
.site-footer .wrap { padding-block: 48px 40px; display: grid; gap: 28px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot-top img { height: 30px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a { text-decoration: none; color: var(--on-dark); font-weight: 500; }
.foot-nav a:hover { color: #fff; text-decoration: underline; }
.foot-info { display: grid; gap: 4px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.foot-info span + span::before { content: "·"; margin: 0 10px; color: #6d6560; }
.foot-info a { text-decoration: none; }
.foot-copy { color: #847b76; font-size: 13.5px; }
.tbl-wide { min-width: 680px; }
.doc-card .ext { white-space: nowrap; flex-shrink: 0; }
.types-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.types-4 .profile, .card .profile { height: 96px; }
@media (max-width: 1000px) { .types-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- language switch (KO / EN) ---------- */
.site-header .brand { order: 1; }
.site-header .nav { order: 2; }
.site-header .lang { order: 3; }
.site-header .nav-toggle { order: 4; }
.lang { display: flex; align-items: center; flex-shrink: 0; border: 1px solid var(--line); border-radius: 2px; font-family: var(--font-num); font-weight: 600; font-size: 14px; letter-spacing: .06em; }
.lang a { text-decoration: none; padding: 5px 9px; color: var(--steel); line-height: 1.2; }
.lang a + a { border-left: 1px solid var(--line); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); background: var(--paper); }
@media (max-width: 900px) {
  .lang { margin-left: auto; }
  .nav-toggle { margin-left: 10px; }
}
/* English pages: longer labels */
html[lang="en"] .nav a { padding-inline: 11px; }
html[lang="en"] .hero h1 { max-width: 18em; letter-spacing: -0.025em; }
html[lang="en"] .facts > div { grid-template-columns: 11em minmax(0,1fr); }
html[lang="en"] .info-list > div { grid-template-columns: 5.5em minmax(0,1fr); }
