/* (주)내일이엔시 홈페이지 시안 — 공통 스타일 */
:root {
  --blue: #2e55a8;
  --blue-d: #22438a;
  --sky: #6ccff6;
  --navy: #0e1e42;
  --navy-2: #16295a;
  --ink: #222834;
  --gray: #5f6876;
  --line: #dde3ec;
  --bg: #f4f6fa;
  --card: #ffffff;
  --radius: 12px;
  --wrap: 1200px;
  --hdr: 84px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65;
  word-break: keep-all; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a, button, input, select, textarea, label { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hero :focus-visible, .sec.dark :focus-visible, .facts :focus-visible, .ftr :focus-visible, .contact-box :focus-visible { outline-color: var(--sky); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--blue); color: #fff; font-weight: 700; border-radius: 8px; }
.skip:focus { top: 16px; }
::selection { background: #cfe0fb; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; height: var(--hdr); z-index: 50;
  background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.hdr .logo { display: block; }
.hdr.scrolled { box-shadow: 0 4px 20px rgba(14,30,66,.08); }
.hdr .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.hdr .logo img { height: 54px; width: auto; }
.gnb { display: flex; gap: 0; height: 100%; }
.gnb > li { list-style: none; position: relative; display: flex; align-items: center; }
.gnb > li > a {
  display: block; padding: 0 22px; font-size: 17px; font-weight: 700; line-height: var(--hdr); white-space: nowrap;
  position: relative;
}
.gnb > li > a::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px;
  background: var(--blue); transform: scaleX(0); transition: transform .2s;
}
.gnb > li:hover > a::after, .gnb > li.on > a::after { transform: scaleX(1); }
.gnb > li.on > a { color: var(--blue); }
.gnb .sub {
  position: absolute; top: var(--hdr); left: 50%; transform: translateX(-50%);
  min-width: 170px; background: #fff; border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 10px 10px; padding: 8px 0; box-shadow: 0 10px 24px rgba(14,30,66,.1);
  opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.gnb > li:hover .sub, .gnb > li:focus-within .sub { opacity: 1; visibility: visible; }
.gnb .sub a { display: block; padding: 9px 20px; font-size: 15px; color: var(--gray); white-space: nowrap; }
.gnb .sub a:hover { color: var(--blue); background: var(--bg); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .2s, opacity .2s; }

/* ---------- hero (main) ---------- */
.hero {
  position: relative; min-height: 640px; height: 92vh; height: 92svh; max-height: 860px;
  display: flex; align-items: center; color: #fff; overflow: hidden; padding-top: var(--hdr);
}
.hero .bg { position: absolute; inset: 0; background: url(../img/hero.jpg) center/cover; animation: kb 22s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(14,30,66,.93) 0%, rgba(14,30,66,.78) 45%, rgba(14,30,66,.35) 100%);
}
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero .eyebrow { color: var(--sky); font-weight: 700; letter-spacing: .12em; font-size: 15px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1.25; font-weight: 800; margin: 14px 0 22px; }
.hero p { font-size: clamp(16px, 1.6vw, 20px); color: #dfe7f3; max-width: 640px; }
.hero .btns { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.flow { position: absolute; z-index: 1; left: 0; bottom: 0; width: 100%; height: 120px; pointer-events: none; opacity: .5; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 28px;
  border-radius: 999px; font-weight: 700; font-size: 16px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-sky:hover { background: #8fdcfa; }
.btn-line { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.12); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* key facts strip */
.facts { background: var(--navy); color: #fff; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.facts li { padding: 30px 24px; border-left: 1px solid rgba(255,255,255,.1); }
.facts li:first-child { border-left: 0; }
.facts b { display: block; font-size: 28px; font-weight: 800; color: var(--sky); line-height: 1.2; }
.facts span { font-size: 15px; color: #cbd6e8; }

/* ---------- sections ---------- */
.sec { padding: 110px 0; }
.sec.white { background: #fff; }
.sec.dark { background: var(--navy); color: #fff; }
.sec-head { margin-bottom: 52px; }
.sec-head .en { color: var(--blue); font-weight: 800; letter-spacing: .08em; font-size: 15px; text-transform: uppercase; }
.sec.dark .sec-head .en { color: var(--sky); }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.3; margin-top: 8px; }
.sec-head p { color: var(--gray); margin-top: 14px; font-size: 17px; max-width: 760px; }
.sec.dark .sec-head p { color: #c3cfe2; }
.sec-head.center { text-align: center; }
.sec-head.center p { margin-left: auto; margin-right: auto; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

/* business cards (main) */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s, border-color .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.biz-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(46,85,168,.12); }
.biz-card .ic {
  width: 56px; height: 56px; border-radius: 14px; background: #eaf0fb; color: var(--blue);
  display: grid; place-items: center; margin-bottom: 22px;
}
.biz-card .ic svg { width: 30px; height: 30px; }
.biz-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.biz-card p { color: var(--gray); font-size: 15px; flex: 1; }
.biz-card .more { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--blue); }

/* TIA process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: st; }
.process::before {
  content: ""; position: absolute; top: 36px; left: 10%; right: 10%; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--blue));
}
.process li { list-style: none; text-align: center; padding: 0 10px; position: relative; }
.process .num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  background: var(--blue); border: 3px solid var(--sky); color: #fff; font-weight: 800; font-size: 22px;
  position: relative; z-index: 1;
}
.process h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.process p { font-size: 15px; color: #c3cfe2; }
.sec:not(.dark) .process p { color: var(--gray); }
.tia-sec { position: relative; overflow: hidden; }
.tia-sec::before {
  content: ""; position: absolute; inset: 0; background: url(../img/tia.jpg) center/cover; opacity: .14;
}
.tia-sec .wrap { position: relative; }

/* sector gallery */
.sector-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sector {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--navy);
  color: #fff; display: block;
}
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sector:hover img { transform: scale(1.07); }
.sector::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,30,66,0) 40%, rgba(14,30,66,.92) 100%);
}
.sector .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.sector .cap small { display: block; font-size: 11px; color: var(--sky); font-weight: 700; letter-spacing: .06em; }
.sector .cap b { font-size: 19px; font-weight: 800; }

/* R&D */
.rnd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rnd-card { background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden; }
.rnd-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.rnd-card .body { padding: 26px 26px 30px; }
.rnd-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; line-height: 1.35; }
.rnd-card ul { list-style: none; color: var(--gray); font-size: 15px; }
.rnd-card li::before { content: "·"; color: var(--blue); font-weight: 800; margin-right: 8px; }

/* main: news + contact */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.split > *, .contact-grid > *, .feature > *, .ceo > * { min-width: 0; }
.news-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.news-box .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.news-box h3 { font-size: 22px; font-weight: 800; }
.news-box .tabs { display: flex; gap: 6px; }
.news-list { list-style: none; }
.news-list li a { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.news-list li:last-child a { border-bottom: 0; }
.news-list li a:hover .t { color: var(--blue); }
.news-list .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.news-list .d { color: var(--gray); font-size: 14px; flex-shrink: 0; }
.contact-box {
  background: var(--blue); color: #fff; border-radius: var(--radius); padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background-image: linear-gradient(135deg, var(--blue) 0%, var(--navy-2) 100%);
}
.contact-box h3 { font-size: 24px; font-weight: 800; }
.contact-box dl { display: grid; grid-template-columns: 70px 1fr; gap: 8px 12px; font-size: 16px; }
.contact-box dt { color: var(--sky); font-weight: 700; }

/* ---------- sub pages ---------- */
.subvis {
  position: relative; height: 340px; padding-top: var(--hdr); color: #fff;
  display: flex; align-items: center; background: var(--navy) center/cover;
}
.subvis::before { content: ""; position: absolute; inset: 0; background: rgba(14,30,66,.78); }
.subvis .wrap { position: relative; width: 100%; }
.subvis .en { color: var(--sky); font-weight: 700; letter-spacing: .1em; font-size: 14px; text-transform: uppercase; }
.subvis h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; margin-top: 6px; }
.subvis p { color: #d5deec; margin-top: 8px; }
.lnb { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--hdr); z-index: 20; }
.lnb ul { display: flex; list-style: none; overflow-x: auto; scrollbar-width: none; }
.lnb a { display: block; padding: 18px 26px; font-weight: 700; color: var(--gray); white-space: nowrap; border-bottom: 3px solid transparent; }
.lnb a:hover { color: var(--ink); }
.lnb a.on { color: var(--blue); border-bottom-color: var(--blue); }
.anchor { scroll-margin-top: calc(var(--hdr) + 70px); }

/* about */
.ceo { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
.ceo .quote { font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.4; }
.ceo .quote em { font-style: normal; color: var(--blue); }
.ceo .txt p { color: #3a4352; font-size: 17px; margin-bottom: 16px; }
.ceo .sign { margin-top: 26px; font-size: 18px; font-weight: 700; }
.ceo .sign span { color: var(--gray); font-weight: 500; font-size: 15px; margin-right: 10px; }
.overview { width: 100%; border-collapse: collapse; background: #fff; border-top: 2px solid var(--blue); }
.overview th, .overview td { padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: left; font-size: 16px; }
.overview th { width: 200px; background: #f7f9fc; font-weight: 700; }
.timeline { position: relative; list-style: none; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; padding: 0 0 38px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: 133px; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blue);
}
.timeline .y { font-size: 22px; font-weight: 800; color: var(--blue); }
.timeline .e { padding-left: 44px; font-size: 17px; }
.timeline .e small { display: block; color: var(--gray); font-size: 14px; }
.org { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org .node {
  padding: 16px 30px; border-radius: 10px; font-weight: 800; font-size: 17px; text-align: center; min-width: 180px;
}
.org .ceo-n { background: var(--navy); color: #fff; font-size: 19px; }
.org .v { width: 2px; height: 34px; background: var(--blue); }
.org .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; padding-top: 34px; width: 100%; max-width: 980px; }
.org .row::before { content: ""; position: absolute; top: 0; left: 12%; right: 11.5%; height: 2px; background: var(--blue); }
.org .col { display: flex; flex-direction: column; align-items: center; position: relative; }
.org .col::before { content: ""; position: absolute; top: -34px; left: 50%; width: 2px; height: 34px; background: var(--blue); }
.org .dept { background: var(--blue); color: #fff; width: 100%; }
.org .team { background: #fff; color: var(--blue); border: 2px solid var(--blue); width: 88%; margin-top: 12px; font-size: 15px; padding: 11px 10px; }
.org .col .v-s { width: 2px; height: 12px; background: var(--blue); }

/* business page */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sky); border-radius: 10px;
  padding: 22px 26px; display: flex; gap: 20px; align-items: center;
}
.svc .n { color: var(--blue); font-weight: 800; font-size: 22px; min-width: 34px; }
.svc b { font-size: 17px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature img { border-radius: 14px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature h3 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.feature p { color: var(--gray); font-size: 17px; margin-bottom: 14px; }
.chk { list-style: none; margin-top: 18px; }
.chk li { padding: 8px 0 8px 32px; position: relative; font-weight: 500; }
.chk li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat;
}
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #eaf0fb; color: var(--blue); font-size: 13px; font-weight: 700; }

/* projects page */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter button {
  height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 700; cursor: pointer; color: var(--gray);
}
.filter button.on, .filter button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.proj-table { width: 100%; border-collapse: collapse; background: #fff; border-top: 2px solid var(--blue); }
.proj-table th, .proj-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.proj-table th { background: #f7f9fc; font-size: 15px; }
.proj-table td:first-child { width: 130px; }
.proj-table td:last-child { color: var(--gray); width: 220px; }

/* ---------- board ---------- */
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.board-top .cnt { color: var(--gray); }
.board-top .cnt b { color: var(--blue); }
.search { display: flex; gap: 6px; }
.search select, .search input { height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: #fff; }
.search input { width: 220px; }
.btable { width: 100%; border-collapse: collapse; background: #fff; border-top: 2px solid var(--ink); }
.btable th { padding: 15px 10px; border-bottom: 1px solid var(--line); background: #f7f9fc; font-size: 15px; }
.btable td { padding: 16px 10px; border-bottom: 1px solid var(--line); text-align: center; color: var(--gray); font-size: 15px; }
.btable td.tit { text-align: left; color: var(--ink); }
.btable td.tit a:hover { color: var(--blue); text-decoration: underline; }
.btable tr.notice td { background: #f5f8fe; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 4px; background: var(--blue); color: #fff; margin-right: 8px; vertical-align: 1px; }
.clip { display: inline-block; width: 16px; height: 16px; margin-left: 6px; vertical-align: -2px; color: var(--gray); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 34px; }
.pager button { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; }
.pager button.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.board-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.empty { padding: 60px 0 !important; }
.view { background: #fff; border-top: 2px solid var(--ink); }
.view .vh { padding: 28px 30px; border-bottom: 1px solid var(--line); }
.view .vh h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.view .meta { display: flex; gap: 20px; color: var(--gray); font-size: 14px; flex-wrap: wrap; }
.view .files { padding: 14px 30px; background: #f7f9fc; border-bottom: 1px solid var(--line); font-size: 15px; }
.view .files a { color: var(--blue); font-weight: 500; }
.view .vb { padding: 40px 30px; min-height: 240px; white-space: pre-wrap; font-size: 16px; }
.view-nav { list-style: none; border-top: 1px solid var(--line); margin-top: 30px; background: #fff; }
.view-nav li { display: flex; border-bottom: 1px solid var(--line); }
.view-nav li span { width: 100px; padding: 14px 20px; background: #f7f9fc; font-weight: 700; font-size: 14px; }
.view-nav li a { padding: 14px 20px; flex: 1; }
.view-nav li a:hover { color: var(--blue); }
.form { background: #fff; border-top: 2px solid var(--ink); }
.form .f { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--line); }
.form .f > label { background: #f7f9fc; padding: 16px 20px; font-weight: 700; font-size: 15px; }
.form .f > div { padding: 10px 16px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff;
}
.form textarea { min-height: 260px; resize: vertical; }
.form .req { color: #d03b3b; margin-left: 3px; }
.agree { margin-top: 18px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--gray); }
.agree label { display: flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 700; margin-top: 10px; }
.admin-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: #fff8e6; border: 1px solid #f1d58c; color: #6b5310; border-radius: 10px;
  padding: 12px 18px; margin-bottom: 24px; font-size: 14px;
}

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; }
.map { width: 100%; height: 420px; border: 0; border-radius: var(--radius); background: #e6ebf3; }
.info-list { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 28px; }
.info-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { color: var(--blue); font-weight: 800; min-width: 72px; }

/* ---------- footer ---------- */
.ftr { background: #0a1630; color: #9aa8c0; padding: 54px 0 40px; font-size: 14px; }
.ftr .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.ftr .logo img { height: 42px; width: auto; }
.ftr .links { display: flex; gap: 22px; flex-wrap: wrap; }
.ftr .links a { color: #d2dbe9; font-weight: 700; }
.ftr address { font-style: normal; margin-top: 26px; line-height: 1.9; }
.ftr address span { margin-right: 18px; display: inline-block; }
.ftr .copy { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ftr .copy button, .ftr .copy a { background: none; border: 1px solid rgba(255,255,255,.2); color: #9aa8c0; border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 12px; }

.js .fade { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.js .fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade { opacity: 1; transform: none; transition: none; }
  .hero .bg { animation: none; }
  .btn, .biz-card, .sector img, .gnb, .gnb .sub, .menu-btn span { transition: none; }
  .biz-card:hover { transform: none; }
  .sector:hover img { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .split, .contact-grid, .ceo, .feature { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --hdr: 66px; }
  .hdr .logo img { height: 42px; }
  .menu-btn { display: block; }
  .gnb {
    position: fixed; top: var(--hdr); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column;
    height: auto; padding: 10px 0; overflow-y: auto; transform: translateX(100%); transition: transform .25s;
  }
  .gnb.open { transform: none; }
  .gnb > li { display: block; border-bottom: 1px solid var(--line); }
  .gnb > li > a { line-height: 1; padding: 20px 24px; }
  .gnb > li > a::after { display: none; }
  .gnb .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px 12px; }
  .menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li { border-top: 1px solid rgba(255,255,255,.1); }
  .process { grid-template-columns: 1fr; gap: 26px; }
  .process::before { left: 36px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .process li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; text-align: left; padding: 0; align-items: center; }
  .process .num { margin: 0; }
  .rnd-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .org .row { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .org .row::before, .org .col::before { display: none; }
  .sec { padding: 76px 0; }
  .subvis { height: 260px; }
  .btable .hide-m { display: none; }
  .form .f { grid-template-columns: 1fr; }
  .form .f > label { padding: 12px 16px; }
  .search input { width: 140px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .biz-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .facts b { font-size: 22px; }
  .facts li { padding: 22px 16px; }
  .overview th { width: 110px; padding: 14px; }
  .overview td { padding: 14px; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 34px; }
  .timeline li::before { left: 0; }
  .timeline .e { padding-left: 0; }
  .org .row { grid-template-columns: 1fr; }
  .proj-table td:last-child { width: auto; }
  .proj-table, .proj-table tbody, .proj-table tr, .proj-table td { display: block; width: 100% !important; }
  .proj-table thead { display: none; }
  .proj-table tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .proj-table td { border: 0; padding: 4px 16px; }
  .search { width: 100%; }
  .search input { flex: 1; width: auto; min-width: 0; }
  .news-box, .contact-box { padding: 24px; }
}

/* ---------- added: vision, research, IP, map, form status ---------- */
.vision-top { text-align: center; padding: 48px 24px; background: var(--navy); color: #fff; border-radius: var(--radius); margin-bottom: 28px;
  background-image: linear-gradient(90deg, rgba(14,30,66,.92), rgba(14,30,66,.8)), url(../img/sub-business.jpg); background-size: cover; background-position: center; }
.vision-top small { display: block; color: var(--sky); font-weight: 700; letter-spacing: .08em; font-size: 15px; }
.vision-top p { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.4; margin-top: 10px; }
.vision-top span { display: block; margin-top: 10px; color: #d5deec; font-size: 16px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.value .ic { width: 52px; height: 52px; border-radius: 14px; background: #eaf0fb; color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.value .ic svg { width: 28px; height: 28px; }
.value h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.value p { color: var(--gray); font-size: 15px; }
.proj-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.proj-card + .proj-card { margin-top: 16px; }
.proj-card h3 { font-size: 20px; font-weight: 800; margin: 10px 0 6px; }
.proj-card p { color: var(--gray); font-size: 15px; }
.proj-card dl { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 6px 12px; margin-top: 14px; font-size: 15px; }
.proj-card dt { color: var(--gray); }
.proj-card dd { margin: 0; font-weight: 600; }
.ip-table { width: 100%; border-collapse: collapse; background: #fff; border-top: 2px solid var(--blue); }
.ip-table th, .ip-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.ip-table th { background: #f7f9fc; font-size: 15px; }
.ip-table td.empty { text-align: center; color: var(--gray); }
.ip-note { margin-top: 14px; font-size: 14px; color: var(--gray); }
.status { margin-top: 12px; text-align: right; font-size: 15px; color: #6b5310; min-height: 1.5em; }
.form .hint { font-size: 13px; color: var(--gray); margin-top: 4px; }
.info-list .links { display: flex; flex-wrap: wrap; gap: 8px; }

/* nav switches to the mobile menu earlier: the four menu names are long */
@media (max-width: 1080px) {
  .gnb > li > a { padding: 0 14px; font-size: 16px; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .gnb {
    position: fixed; top: var(--hdr); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column;
    height: auto; padding: 10px 0; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden;
    transition: transform .25s, visibility .25s;
  }
  .gnb.open { transform: none; visibility: visible; }
  .gnb > li { display: block; border-bottom: 1px solid var(--line); }
  .gnb > li > a { line-height: 1; padding: 20px 24px; font-size: 17px; }
  .gnb > li > a::after { display: none; }
  .gnb .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px 12px; display: flex; flex-wrap: wrap; }
  .gnb .sub a { padding: 8px 12px; }
  body.menu-open { overflow: hidden; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 860px) { .br-d { display: none; } }
.info-list a { color: var(--blue); }
.contact-box a:hover, .ftr address a:hover { text-decoration: underline; }
/* patent certificates */
.cert-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 48px; }
.cert { display: flex; flex-direction: column; }
.cert a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; transition: border-color .2s, box-shadow .2s; }
.cert a:hover { border-color: var(--blue); box-shadow: 0 10px 24px rgba(46,85,168,.12); }
.cert img { width: 100%; aspect-ratio: 480 / 679; object-fit: cover; border-radius: 4px; }
.cert b { margin-top: 14px; font-size: 16px; font-weight: 700; line-height: 1.45; }
.cert small { margin-top: 4px; font-size: 14px; color: var(--gray); }
@media (max-width: 960px) { .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .cert-grid { gap: 12px; } .cert b { font-size: 15px; } }
@media (max-width: 600px) { .ip-table.has-cards { display: none; } .cert-grid { margin-bottom: 0; } }
/* organization chart (redrawn from the company's chart image; positions in a 1095 x 577 frame) */
.orgmap { position: relative; max-width: 1095px; margin: 0 auto; aspect-ratio: 1095 / 577; container-type: inline-size; }
.orgmap .om-bg { position: absolute; left: calc(299 / 1095 * 100%); top: calc(81 / 577 * 100%); width: calc(698 / 1095 * 100%); height: auto; pointer-events: none; }
.orgmap .om-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orgmap .om-lines path { fill: none; stroke: #5d6876; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.orgmap .om-lines rect { fill: #2e55a8; }
.orgmap ul { list-style: none; margin: 0; padding: 0; }
.orgmap li { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 700; font-size: clamp(12px, 1.75cqw, 19px); border-radius: 4px; line-height: 1.2;
  left: calc(var(--x) / 1095 * 100%); top: calc(var(--y) / 577 * 100%); }
.orgmap .om-ceo { --x: 82; --y: 156; width: calc(179 / 1095 * 100%); height: calc(60 / 577 * 100%);
  background: #00a0e4; color: #fff; font-size: clamp(13px, 1.95cqw, 21px); box-shadow: 0 6px 16px rgba(0,120,190,.22); }
.orgmap .om-dept { width: calc(238 / 1095 * 100%); height: calc(44 / 577 * 100%);
  background: #0a84cc; color: #fff; box-shadow: 0 4px 12px rgba(10,100,170,.16); }
.orgmap .om-team { width: calc(246 / 1095 * 100%); height: calc(42 / 577 * 100%);
  background: #fff; color: #0a84cc; border: 1.5px solid #0a84cc; }

/* phones: a plain vertical tree, no map */
@media (max-width: 720px) {
  .orgmap { aspect-ratio: auto; max-width: 420px; }
  .orgmap .om-bg, .orgmap .om-lines { display: none; }
  .orgmap .om-nodes { position: relative; padding-left: 0; }
  .orgmap .om-nodes::before { content: ""; position: absolute; left: 11px; top: 56px; bottom: 26px; width: 2px; background: #9aa6b4; }
  .orgmap .om-nodes li { position: relative; left: auto; top: auto; width: auto; height: auto; font-size: 16px; padding: 14px 16px; margin: 0 0 10px 24px; }
  .orgmap .om-nodes li::before { content: ""; position: absolute; left: -13px; top: 50%; width: 13px; height: 2px; background: #9aa6b4; }
  .orgmap .om-nodes .om-ceo { margin: 0 0 16px; font-size: 18px; }
  .orgmap .om-nodes .om-ceo::before { display: none; }
  .orgmap .om-nodes .om-team { margin-left: 52px; padding: 10px 12px; font-size: 15px; }
  .orgmap .om-nodes .om-team::before { left: -28px; width: 28px; }
}
/* research page: year flow, partners, national R&D cards, task lists */
.sub-title { font-size: 22px; font-weight: 800; margin: 64px 0 20px; }
.year-flow { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--blue); }
.year-flow li { padding: 18px 14px 6px; border-left: 1px solid var(--line); }
.year-flow li:first-child { border-left: 0; padding-left: 0; }
.year-flow b { display: block; font-size: 22px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.year-flow span { display: block; font-size: 14px; color: #3a4352; line-height: 1.5; margin-bottom: 8px; padding-left: 10px; position: relative; }
.year-flow span::before { content: ""; position: absolute; left: 0; top: .6em; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
.partners { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.partners li { padding: 10px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; color: #3a4352; }
.rd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rd-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 26px 26px 22px; display: flex; flex-direction: column; }
.rd-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rd-state { font-size: 13px; font-weight: 700; color: var(--gray); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.rd-state.on { color: #fff; background: var(--blue); border-color: var(--blue); }
.rd-card h3 { font-size: 19px; font-weight: 800; line-height: 1.4; margin: 16px 0 10px; }
.rd-card p { color: var(--gray); font-size: 15px; flex: 1; }
.rd-card dl { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 6px 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.rd-card dt { color: var(--gray); }
.rd-card dd { margin: 0; font-weight: 600; }
.rd-img { margin-top: 28px; width: 100%; max-height: 380px; object-fit: cover; border-radius: 14px; }
.task-table td.yr { width: 80px; font-weight: 700; color: var(--blue); }
.task-table td:last-child { width: 240px; }
.more-wrap { text-align: center; margin-top: 20px; }
@media (max-width: 1080px) {
  .year-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; }
  .year-flow li:nth-child(5) { border-left: 0; padding-left: 0; }
  .rd-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .year-flow { grid-template-columns: minmax(0, 1fr); }
  .year-flow li { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); }
  .sub-title { margin-top: 48px; }
  .task-table td.yr, .task-table td:last-child { width: auto; }
  .task-table td.yr { padding-bottom: 0; }
  .task-table td:last-child { color: var(--gray); font-size: 14px; }
}
