/* ==========================================================================
   한국벤처스튜디오협회 (KVSA) — kvs.kr
   Design tokens: 로고 기반 네이비(#1c2342) → 틸 그린(#1f8f70) 그라디언트 팔레트
   ========================================================================== */
:root {
  --navy: #1c2342;        /* 로고 네이비 */
  --navy-2: #1d3a51;      /* 네이비→틸 중간톤 */
  --blue: #17705c;        /* 로고 틸 그린 (본문 링크·주 색상) */
  --blue-deep: #135a49;
  --blue-soft: #e8f4ef;
  --sky: #8fd8c2;         /* 민트 (다크 배경 보조) */
  --paper: #f6f9f8;
  --white: #ffffff;
  --ink: #1e2a33;
  --steel: #4c5f68;
  --seal: #1e9a76;        /* CTA 강조 틸 (로고 화살표) */
  --seal-dark: #177a5c;
  --line: #dbe6e2;
  --line-dark: rgba(143, 216, 194, 0.26);

  --font-body: "Noto Sans KR", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --font-display: "Noto Sans KR", "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --maxw: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 42, 46, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--seal); outline-offset: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--seal);
  display: inline-block;
}
.on-dark .eyebrow { color: var(--sky); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; color: var(--navy); line-height: 1.35; }
h1 { font-size: clamp(30px, 4.6vw, 45px); letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: 19px; font-family: var(--font-body); font-weight: 700; }
.lead { font-size: clamp(16px, 2vw, 18px); color: var(--steel); max-width: 46em; }
.on-dark h1, .on-dark h2 { color: var(--white); }
.on-dark .lead { color: rgba(255, 255, 255, 0.78); }

.serif-accent { color: var(--seal); }
.on-dark .serif-accent { color: #6fe0bd; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { height: 36px; width: auto; }
.brand .brand-logo { height: 50px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand .brand-ko { font-weight: 800; font-size: 16px; color: var(--navy); letter-spacing: -0.01em; }
.brand .brand-en { font-family: var(--font-mono); font-size: 10px; color: var(--steel); letter-spacing: 0.08em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > a::after {
  content: ""; display: inline-block; margin-left: 6px; vertical-align: 2px;
  border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0;
}
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 172px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 14px 34px rgba(20, 42, 46, 0.14); padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 60;
}
.main-nav .has-sub:hover .sub-menu,
.main-nav .has-sub:focus-within .sub-menu,
.main-nav .has-sub.open .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.sub-menu a {
  display: block; padding: 9px 14px; border-radius: 7px;
  font-size: 14px; color: var(--ink); white-space: nowrap;
}
.sub-menu a:hover { background: var(--blue-soft); color: var(--blue-deep); text-decoration: none; }
.main-nav a {
  padding: 8px 13px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: 15px;
}
.main-nav a:hover { background: var(--blue-soft); text-decoration: none; color: var(--blue-deep); }
.main-nav a.active { color: var(--blue); }
.main-nav a.nav-cta {
  background: var(--seal); color: #fff; margin-left: 8px;
}
.main-nav a.nav-cta:hover { background: var(--seal-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(143,216,194,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,216,194,0.05) 1px, transparent 1px),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #145048 100%);
  background-size: 44px 44px, 44px 44px, cover;
  color: #fff;
  padding: 84px 0 64px;
}
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 2; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg canvas { width: 100%; height: 100%; display: block; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 1; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px; right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(47,124,108,0.4), transparent 65%);
  animation: kv-drift 14s ease-in-out infinite alternate;
}
.hero::after {
  width: 420px; height: 420px; left: -160px; bottom: -200px;
  background: radial-gradient(circle, rgba(31,154,118,0.22), transparent 65%);
  animation: kv-drift 18s ease-in-out infinite alternate-reverse;
}

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 44px; align-items: center;
}
.hero-inner { max-width: 860px; }
.hero-inner > * { animation: kv-up 0.75s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.28s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.5s; }

