/* 텐밀클럽 — 공통 스타일 */
:root {
  --ink: #0c0d10;
  --ink-2: #14161b;
  --ink-3: #1d2027;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --text: #1a1b1f;
  --muted: #6b6a66;
  --line: #d9d2c3;
  --line-dark: #2a2d35;
  --gold: #b08d57;
  --gold-hi: #d8bd8a;
  --gold-lo: #8a6c3f;
  --ok: #3d7a5a;
  --warn: #a8742a;
  --bad: #a3433a;
  --radius: 4px;
  --wrap: 1160px;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --latin: "Cormorant Garamond", "Noto Serif KR", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── 헤더 ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.solid, .site-header.light-page {
  background: rgba(12, 13, 16, .92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark { font-family: var(--latin); font-size: 24px; font-weight: 600; letter-spacing: .18em; }
.brand-mark b { color: var(--gold-hi); font-weight: 600; }
.brand-ko { font-size: 12px; color: #9a9890; letter-spacing: .12em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #c9c6be; text-decoration: none; font-size: 14px; letter-spacing: .02em; }
.nav a:hover { color: #fff; }
.nav .btn { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-lo); }
.nav .btn-gold { color: #fff; padding: 9px 18px; font-size: 14px; }
.btn-line { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-line:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ── 히어로 ── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--ink); color: #fff; overflow: hidden;
  padding: 120px 0 80px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 30%, rgba(176,141,87,.16), transparent 70%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,.5));
}
.hero-number {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--latin); font-weight: 500; font-size: clamp(120px, 22vw, 340px);
  line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(216,189,138,.18);
  letter-spacing: -.02em; pointer-events: none; user-select: none; white-space: nowrap;
}
.hero .wrap { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--latin); font-size: 14px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-hi);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(40px, 6.4vw, 84px); line-height: 1.18; letter-spacing: -.02em;
  margin: 28px 0 28px;
}
.hero h1 em { font-style: normal; color: var(--gold-hi); }
.hero-lead { max-width: 560px; font-size: clamp(16px, 1.6vw, 19px); color: #bdbab2; margin: 0 0 44px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); gap: 0; margin-top: 72px;
  border-top: 1px solid var(--line-dark); max-width: 720px;
}
.hero-facts div { padding: 22px 32px 0 0; }
.hero-facts div + div { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.hero-facts dt { font-size: 12px; letter-spacing: .14em; color: #8d8a83; }
.hero-facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 20px; color: #fff; }

/* ── 섹션 공통 ── */
.section { padding: 128px 0; }
.section-dark { background: var(--ink); color: #e9e6df; }
.section-paper2 { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head .num { font-family: var(--latin); font-size: 15px; letter-spacing: .3em; color: var(--gold); }
.section-head h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 48px);
  line-height: 1.3; letter-spacing: -.015em; margin: 14px 0 20px;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-dark .section-head p { color: #a9a69f; }

/* 정체성 인용 */
.manifesto { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.manifesto blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.55; font-weight: 500;
  border-left: 2px solid var(--gold); padding-left: 32px;
}
.manifesto blockquote em { font-style: normal; color: var(--gold-lo); }
.manifesto-body p { margin: 0 0 20px; color: #3a3a3d; font-size: 17px; }
.manifesto-body p:last-child { margin: 0; }

/* 원칙 카드 */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.principle { padding: 48px 40px 8px 0; }
.principle + .principle { padding-left: 40px; border-left: 1px solid var(--line-dark); }
.principle .label { font-family: var(--latin); letter-spacing: .26em; font-size: 13px; color: var(--gold-hi); text-transform: uppercase; }
.principle h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 14px 0 6px; color: #fff; }
.principle .value { font-family: var(--latin); font-size: 44px; color: var(--gold-hi); line-height: 1.2; margin: 12px 0 14px; }
.principle p { color: #a9a69f; margin: 0; font-size: 15px; }
.rule-banner {
  margin-top: 72px; padding: 32px 36px; border: 1px solid var(--gold-lo);
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(176,141,87,.10), transparent);
}
.rule-banner strong { font-family: var(--serif); font-size: 22px; color: #fff; font-weight: 600; }
.rule-banner span { color: #a9a69f; font-size: 15px; }

/* 비교 표 */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 22px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.compare tbody th { font-weight: 600; width: 22%; }
.compare .us { background: var(--ink); color: #fff; }
.compare thead .us { color: var(--gold-hi); font-family: var(--latin); letter-spacing: .2em; font-size: 15px; }
.compare td.us { border-bottom-color: var(--line-dark); }
.compare .us b { color: var(--gold-hi); font-weight: 600; }

/* 생태계 */
.axis { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
.axis-card { padding: 48px 44px; background: #fff; border: 1px solid var(--line); }
.axis-card .tag { font-family: var(--latin); font-size: 13px; letter-spacing: .26em; color: var(--gold-lo); text-transform: uppercase; }
.axis-card h3 { font-family: var(--serif); font-size: 26px; margin: 10px 0 24px; font-weight: 600; }
.axis-card dl { margin: 0; display: grid; gap: 14px; }
.axis-card dt { font-size: 13px; color: var(--muted); }
.axis-card dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; }
.axis-x {
  display: flex; align-items: center; justify-content: center; width: 96px;
  font-family: var(--latin); font-size: 54px; color: var(--gold); font-weight: 400;
}
.bridge { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bridge div { background: var(--paper); padding: 26px 24px; }
.bridge b { display: block; font-family: var(--serif); font-size: 18px; margin-bottom: 6px; }
.bridge span { font-size: 14px; color: var(--muted); }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* 로드맵 */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: phase; }
.phase { position: relative; padding: 40px 36px 0 0; border-top: 1px solid var(--line-dark); }
.phase::before {
  content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--gold-hi);
}
.phase.now::before { background: var(--gold-hi); box-shadow: 0 0 0 6px rgba(216,189,138,.15); }
.phase .stage { font-family: var(--latin); letter-spacing: .26em; font-size: 13px; color: var(--gold-hi); text-transform: uppercase; }
.phase h3 { font-family: var(--serif); font-size: 24px; color: #fff; margin: 10px 0 12px; font-weight: 600; }
.phase p { color: #a9a69f; font-size: 15px; margin: 0; }
.phase .badge { margin-left: 8px; vertical-align: middle; }

/* 절차 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { background: #fff; border: 1px solid var(--line); padding: 28px 22px; }
.steps .n { font-family: var(--latin); font-size: 34px; color: var(--gold); line-height: 1; }
.steps b { display: block; font-size: 17px; margin: 18px 0 8px; }
.steps span { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* 연회비 */
.fee {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: #fff;
}
.fee-main { padding: 56px 48px; background: var(--ink); color: #fff; }
.fee-main .label { font-family: var(--latin); letter-spacing: .26em; font-size: 13px; color: var(--gold-hi); }
.fee-price { font-family: var(--latin); font-size: clamp(56px, 7vw, 84px); line-height: 1; margin: 18px 0 6px; }
.fee-price small { font-family: var(--sans); font-size: 18px; color: #a9a69f; margin-left: 6px; }
.fee-main p { color: #a9a69f; margin: 18px 0 0; font-size: 15px; }
.fee-list { padding: 48px; margin: 0; list-style: none; display: grid; gap: 18px; align-content: center; }
.fee-list li { display: flex; gap: 14px; font-size: 16px; }
.fee-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 11px; background: var(--gold); transform: rotate(45deg); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--serif); font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--gold-lo); border-bottom: 1.5px solid var(--gold-lo); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 48px 28px 0; color: #45454a; font-size: 16px; }

/* 가입문의 */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; }
.contact-info h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); line-height: 1.3; margin: 14px 0 20px; font-weight: 600; color: #fff; }
.contact-info p { color: #a9a69f; }
.contact-lines { margin-top: 40px; display: grid; gap: 14px; }
.contact-lines a { color: #fff; text-decoration: none; display: flex; gap: 14px; align-items: baseline; font-size: 17px; }
.contact-lines span { font-size: 12px; color: var(--gold-hi); letter-spacing: .16em; width: 64px; flex: none; }

/* ── 폼 ── */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field .req { color: var(--gold-lo); margin-left: 3px; }
.field .hint { font-size: 13px; color: var(--muted); line-height: 1.55; }
.input, .select, .textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.18); }
.dark-form .input, .dark-form .select, .dark-form .textarea { background: var(--ink-2); border-color: var(--line-dark); color: #fff; }
.dark-form .field label { color: #d9d6cf; }
.dark-form .check { color: #a9a69f; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #45454a; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.check a { color: var(--gold-lo); }
.dark-form .check a { color: var(--gold-hi); }
.hp { position: absolute; left: -9999px; }
.msg { padding: 14px 16px; border-radius: var(--radius); font-size: 14px; display: none; }
.msg.show { display: block; }
.msg.err { background: #f7e7e4; color: var(--bad); border: 1px solid #e7c4be; }
.msg.ok { background: #e6f0ea; color: var(--ok); border: 1px solid #c3dccd; }
.dark-form .msg.err { background: rgba(163,67,58,.15); border-color: rgba(163,67,58,.5); color: #f0b4ac; }
.dark-form .msg.ok { background: rgba(61,122,90,.18); border-color: rgba(61,122,90,.5); color: #a8dcc0; }

.file-drop {
  border: 1px dashed var(--gold); border-radius: var(--radius); padding: 26px; text-align: center;
  background: rgba(176,141,87,.05); cursor: pointer; transition: background .2s;
}
.file-drop:hover, .file-drop.drag { background: rgba(176,141,87,.12); }
.file-drop input { display: none; }
.file-drop b { display: block; font-size: 15px; }
.file-drop span { font-size: 13px; color: var(--muted); }
.file-drop .picked { color: var(--ok); font-weight: 600; margin-top: 8px; display: block; }

/* ── 서브 페이지 ── */
.page { padding: 132px 0 100px; min-height: 100vh; }
.page-narrow { max-width: 640px; margin: 0 auto; }
.page-mid { max-width: 820px; margin: 0 auto; }
.page h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); font-weight: 600; margin: 12px 0 14px; line-height: 1.3; }
.page .lead { color: var(--muted); margin: 0 0 40px; }
.card { background: #fff; border: 1px solid var(--line); padding: 36px; border-radius: var(--radius); }
.card + .card { margin-top: 20px; }
.card h2 { font-family: var(--serif); font-size: 21px; margin: 0 0 18px; font-weight: 600; }
.fieldset-title { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 16px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.fieldset-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.callout {
  border-left: 3px solid var(--gold); background: rgba(176,141,87,.08); padding: 16px 20px; font-size: 14px; color: #45454a;
}
.callout b { color: var(--text); }
.callout ol, .callout ul { margin: 8px 0 0; padding-left: 20px; }
.below { text-align: center; margin-top: 24px; font-size: 14px; color: var(--muted); }
.below a { color: var(--gold-lo); font-weight: 600; }

/* 상태 배지 */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.badge-pending { background: #f3e9d6; color: var(--warn); }
.badge-approved { background: #e8e3f3; color: #5b4a8c; }
.badge-active { background: #e2efe7; color: var(--ok); }
.badge-rejected { background: #f5e3e0; color: var(--bad); }
.badge-expired { background: #e9e7e3; color: #6b6a66; }
.badge-now { background: var(--gold-hi); color: var(--ink); }

/* 상태 진행 */
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 28px; }
.track div { padding-top: 12px; border-top: 3px solid var(--line); font-size: 13px; color: var(--muted); }
.track div.done { border-top-color: var(--gold); color: var(--text); font-weight: 600; }
.track div.cur { border-top-color: var(--gold); color: var(--gold-lo); font-weight: 700; }

/* 회원증 */
.member-card {
  position: relative; overflow: hidden; aspect-ratio: 1.586; max-width: 440px;
  background: linear-gradient(135deg, #1a1c22 0%, #0c0d10 60%, #1d1a14 100%);
  border-radius: 14px; color: #fff; padding: 28px 30px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
  border: 1px solid rgba(216,189,138,.25);
}
.member-card::after {
  content: "1억"; position: absolute; right: -10px; bottom: -40px; font-family: var(--serif); font-size: 170px; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px rgba(216,189,138,.12); line-height: 1;
}
.member-card .top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.member-card .mk { font-family: var(--latin); font-size: 20px; letter-spacing: .2em; }
.member-card .mk b { color: var(--gold-hi); font-weight: 600; }
.member-card .verified { font-size: 10px; letter-spacing: .2em; color: var(--gold-hi); border: 1px solid var(--gold-lo); padding: 4px 8px; border-radius: 2px; }
.member-card .who { position: relative; z-index: 1; }
.member-card .nm { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.member-card .meta { display: flex; gap: 22px; margin-top: 8px; font-size: 11px; color: #a9a69f; letter-spacing: .06em; }
.member-card .meta b { display: block; color: #fff; font-size: 14px; font-family: var(--latin); letter-spacing: .08em; font-weight: 600; }

.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 0; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.copy-row { display: flex; gap: 8px; margin-top: 14px; }
.copy-row .input { font-size: 13px; }

/* 관리자 */
.admin-wrap { max-width: 1280px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs button {
  background: none; border: 0; padding: 12px 18px; font-size: 15px; cursor: pointer; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tabs button.on { color: var(--text); border-bottom-color: var(--gold); font-weight: 700; }
.stat-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 28px; }
.stat { background: #fff; border: 1px solid var(--line); padding: 18px 20px; cursor: pointer; text-align: left; border-radius: var(--radius); }
.stat.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.stat span { font-size: 13px; color: var(--muted); display: block; }
.stat b { font-family: var(--latin); font-size: 32px; line-height: 1.2; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 900px; }
.table th, .table td { padding: 13px 14px; border-bottom: 1px solid var(--paper-2); text-align: left; vertical-align: top; }
.table th { background: #faf8f4; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.table tr:hover td { background: #fcfbf8; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.table small { color: var(--muted); display: block; }
.empty { padding: 48px; text-align: center; color: var(--muted); }

.modal-bg { position: fixed; inset: 0; background: rgba(12,13,16,.6); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal-bg.show { display: flex; }
.modal { background: var(--paper); width: 100%; max-width: 520px; padding: 32px; border-radius: 6px; max-height: 90vh; overflow: auto; }
.modal h3 { font-family: var(--serif); margin: 0 0 16px; font-size: 21px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }

/* 법적 문서 */
.legal h2 { font-family: var(--serif); font-size: 20px; margin: 40px 0 12px; }
.legal p, .legal li { color: #3a3a3d; font-size: 15px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--paper-2); }

/* ── 푸터 ── */
.site-footer { background: #08090b; color: #7d7a74; padding: 56px 0 44px; font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .brand-mark { font-size: 18px; color: #d9d6cf; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #a9a69f; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 10px 0 0; }

/* ── 모션 ─────────────────────────────────────────── */
:root { --ease-out: cubic-bezier(.2,.7,.2,1); --ease-spring: cubic-bezier(.34,1.3,.64,1); }

/* 스크롤 등장 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* 헤드라인 라인 마스크 */
[data-lines] .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
[data-lines] .line > span { display: inline-block; transform: translateY(108%); transition: transform 1.05s var(--ease-out) calc(var(--i, 0) * 120ms + var(--d, 0ms)); }
[data-lines].in .line > span { transform: none; }

/* 히어로 인트로 시퀀스 */
.intro { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
.is-loaded .intro { opacity: 1; transform: none; }
.hero h1 { --d: 120ms; }
.hero-number-wrap { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.hero-number { transition: opacity 1.6s var(--ease-out) .2s; opacity: 0; }
.is-loaded .hero-number { opacity: 1; }

/* 커서 스포트라이트 */
[data-spotlight]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 32%), rgba(216,189,138,.11), transparent 62%);
  transition: background .2s;
}
.hero .wrap { z-index: 1; }

/* 스크롤 진행바 */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); pointer-events: none;
}

/* 버튼 */
[data-magnetic] { transition: transform .35s var(--ease-out), background .2s, color .2s, border-color .2s; }
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn-gold:hover::after { transform: translateX(120%); }

/* 증명 방식 마퀴 */
.marquee { background: var(--ink); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif); font-size: clamp(18px, 2vw, 26px); color: #8d8a83; white-space: nowrap; padding-right: 48px;
  display: inline-flex; align-items: center; gap: 48px;
}
.marquee-track span b { color: var(--gold-hi); font-weight: 600; }
.marquee-track span::after { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 로드맵 진행선 */
.roadmap { position: relative; }
.road-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); z-index: 1; }
.road-line i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--gold-hi), var(--gold)); }
.phase { border-top-color: transparent; }
.phase::before { z-index: 2; transition: background .4s, box-shadow .4s; }

/* 카드 호버 */
.steps li, .axis-card, .bridge div, .stat { transition: transform .45s var(--ease-out), border-color .3s, box-shadow .45s var(--ease-out); }
@media (hover: hover) {
  .steps li:hover, .axis-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 40px -28px rgba(12,13,16,.35); }
  .steps li:hover .n { color: var(--gold-lo); }
  .principle { transition: background .4s; }
  .principle:hover { background: linear-gradient(180deg, rgba(216,189,138,.05), transparent); }
}
.steps .n { transition: color .3s; }

/* 비교표 행 */
.compare tbody tr { transition: background .3s; }
.compare tbody tr:hover td:not(.us), .compare tbody tr:hover th { background: rgba(176,141,87,.06); }

/* FAQ */
.faq details[open] .a { animation: faqIn .45s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--gold-lo); }

/* 회원증 틸트 + 샤인 */
.member-card[data-tilt] { transition: transform .5s var(--ease-out); transform-style: preserve-3d; will-change: transform; }
.member-card .shine {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: inherit;
  background: radial-gradient(circle at var(--sx, 25%) var(--sy, 15%), rgba(255,255,255,.16), transparent 46%);
  mix-blend-mode: soft-light;
}
.member-card::before {
  content: ""; position: absolute; inset: -40% -60%; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(216,189,138,.22) 50%, transparent 58%);
  transform: translateX(-60%); animation: cardSweep 2.2s var(--ease-out) .5s 1 forwards;
}
@keyframes cardSweep { to { transform: translateX(60%); } }

/* 푸터 크레딧 */
.credit a { display: inline-flex; gap: 4px; color: #6d6a64; transition: color .2s; }
.credit a b { color: #a9a69f; font-weight: 600; transition: color .2s; }
.credit a:hover, .credit a:hover b { color: var(--gold-hi); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .intro, .hero-number { opacity: 1; transform: none; }
  [data-lines] .line > span { transform: none; }
  html { scroll-behavior: auto; }
}

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .bridge { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line-dark); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
  .nav-toggle { display: block; }
  .section { padding: 88px 0; }
  .manifesto, .contact-grid, .fee { grid-template-columns: 1fr; gap: 40px; }
  .fee { gap: 0; }
  .principles, .roadmap { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 36px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .phase { padding: 32px 0 36px 0; }
  .axis { grid-template-columns: 1fr; }
  .axis-x { width: auto; height: 72px; }
  .hero-number { opacity: .6; right: -10vw; top: 30%; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 104px 0 56px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { padding: 16px 0 0; border-left: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form-row { grid-template-columns: 1fr; }
  .steps, .bridge { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
  .fee-main, .fee-list { padding: 36px 24px; }
  .axis-card { padding: 32px 24px; }
  .rule-banner { padding: 24px; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 16px 10px; }
  .compare tbody th { width: 28%; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .track { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .faq summary { font-size: 17px; }
  .member-card { padding: 22px 22px; }
  .member-card .nm { font-size: 22px; }
}

/* 보정: 내비 로그아웃 버튼 색, 라틴 숫자 정렬(라이닝 숫자) */
.nav .btn-line { color: #fff; padding: 9px 18px; font-size: 14px; }
.stat b, .fee-price, .principle .value, .member-card .meta b, .steps .n, .hero-number { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1; }
.hero-number { -webkit-text-stroke-color: rgba(216,189,138,.12); }

/* 신청 구분 세그먼트 */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.seg b { display: block; font-size: 15px; }
.seg small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.seg input:checked + span { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: rgba(176,141,87,.06); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
@media (max-width: 600px) { .seg { grid-template-columns: 1fr; } }
.input, .select { height: 52px; line-height: 1.4; }
