/* 시안 3 — 다크 에디토리얼 (차콜 · 샌드 · 대형 타이포) */
:root {
  --bg: #0e1013;
  --bg-2: #15181d;
  --fg: #ece8e1;
  --dim: #8d8f94;
  --line: #2a2e35;
  --sand: #d8c3a0;
  --blue: #7ea6ff;
  --en: 'Cormorant Garamond', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; line-height: 1.7; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 32px; }
i { font-family: var(--en); font-style: italic; }

/* 바 */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(14,16,19,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-inner { height: 66px; display: flex; align-items: center; gap: 30px; }
.mark { font-weight: 800; letter-spacing: .14em; font-size: 14px; }
.mark i { letter-spacing: 0; font-size: 19px; font-weight: 500; color: var(--sand); }
.links { display: flex; gap: 24px; margin-left: auto; font-size: 13px; color: var(--dim); }
.links a:hover { color: var(--fg); }
.btn-o { border: 1px solid var(--sand); color: var(--sand); padding: 8px 18px; font-size: 13px; letter-spacing: .08em; }
.btn-o:hover { background: var(--sand); color: var(--bg); }

/* 히어로 */
.hero { padding: 130px 0 90px; border-bottom: 1px solid var(--line); background: radial-gradient(800px 500px at 90% 0%, rgba(126,166,255,.08), transparent 70%); }
.over { color: var(--dim); font-size: 14px; margin: 0 0 30px; }
.over i { color: var(--sand); font-size: 18px; }
.hero h1 { font-size: 84px; line-height: 1.12; margin: 0; font-weight: 800; letter-spacing: -0.045em; }
.hero h1 span { color: var(--sand); }
.hero-foot { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-foot p { margin: 0; color: var(--dim); font-size: 16px; max-width: 460px; }
.hero-nums { display: flex; justify-content: flex-end; gap: 44px; }
.hero-nums strong { display: block; font-size: 40px; font-weight: 300; letter-spacing: -0.03em; }
.hero-nums span { font-size: 13px; color: var(--dim); }

/* 챕터 */
.chapter { padding: 110px 0; border-bottom: 1px solid var(--line); }
.chapter.alt { background: var(--bg-2); }
.ch-grid { display: grid; grid-template-columns: 340px 1fr; gap: 60px; }
.ch-side { position: sticky; top: 100px; align-self: start; }
.ch-no { font-family: var(--en); font-size: 22px; color: var(--sand); border-bottom: 1px solid var(--sand); padding-bottom: 4px; }
.ch-en { margin: 26px 0 6px; color: var(--dim); }
.ch-en i { font-size: 22px; }
.ch-side h2, .wide-head h2 { margin: 0; font-size: 36px; line-height: 1.3; letter-spacing: -0.03em; font-weight: 700; }
.lead { margin: 0 0 40px; font-size: 18px; color: #c4c1bb; line-height: 1.8; }
.big-quote { margin: 0 0 50px; font-size: 30px; line-height: 1.5; font-weight: 300; letter-spacing: -0.02em; }

/* 01 */
.lines { border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.line-item b { font-size: 17px; }
.line-item p { margin: 0; color: var(--dim); }
.sub { margin: 56px 0 18px; font-size: 14px; letter-spacing: .2em; color: var(--sand); font-weight: 600; }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: k; }
.tasks li { background: var(--bg); padding: 24px 20px; counter-increment: k; }
.tasks li::before { content: counter(k, decimal-leading-zero); display: block; font-family: var(--en); font-size: 28px; color: var(--blue); margin-bottom: 10px; }
.tasks span { display: block; font-weight: 700; }
.tasks em { font-style: normal; font-size: 13px; color: var(--dim); }

/* 02 */
.infra { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.inf { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.inf:nth-child(odd) { border-right: 1px solid var(--line); }
.inf:nth-child(even) { padding-left: 28px; }
.inf-k { font-family: var(--en); font-style: italic; color: var(--sand); font-size: 17px; }
.inf h3 { margin: 6px 0 6px; font-size: 20px; }
.inf p { margin: 0; color: var(--dim); font-size: 14px; }

/* 03 */
.acad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.acad-stat { padding: 26px 0; border-top: 2px solid var(--sand); }
.acad-stat strong { display: block; font-size: 54px; font-weight: 200; letter-spacing: -0.04em; line-height: 1.1; }
.acad-stat small { font-size: 24px; color: var(--sand); }
.acad-stat span { font-size: 13px; color: var(--dim); }
.dash-list { list-style: none; margin: 0; padding: 0; }
.dash-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.dash-list li::before { content: ''; position: absolute; left: 0; top: 27px; width: 20px; height: 1px; background: var(--sand); }

/* 04 */
.record { padding: 110px 0; background: var(--sand); color: var(--bg); }
.rec-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.rec-head .ch-no { color: var(--bg); border-color: var(--bg); }
.rec-head h2 { margin: 0; font-size: 36px; letter-spacing: -0.03em; }
.rec-head .ch-en { margin: 0 0 0 auto; color: #6b5a3f; }
.rec-row { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(14,16,19,.25); }
.rec-row div { padding: 30px 24px 30px 0; border-right: 1px solid rgba(14,16,19,.2); }
.rec-row div + div { padding-left: 24px; }
.rec-row div:last-child { border-right: 0; }
.rec-row strong { display: block; font-size: 64px; font-weight: 200; letter-spacing: -0.05em; line-height: 1.05; }
.rec-row sup { font-size: 24px; vertical-align: top; }
.rec-row span { font-size: 14px; color: #5a4b33; }
.spark { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.sp { display: grid; grid-template-columns: 60px 1fr 50px; gap: 16px; align-items: center; }
.sp-y { font-family: var(--en); font-size: 18px; }
.sp-bar { height: 8px; background: rgba(14,16,19,.1); }
.sp-bar i { display: block; height: 100%; background: var(--bg); }
.p45 { width: 45%; } .p62 { width: 62%; } .p81 { width: 81%; } .p100 { width: 100%; }
.sp-v { text-align: right; font-weight: 700; }
.fine { margin: 26px 0 0; font-size: 12px; color: #6b5a3f; }

/* 05 */
.wide-head { display: flex; gap: 30px; align-items: flex-end; margin-bottom: 56px; }
.wide-head .ch-en { margin: 0 0 4px; }
.timeline { display: grid; grid-template-columns: 4fr 2fr 3fr; gap: 8px; }
.tl-zone { height: 4px; background: var(--line); position: relative; }
.tl-zone:nth-child(1) { background: linear-gradient(90deg, #3a4150, var(--blue)); }
.tl-zone:nth-child(2) { background: var(--blue); }
.tl-zone:nth-child(3) { background: linear-gradient(90deg, var(--blue), var(--sand)); }
.tl-zone span { position: absolute; top: -26px; left: 0; font-size: 11px; letter-spacing: .25em; color: var(--dim); }
.tl-steps { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; margin-top: 26px; }
.tl { padding-top: 14px; border-top: 1px solid var(--line); }
.tl i { font-size: 26px; color: var(--sand); display: block; line-height: 1; margin-bottom: 10px; }
.tl b { display: block; font-size: 15px; }
.tl p { margin: 4px 0 0; font-size: 12px; color: var(--dim); line-height: 1.5; }

/* 06 */
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.st { background: var(--bg); border: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.st span { font-family: var(--en); font-size: 36px; color: var(--sand); line-height: 1; margin-bottom: auto; }
.st h3 { margin: 24px 0 8px; font-size: 22px; }
.st p { margin: 0; font-size: 14px; color: var(--dim); }
.st1 { min-height: 220px; } .st2 { min-height: 260px; } .st3 { min-height: 300px; }
.st4 { min-height: 340px; background: var(--sand); color: var(--bg); border-color: var(--sand); }
.st4 span { color: var(--bg); }
.st4 p { color: #4a3e2b; }

/* 07 */
.mou { border-top: 1px solid var(--fg); }
.mou-h, .mou-r { display: grid; grid-template-columns: 180px 1fr 1.2fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mou-h { font-size: 13px; letter-spacing: .12em; color: var(--dim); }
.mou-h .us { color: var(--sand); }
.mou-r b { font-weight: 700; }
.mou-r span { color: var(--dim); }
.mou-r .us { color: var(--fg); }
.steps4 { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps4 div { padding: 20px 0 0; border-top: 2px solid var(--line); font-weight: 600; font-size: 17px; }
.steps4 div:last-child { border-top-color: var(--sand); }
.steps4 i { display: block; color: var(--dim); font-size: 16px; margin-bottom: 4px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { padding: 22px 0; cursor: pointer; font-size: 18px; font-weight: 600; }
.faq details p { margin: 0 0 22px; color: var(--dim); }

/* 마무리 */
.closing { padding: 130px 0; }
.closing .ch-en i { font-size: 26px; color: var(--sand); }
.closing h2 { font-size: 58px; line-height: 1.2; margin: 10px 0 50px; letter-spacing: -0.04em; }
.closing-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 30px; }
.closing-row p { margin: 0; color: var(--dim); }
.btn-fill { background: var(--sand); color: var(--bg); padding: 16px 34px; font-weight: 700; }
.btn-fill:hover { background: var(--fg); }
.end { border-top: 1px solid var(--line); padding: 26px 0; font-size: 13px; color: var(--dim); }
.end-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* 반응형 */
@media (max-width: 1100px) {
  .links { display: none; }
  .btn-o { margin-left: auto; }
  .hero h1 { font-size: 62px; }
  .ch-grid { grid-template-columns: 1fr; gap: 36px; }
  .ch-side { position: static; }
  .tl-steps { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .timeline { display: none; }
  .rec-row { grid-template-columns: 1fr 1fr; }
  .rec-row div:nth-child(2) { border-right: 0; }
  .rec-row div:nth-child(3) { padding-left: 0; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 40px; }
  .hero-foot { grid-template-columns: 1fr; gap: 30px; }
  .hero-nums { justify-content: flex-start; gap: 26px; }
  .hero-nums strong { font-size: 30px; }
  .chapter, .record { padding: 76px 0; }
  .big-quote { font-size: 22px; }
  .line-item { grid-template-columns: 1fr; gap: 4px; }
  .tasks, .acad, .stairs, .steps4 { grid-template-columns: 1fr 1fr; }
  .infra { grid-template-columns: 1fr; }
  .inf:nth-child(odd) { border-right: 0; }
  .inf:nth-child(even) { padding-left: 0; }
  .acad-stat strong { font-size: 40px; }
  .rec-row strong { font-size: 44px; }
  .tl-steps { grid-template-columns: 1fr 1fr; }
  .st1, .st2, .st3, .st4 { min-height: 0; }
  .mou-h { display: none; }
  .mou-r { grid-template-columns: 1fr; gap: 4px; }
  .mou-r .us::before { content: '→ '; color: var(--sand); }
  .wide-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .closing h2 { font-size: 34px; }
}