.hero-visual { display: flex; justify-content: center; animation: kv-up 0.9s 0.25s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
.hero-visual svg { width: min(400px, 100%); height: auto; overflow: visible; }
.kv-hex { stroke-dasharray: 1220; stroke-dashoffset: 1220; animation: kv-draw 2.4s 0.3s ease forwards; }
.kv-web line { stroke-dasharray: 220; stroke-dashoffset: 220; animation: kv-draw 1.6s ease forwards; }
.kv-web line:nth-child(odd) { animation-delay: 1s; }
.kv-web line:nth-child(even) { animation-delay: 1.35s; }
.kv-arrow { stroke-dasharray: 640; stroke-dashoffset: 640; animation: kv-draw 1.8s 1.8s cubic-bezier(0.3, 0, 0.2, 1) forwards; }
.kv-node { transform-box: fill-box; transform-origin: center; animation: kv-pulse 3.4s ease-in-out infinite; }
.kv-node:nth-of-type(2) { animation-delay: 0.5s; }
.kv-node:nth-of-type(3) { animation-delay: 1s; }
.kv-node:nth-of-type(4) { animation-delay: 1.5s; }
.kv-node:nth-of-type(5) { animation-delay: 2s; }
.kv-node:nth-of-type(6) { animation-delay: 2.5s; }
.kv-ring { transform-box: fill-box; transform-origin: center; animation: kv-rotate 46s linear infinite; }
.kv-float { animation: kv-hover 7s ease-in-out infinite alternate; }
.kv-spark { transform-box: fill-box; transform-origin: center; animation: kv-pulse 2.2s ease-in-out infinite; }

@keyframes kv-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes kv-draw { to { stroke-dashoffset: 0; } }
@keyframes kv-pulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.45); opacity: 1; } }
@keyframes kv-rotate { to { transform: rotate(360deg); } }
@keyframes kv-hover { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
@keyframes kv-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-50px, 36px) scale(1.12); } }
@keyframes kv-flow { from { background-position: 200% 0; } to { background-position: -100% 0; } }
.hero .hero-note {
  font-weight: 600; font-size: 13.5px; color: var(--sky);
  letter-spacing: 0.02em; margin-top: 22px;
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px;
  font-weight: 700; font-size: 15.5px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-seal { background: var(--seal); color: #fff; }
.btn-seal:hover { background: var(--seal-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.06); }
.btn-line { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-line:hover { background: var(--blue-soft); color: var(--blue-deep); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- 전주기 파이프라인 (signature) ---------- */
.pipeline-wrap { margin-top: 56px; }
.pipeline-title {
  font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  color: var(--sky); margin-bottom: 18px;
}
.pipeline {
  list-style: none; display: grid;
  grid-template-columns: repeat(6, 1fr); gap: 0;
  counter-reset: stage;
}
.pipeline li {
  position: relative; padding: 18px 10px 0 0; counter-increment: stage;
}
.pipeline li::before {
  content: ""; position: absolute; top: 5px; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(143,216,194,0.22), rgba(143,216,194,0.22) 38%, rgba(122,238,199,0.95) 50%, rgba(143,216,194,0.22) 62%, rgba(143,216,194,0.22));
  background-size: 300% 100%;
  animation: kv-flow 7.5s linear infinite;
}
.pipeline li:nth-child(1)::before { animation-delay: 0s; }
.pipeline li:nth-child(2)::before { animation-delay: -6.25s; }
.pipeline li:nth-child(3)::before { animation-delay: -5s; }
.pipeline li:nth-child(4)::before { animation-delay: -3.75s; }
.pipeline li:nth-child(5)::before { animation-delay: -2.5s; }
.pipeline li:nth-child(6)::before { animation-delay: -1.25s; }
.pipeline li:last-child::before { right: 10px; }
.pipeline li::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--sky);
}
.pipeline li:last-child::after { border-color: var(--seal); background: var(--seal); }
.pipeline .stage-no {
  font-family: var(--font-mono); font-size: 11px; color: var(--sky); display: block;
}
.pipeline .stage-name { font-weight: 700; font-size: 14.5px; color: #fff; display: block; }
.pipeline .stage-desc { font-size: 12.5px; color: rgba(255,255,255,0.6); line-height: 1.5; display: block; margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section.tint { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; max-width: 740px; }
.section-head .lead { margin-top: 12px; }

.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: var(--shadow); }
.card .card-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--blue-deep); background: var(--blue-soft);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--steel); font-size: 14.5px; }
.card ul { margin: 12px 0 0 0; padding-left: 0; list-style: none; }
.card ul li {
  font-size: 14px; color: var(--ink); padding: 7px 0 7px 18px;
  border-top: 1px dashed var(--line); position: relative;
}
.card ul li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--blue);
}
.badge {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--steel); margin-left: 6px; vertical-align: 2px;
}
.badge.hot { border-color: var(--seal); color: var(--seal); }

/* ---------- 회원 구분 표 ---------- */
.mtable {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; font-size: 14.5px;
}
.mtable thead th {
  background: var(--navy); color: #fff; text-align: center;
  font-weight: 700; font-size: 15px; padding: 15px 14px; letter-spacing: 0.02em;
}
.mtable td { padding: 18px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.mtable .m-group {
  background: var(--blue-soft); text-align: center; vertical-align: middle;
  font-weight: 800; color: var(--navy); font-size: 16px; width: 96px;
  border-right: 1px solid var(--line); letter-spacing: 0.04em;
}
.mtable .m-tier { width: 150px; text-align: center; vertical-align: middle; }
.mtable .m-tier .t-name { display: block; font-weight: 800; color: var(--navy); font-size: 15.5px; }
.mtable .m-tier .t-fee {
  display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700;
  color: var(--blue-deep); background: var(--blue-soft); border-radius: 999px; padding: 3px 11px;
}
.mtable .m-tier .t-fee.free { color: #6a7b12; background: #f3f7dd; }
.mtable .m-target { width: 26%; }
.mtable .m-target .who { font-weight: 700; color: var(--navy); display: block; margin-bottom: 4px; }
.mtable .m-target .sub { display: block; font-size: 13px; color: var(--steel); margin-top: 3px; }
.mtable ul.m-rights { list-style: none; margin: 0; padding: 0; }
.mtable ul.m-rights li {
  position: relative; padding: 3px 0 3px 18px; color: #35464f; font-size: 14px;
}
.mtable ul.m-rights li::before {
  content: "✓"; position: absolute; left: 0; top: 3px;
  color: var(--seal); font-weight: 800; font-size: 13px;
}
.mtable ul.m-rights li.plus::before { content: "＋"; color: var(--blue-deep); }
.mtable ul.m-rights li strong { color: var(--navy); }
.mtable tbody tr.m-top td { border-top: 2px solid var(--navy); }

/* 가입비 · 계좌 안내 박스 */
.fee-box {
  background: #fff; border: 1.5px solid var(--seal); border-radius: var(--radius);
  padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
}
.fee-box .fee-item { flex: 1 1 180px; }
.fee-box .fee-label { font-size: 12.5px; font-weight: 800; color: var(--blue-deep); letter-spacing: 0.05em; display: block; margin-bottom: 4px; }
.fee-box .fee-val { font-weight: 800; color: var(--navy); font-size: 16px; }
.fee-box .fee-val small { display: block; font-weight: 500; font-size: 12.5px; color: var(--steel); margin-top: 2px; }

/* ---------- 로고 쇼케이스 ---------- */
.logo-showcase {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 30px; display: flex; justify-content: center; box-shadow: var(--shadow);
}
.logo-showcase img { max-width: 460px; width: 100%; height: auto; }

/* ---------- 직인(stamp) 모티프 ---------- */
.stamp {
  display: inline-block;
  font-family: var(--font-display); font-weight: 900; font-size: 17px;
  color: var(--seal); border: 2.5px solid var(--seal);
  padding: 8px 18px; border-radius: 10px;
  transform: rotate(-3.5deg);
  letter-spacing: 0.12em;
  box-shadow: inset 0 0 0 1.5px rgba(30, 154, 118, 0.25);
}
.on-dark .stamp { color: #6fe0bd; border-color: #6fe0bd; box-shadow: inset 0 0 0 1.5px rgba(111,224,189,0.3); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--navy), #17493f);
  color: #fff; border-radius: 16px; padding: 52px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 14px 0 8px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 34em; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 20%, #1b4a4b 100%);
  color: #fff; padding: 58px 0 46px;
}
.page-hero .lead { margin-top: 10px; }
.breadcrumb {
  font-weight: 600; font-size: 12.5px; color: var(--sky);
  letter-spacing: 0.05em; margin-bottom: 12px;
}

/* ---------- 홈 퀵메뉴 ---------- */
.quick-strip { background: #fff; border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 26px 22px; border-left: 1px solid var(--line);
  color: var(--ink); transition: background 0.15s ease;
}
.quick-item:first-child { border-left: 0; }
.quick-item:hover { background: var(--blue-soft); text-decoration: none; }
.quick-item .q-icon { font-size: 22px; }
.quick-item .q-name { font-weight: 700; color: var(--navy); font-size: 15.5px; }
.quick-item .q-desc { font-size: 13px; color: var(--steel); }
@media (max-width: 680px) {
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-item { border-top: 1px solid var(--line); }
  .quick-item:nth-child(-n+2) { border-top: 0; }
  .quick-item:nth-child(odd) { border-left: 0; }
}

/* ---------- 페이지 서브탭 ---------- */
.subnav {
  position: sticky; top: 68px; z-index: 40;
  background: #fff; border-bottom: 1px solid var(--line);
}
.subnav .container { display: flex; gap: 2px; overflow-x: auto; }
.subnav a {
  padding: 15px 18px; font-size: 14.5px; font-weight: 500; color: var(--steel);
  border-bottom: 2.5px solid transparent; white-space: nowrap;
}
.subnav a:hover { color: var(--blue-deep); text-decoration: none; }
.subnav a.active { color: var(--blue-deep); border-bottom-color: var(--seal); font-weight: 700; }

/* ---------- 인사말 ---------- */
.greeting { display: grid; grid-template-columns: 240px 1fr; gap: 38px; align-items: start; }
.greeting.greeting-solo { grid-template-columns: 1fr; max-width: 800px; }
.greeting-photo {
  background: linear-gradient(160deg, var(--blue-soft), #fff);
  border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 3 / 3.6; display: flex; align-items: center; justify-content: center;
  color: var(--steel); font-size: 13px; text-align: center; padding: 16px;
}
.greeting-body p { margin-bottom: 16px; color: #35464f; }
.greeting-sign { margin-top: 26px; font-weight: 700; color: var(--navy); }
.greeting-sign .role { font-weight: 400; color: var(--steel); margin-right: 10px; font-size: 14px; }

/* ---------- 연혁 타임라인 ---------- */
.history { list-style: none; border-left: 2px solid var(--line); padding-left: 0; }
.history li { position: relative; padding: 0 0 30px 30px; }
.history li::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--seal);
}
.history .h-year { font-weight: 800; color: var(--blue-deep); font-size: 14px; display: block; letter-spacing: 0.02em; }
.history .h-title { font-weight: 700; color: var(--navy); font-size: 16.5px; }
.history .h-desc { color: var(--steel); font-size: 14.5px; margin-top: 3px; }

/* ---------- 가입 위저드 ---------- */
.wizard-steps { display: flex; gap: 0; margin-bottom: 34px; counter-reset: wstep; }
.wizard-steps li {
  flex: 1; list-style: none; text-align: center; position: relative;
  counter-increment: wstep; padding-top: 40px; font-size: 14px; color: var(--steel); font-weight: 500;
}
.wizard-steps li::before {
  content: counter(wstep, decimal-leading-zero); position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--line);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; color: var(--steel); z-index: 1;
}
.wizard-steps li::after {
  content: ""; position: absolute; top: 15px; left: calc(50% + 22px); right: calc(-50% + 22px);
  height: 2px; background: var(--line);
}
.wizard-steps li:last-child::after { display: none; }
.wizard-steps li.active { color: var(--blue-deep); font-weight: 700; }
.wizard-steps li.active::before { border-color: var(--seal); background: var(--seal); color: #fff; }
.wizard-steps li.done::before { border-color: var(--seal); color: var(--seal); content: "✓"; }
.wizard-pane { display: none; }
.wizard-pane.active { display: block; }
.terms-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; max-height: 250px; overflow-y: auto;
  font-size: 13.8px; color: #41525b; margin-bottom: 12px;
}
.terms-box h4 { color: var(--navy); font-size: 14.5px; margin: 14px 0 6px; }
.terms-box h4:first-child { margin-top: 0; }
.terms-box ol, .terms-box ul { padding-left: 20px; margin: 6px 0; }
.agree-row {
  display: flex; align-items: center; gap: 10px; background: var(--blue-soft);
  border-radius: 8px; padding: 14px 16px; margin-bottom: 10px; font-size: 14.5px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent;
}
.agree-row input { width: 18px; height: 18px; accent-color: var(--seal); }
.agree-row.warn { border-color: #e0b4ae; background: #fdf3f2; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

/* ---------- 오시는 길 ---------- */
.map-box {
  background: linear-gradient(160deg, var(--blue-soft), #fff);
  border: 1px dashed var(--line); border-radius: var(--radius);
  min-height: 260px; display: flex; align-items: center; justify-content: center;
  color: var(--steel); font-size: 14px; text-align: center; padding: 24px;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); font-size: 14.5px;
}
table.data th, table.data td { padding: 13px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { background: var(--blue-soft); color: var(--navy); font-weight: 700; white-space: nowrap; }
table.data td { color: var(--ink); }
table.data td .sub { color: var(--steel); font-size: 13px; display: block; margin-top: 2px; }

/* ---------- Steps (가입 절차) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px; position: relative;
}
.steps li::before {
  content: "0" counter(step);
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--seal); display: block; margin-bottom: 8px; letter-spacing: 0.1em;
}
.steps li strong { display: block; color: var(--navy); margin-bottom: 6px; font-size: 15.5px; }
.steps li span { font-size: 13.5px; color: var(--steel); line-height: 1.6; display: block; }

/* ---------- Forms ---------- */
.form-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 36px; max-width: 760px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 14px; color: var(--navy); }
.form-field label .req { color: var(--seal); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(23, 112, 92, 0.14);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-msg { margin-top: 16px; font-size: 14.5px; padding: 12px 16px; border-radius: 8px; display: none; }
.form-msg.ok { display: block; background: #eef8f1; color: #1b6b3a; border: 1px solid #bfe3cc; }
.form-msg.err { display: block; background: #fdf0ef; color: var(--seal-dark); border: 1px solid #f0c7c3; }
.form-hint { font-size: 13px; color: var(--steel); margin-top: 14px; }

/* ---------- Board (공지 / 자료실) ---------- */
.board-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  font-family: var(--font-mono); font-size: 12.5px; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--steel); cursor: pointer;
}
.chip:hover { border-color: var(--sky); color: var(--blue); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.board-list { list-style: none; border-top: 2px solid var(--navy); background: #fff; }
.board-list li { border-bottom: 1px solid var(--line); }
.board-list a.row {
  display: grid; grid-template-columns: 86px 1fr 110px; gap: 16px; align-items: center;
  padding: 17px 18px; color: var(--ink);
}
.board-list a.row:hover { background: var(--blue-soft); text-decoration: none; }
.board-list .cat { font-family: var(--font-mono); font-size: 12px; color: var(--blue); }
.board-list .cat.notice { color: var(--seal); }
.board-list .title { font-weight: 600; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list .title .pin {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--seal);
  border: 1px solid var(--seal); border-radius: 4px; padding: 1px 6px; margin-right: 8px; vertical-align: 2px;
}
.board-list .date { font-family: var(--font-mono); font-size: 12.5px; color: var(--steel); text-align: right; }
.board-empty { padding: 48px 20px; text-align: center; color: var(--steel); background: #fff; border-bottom: 1px solid var(--line); }

/* 게시글 상세 */
.post-detail { background: #fff; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
.post-detail .post-head { padding: 26px 24px; border-bottom: 1px solid var(--line); }
.post-detail .post-head h2 { font-family: var(--font-body); font-weight: 800; font-size: 22px; }
.post-detail .post-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--steel); margin-top: 8px; }
.post-detail .post-body { padding: 30px 24px; font-size: 15.5px; }
.post-detail .post-body p { margin-bottom: 14px; }
.post-detail .post-body ul { margin: 0 0 14px 20px; }
.post-detail .post-body ul li { margin-bottom: 6px; }
.post-detail .post-body strong { color: var(--navy); }
.post-actions { padding: 18px 24px; border-top: 1px solid var(--line); }

/* 자료실 */
.res-list { list-style: none; border-top: 2px solid var(--navy); background: #fff; }
.res-list li {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center;
  padding: 18px; border-bottom: 1px solid var(--line);
}
.res-list .cat { font-family: var(--font-mono); font-size: 12px; color: var(--blue); }
.res-list .res-title { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.res-list .res-sub { font-size: 12.5px; color: var(--steel); font-family: var(--font-mono); margin-top: 2px; }

/* ---------- 조직도 ---------- */
.org { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org .org-node {
  background: #fff; border: 1.5px solid var(--navy); border-radius: 8px;
  padding: 10px 26px; font-weight: 700; color: var(--navy); text-align: center;
}
.org .org-node small { display: block; font-weight: 500; font-size: 12px; color: var(--steel); }
.org .org-line { width: 1.5px; height: 26px; background: var(--navy); }
.org .org-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.org .org-node.sub { border-color: var(--line); border-width: 1px; }
.org .org-node.audit { border-style: dashed; border-color: var(--seal); color: var(--seal); }

/* ---------- Timeline (로드맵) ---------- */
.timeline { list-style: none; position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1.5px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 26px 14px; }
.timeline li::before {
  content: ""; position: absolute; left: -25px; top: 7px; width: 11px; height: 11px;
  border-radius: 50%; background: #fff; border: 2.5px solid var(--blue);
}
.timeline li.done::before { background: var(--blue); }
.timeline li .t-when { font-family: var(--font-mono); font-size: 12.5px; color: var(--seal); letter-spacing: 0.06em; }
.timeline li strong { display: block; color: var(--navy); font-size: 16px; margin: 2px 0; }
.timeline li p { color: var(--steel); font-size: 14px; }

/* ---------- Notice preview (home) ---------- */
.notice-preview { list-style: none; border-top: 2px solid var(--navy); background: #fff; }
.notice-preview li { border-bottom: 1px solid var(--line); }
.notice-preview a { display: flex; justify-content: space-between; gap: 18px; padding: 16px 18px; color: var(--ink); align-items: baseline; }
.notice-preview a:hover { background: var(--blue-soft); text-decoration: none; }
.notice-preview .np-title { font-weight: 600; font-size: 15px; }
.notice-preview .np-date { font-family: var(--font-mono); font-size: 12px; color: var(--steel); white-space: nowrap; }

/* ---------- Definition band (협회란?) ---------- */
.def-band { border-left: 4px solid var(--seal); background: #fff; border-radius: 0 12px 12px 0; padding: 26px 30px; box-shadow: var(--shadow); }
.def-band p { color: var(--ink); font-size: 16.5px; }
.def-band .src { font-family: var(--font-mono); font-size: 12px; color: var(--steel); margin-top: 10px; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 54px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 34px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; font-family: var(--font-mono); letter-spacing: 0.1em; font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,0.72); font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-brand { font-family: var(--font-display); font-weight: 900; color: #fff; font-size: 19px; margin-bottom: 10px; }
.footer-logo { display: inline-flex; align-items: center; margin-bottom: 20px; }
.footer-logo img { height: 55px; width: auto; }
.footer-note { font-size: 13px; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; font-family: var(--font-mono);
}

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
  .hero::before, .hero::after, .hero-inner > *, .hero-visual,
  .pipeline li::before, .kv-node, .kv-ring, .kv-float, .kv-spark { animation: none !important; }
  .hero-inner > *, .hero-visual { opacity: 1; transform: none; }
  .kv-hex, .kv-web line, .kv-arrow { stroke-dashoffset: 0 !important; animation: none !important; }
  .hero-bg { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual svg { width: min(320px, 78vw); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .board-list a.row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
  .board-list .date { text-align: left; }
  .res-list li { grid-template-columns: 1fr; gap: 8px; }

  .brand .brand-logo { height: 43px; }

  .main-nav {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 16px 18px;
  }
  .main-nav a { padding: 12px 10px; }
  .main-nav .has-sub { position: static; }
  .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    display: none; border: 0; box-shadow: none; padding: 0 0 4px 14px; min-width: 0;
  }
  .main-nav .has-sub.open .sub-menu { display: block; }
  .subnav { top: 60px; }
  .greeting { grid-template-columns: 1fr; }
  .greeting-photo { max-width: 240px; }
  .wizard-steps li { font-size: 12px; }
  .main-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  .site-header.nav-open .main-nav { display: flex; }
  .nav-toggle { display: flex; }
}
