/* 입시는 이수연 */
:root {
  --ink: #0c1230;
  --ink-2: #151d45;
  --navy: #1d2b66;
  --blue: #3350c9;
  --blue-soft: #e9edfb;
  --on-dark: #a8b7ff;
  --paper: #f5f3ee;
  --line: #e2dfd7;
  --text: #171a26;
  --muted: #676b79;
  --white: #fff;
  --head: 76px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  letter-spacing: -0.02em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }
section[id] { scroll-margin-top: var(--head); }

.inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.mo { display: none; }
.center { text-align: center; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 17px;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 10px 30px -12px rgba(29, 43, 102, .55);
}
.btn:hover { background: var(--blue); transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; box-shadow: none; }
.btn-lg { height: 64px; padding: 0 34px; font-size: 18px; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); box-shadow: none; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); }
.btn-light:hover { background: var(--on-dark); color: var(--ink); }
.arr { width: 16px; height: 16px; display: inline-block; position: relative; }
.arr::before { content: ""; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.link-more { font-weight: 600; color: var(--navy); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-more:hover { color: var(--blue); }

/* ---------- 공통 타이포 ---------- */
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--blue); margin-bottom: 18px; }
.sec-title { font-size: clamp(30px, 3.6vw, 50px); font-weight: 800; line-height: 1.32; letter-spacing: -0.045em; }
.sec-title em { color: var(--blue); }
.lead { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1.7; }

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

/* 자리표시 */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; text-align: center; padding: 24px; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(29, 43, 102, .045) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #eceef6, #dfe3f1);
  border: 1.5px dashed #b7bfdc; color: var(--navy);
}
.ph strong { font-size: 17px; font-weight: 700; line-height: 1.5; }
.ph small { font-size: 13px; color: var(--muted); }
.ph-tag { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #fff; color: var(--blue); }
.ph-photo { aspect-ratio: 4 / 5; }
.ph-doc { aspect-ratio: 3 / 4; }
button.ph, [data-lightbox] { cursor: zoom-in; transition: transform .3s var(--ease), box-shadow .3s; }
[data-lightbox]:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(12, 18, 48, .5); }

/* ---------- 01 HEADER ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head);
  transition: background .3s, box-shadow .3s, transform .35s var(--ease);
}
.site-header .inner { height: 100%; display: flex; align-items: center; gap: 32px; max-width: 1360px; }
.site-header.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(12, 18, 48, .08); }
.site-header.on-dark:not(.scrolled) { color: #fff; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -0.05em; color: var(--ink); flex-shrink: 0; }
.logo img { height: 26px; width: auto; }
.gnb { display: flex; gap: 36px; margin: 0 auto; font-size: 16px; font-weight: 600; }
.gnb a { position: relative; padding: 6px 0; color: #3a3e4c; transition: color .2s; }
.gnb a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .3s var(--ease); }
.gnb a:hover, .gnb a.active { color: var(--ink); }
.gnb a.active::after, .gnb a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; }

/* ---------- 02 HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--head) + 40px) 0 80px; background: linear-gradient(180deg, var(--paper), #fff 90%); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10vw; top: -10vw; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(circle, rgba(51, 80, 201, .12), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 55fr 45fr; gap: 64px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 26px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero-title span { display: block; white-space: nowrap; }
.hero-title { font-size: clamp(30px, 3.3vw, 50px); font-weight: 800; line-height: 1.28; letter-spacing: -0.05em; color: var(--ink); }
.hero-title em { color: var(--blue); }
.hero-desc { margin-top: 30px; font-size: clamp(16px, 1.3vw, 18px); color: #444857; display: grid; gap: 12px; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.micro { margin-top: 16px; font-size: 14px; color: var(--muted); }
.micro::before { content: "✓ "; color: var(--blue); font-weight: 700; }
/* 첫 화면 그래픽: 흩어진 점이 하나의 선으로 이어져 입시 경쟁력에 닿음 */
.hv { position: relative; height: min(70vh, 640px); border-radius: 28px; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #2a3a8c 0%, transparent 55%), linear-gradient(160deg, #1d2b66 0%, var(--ink) 70%); box-shadow: 0 40px 80px -40px rgba(12, 18, 48, .55); }
.hv::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 60% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 30%, transparent 80%); }
.hv-stage { position: absolute; top: 0; bottom: 0; left: 50%; aspect-ratio: 4 / 5; transform: translateX(-50%); }
.hv-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hv-stray circle { fill: rgba(168, 183, 255, .35); }
.hv-path { fill: none; stroke: url(#hvLine); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hv-node { fill: var(--ink); stroke: #a8b7ff; stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3); }
.hv-end { fill: #fff; stroke: #a8b7ff; stroke-width: 5; opacity: 0; }
.hv-glow { opacity: 0; transform-box: fill-box; transform-origin: center; }
.hv-label, .hv-goal { position: absolute; white-space: nowrap; font-weight: 700; letter-spacing: -0.03em; opacity: 0; }
.hv-label { transform: translate(18px, -50%); padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); color: #dfe4ff; font-size: 13px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hv-label.l { transform: translate(calc(-100% - 18px), -50%); }
.hv-goal { transform: translate(-100%, -50%); margin-left: -30px; padding: 8px 14px; border-radius: 12px; background: #fff; color: var(--navy); font-size: 15px; font-weight: 800; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }
.hv-chip { position: absolute; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); opacity: 0; }
.hv-chip-a { left: 6%; top: 7%; width: 186px; padding: 14px 16px 16px; }
.hv-chip-top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.hv-chip-top b { padding: 2px 7px; border-radius: 6px; background: var(--navy); color: #fff; font-size: 10px; letter-spacing: .06em; }
.hv-chip-num { margin-top: 6px; font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.hv-chip-num small { font-size: 16px; margin-left: 2px; }
.hv-bar { display: block; margin-top: 10px; height: 6px; border-radius: 6px; background: var(--blue-soft); overflow: hidden; }
.hv-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #8fa0e8, var(--blue)); }
.hv-chip-b { right: 6%; bottom: 7%; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; }
.hv-chip-b p { display: grid; line-height: 1.25; }
.hv-chip-b small { font-size: 12px; color: var(--muted); font-weight: 600; }
.hv-chip-b b { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; }
.hv-up { width: 38px; height: 38px; border-radius: 12px; background: var(--blue); position: relative; }
.hv-up::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border: solid #fff; border-width: 3px 3px 0 0; transform: translate(-50%, -30%) rotate(-45deg); }

/* 화면에 들어오면 선이 그려지고 점·라벨·카드가 차례로 나타남 */
.hero-visual.in .hv-path { animation: hvDraw 2.2s .3s var(--ease) forwards; }
.hero-visual.in .hv-node { animation: hvPop .5s calc(.5s + var(--i) * .3s) var(--ease) forwards; }
.hero-visual.in .hv-label { animation: hvFade .6s calc(.6s + var(--i) * .3s) var(--ease) forwards; }
.hero-visual.in .hv-end, .hero-visual.in .hv-goal { animation: hvFade .6s 2.4s var(--ease) forwards; }
.hero-visual.in .hv-glow { animation: hvFade .8s 2.4s forwards, hvPulse 2.6s 3.2s ease-in-out infinite; }
.hero-visual.in .hv-chip-a { animation: hvFade .7s 1s var(--ease) forwards, hvFloat 6s 2s ease-in-out infinite; }
.hero-visual.in .hv-chip-b { animation: hvFade .7s 2.7s var(--ease) forwards, hvFloat 6s 3.5s ease-in-out infinite reverse; }
.hero-visual.in .hv-bar i { animation: hvBar 1.4s 1.3s var(--ease) forwards; }
@keyframes hvDraw { to { stroke-dashoffset: 0; } }
@keyframes hvPop { to { opacity: 1; transform: scale(1); } }
@keyframes hvFade { to { opacity: 1; } }
@keyframes hvPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes hvFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes hvBar { to { width: 91%; } }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; }
.hero .reveal:nth-child(5) { transition-delay: .4s; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--muted); padding-bottom: 46px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 36px; background: linear-gradient(var(--muted), transparent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 스크롤 고정 무대 ---------- */
.scrub { position: relative; height: var(--h, 300vh); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }

/* ---------- 03 PROBLEM ---------- */
.problem { background: var(--ink); color: #fff; }
.problem-stage { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.problem-title { font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; line-height: 1.3; letter-spacing: -0.045em; transition: opacity .6s, transform .6s var(--ease); }
.problem-lines { margin-top: 48px; display: grid; gap: 18px; counter-reset: pl; transition: opacity .6s, filter .6s; }
.problem-lines li {
  font-size: clamp(17px, 1.6vw, 23px); font-weight: 600; color: #c9cee6; padding-left: 52px; position: relative;
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .6s;
}
.problem-lines li::before { counter-increment: pl; content: "0" counter(pl); position: absolute; left: 0; top: .2em; font-size: .7em; font-weight: 700; color: var(--on-dark); letter-spacing: .05em; }
.problem-lines li.on { opacity: 1; transform: none; }
.problem-lines li.on { color: #9aa2c4; }
.problem-lines li.cur { color: #fff; }
.problem-question { position: absolute; inset: 0 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; pointer-events: none; }
.problem-question .q { font-size: clamp(32px, 4.6vw, 68px); font-weight: 800; line-height: 1.3; letter-spacing: -0.05em; opacity: 0; transform: scale(.94); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.problem-question .a { margin-top: 32px; font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; color: var(--on-dark); opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.problem.clear .problem-title { opacity: 0; transform: translateY(-20px); }
.problem.clear .problem-lines { opacity: 0; filter: blur(6px); }
.problem.ask .q { opacity: 1; transform: none; }
.problem.answer .a { opacity: 1; transform: none; }

/* ---------- 04 PHILOSOPHY ---------- */
.philosophy { padding: 160px 0 0; background: #fff; }
.philo-body { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.philo-text { display: grid; gap: 14px; font-size: 17px; line-height: 1.8; color: #3a3e4c; }
.philo-text .lead { color: var(--ink); margin-bottom: 6px; }
.philo-q { border-left: 1px solid var(--line); padding-left: 28px; }
.philo-q-label { font-size: 14px; font-weight: 600; color: #6b7080; margin-bottom: 6px; }
.q-list { counter-reset: q; }
.q-list li { counter-increment: q; position: relative; padding: 22px 0 22px 52px; border-bottom: 1px solid var(--line); }
.q-list li:last-child { border-bottom: 0; }
.q-list li::before { content: "0" counter(q); position: absolute; left: 0; top: 22px; width: 34px; height: 30px; display: grid; place-items: center; border-radius: 6px; font-size: 14px; font-weight: 700; color: var(--blue); }
.q-list li:last-child::before { background: var(--blue); color: #fff; }
.q-list b { display: block; font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 30px; }
.q-list span { display: block; margin-top: 4px; font-size: 15.5px; color: #555a69; line-height: 1.6; }

.growth { text-align: center; }
.growth-head { margin-bottom: 56px; }
.growth-title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; line-height: 1.35; letter-spacing: -0.045em; color: var(--ink); }
.growth-title em { color: var(--blue); }
.growth-path { --fill: 0; position: relative; display: grid; grid-template-columns: repeat(7, 1fr); }
.growth-path::before, .growth-path::after { content: ""; position: absolute; top: 31px; left: calc(100% / 14); height: 3px; border-radius: 3px; }
.growth-path::before { right: calc(100% / 14); background: #e4e6ef; }
.growth-path::after { width: calc((100% - 100% / 7) * var(--fill)); background: linear-gradient(90deg, #8fa0e8, var(--blue)); transition: width .6s var(--ease); }
.growth-path li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.growth-path .dot { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 3px solid #e4e6ef; margin-bottom: 18px; position: relative; transition: border-color .5s, background .5s, transform .5s var(--ease); }
.growth-path .dot::after { content: ""; position: absolute; inset: 17px; border-radius: 50%; background: #e4e6ef; transition: background .5s, transform .5s var(--ease); }
.growth-path b { font-size: clamp(17px, 1.6vw, 22px); font-weight: 800; color: #b6bac8; transition: color .5s; letter-spacing: -0.04em; }
.growth-path small { font-size: 14px; line-height: 1.5; max-width: 9.5em; color: #b6bac8; transition: color .5s; word-break: keep-all; }
.growth-path li.on .dot { border-color: var(--blue); transform: scale(1.04); }
.growth-path li.on .dot::after { background: var(--blue); }
.growth-path li.on b { color: var(--ink); }
.growth-path li.on small { color: var(--muted); }
.growth-path li.goal.on .dot { background: var(--blue); box-shadow: 0 0 0 10px rgba(51, 80, 201, .12); }
.growth-path li.goal.on .dot::after { background: #fff; transform: scale(.7); }
.growth-path li.goal.on b { color: var(--blue); }
.growth-note { margin-top: 72px; font-size: clamp(19px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.04em; opacity: .25; transition: opacity .8s; }
.growth-note strong { color: var(--blue); font-weight: 800; }
.growth.done .growth-note { opacity: 1; }

/* ---------- 05 METHOD ---------- */
.method { background: var(--paper); padding: 160px 0 120px; }
.method-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; }
.aside-sticky { position: sticky; top: calc(var(--head) + 60px); }
.aside-sticky .sec-title { font-size: clamp(28px, 2.9vw, 42px); }
.method-nav { margin-top: 56px; display: grid; gap: 4px; }
.method-nav li { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 22px; font-weight: 800; letter-spacing: .02em; color: #bfc1c9; transition: color .4s; }
.method-nav li span { font-size: 14px; font-weight: 700; }
.method-nav li small { margin-left: auto; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.method-nav li.active { color: var(--ink); }
.method-nav li.active span { color: var(--blue); }
.method-steps { display: grid; gap: 32px; }
.m-step { background: #fff; border-radius: 24px; padding: 48px; min-height: 62vh; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 30px 60px -40px rgba(12, 18, 48, .25); }
.m-no { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .06em; }
.m-no b { margin-left: 6px; }
.m-step h3 { margin: 10px 0 20px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.045em; }
.m-step p { font-size: 17px; color: #444857; }
.m-point { margin-top: 14px; padding: 18px 20px; border-radius: 14px; background: var(--blue-soft); color: var(--ink) !important; }
.m-point strong { color: var(--blue); }
.tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); color: #555a69; }

/* ---------- 06 SCORE ---------- */
.score { padding: 160px 0; background: #fff; }
.stat-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-radius: 22px; padding: 32px 28px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 183, 255, .25), transparent 70%); }
.stat:nth-child(2) { transition-delay: .08s; } .stat:nth-child(3) { transition-delay: .16s; } .stat:nth-child(4) { transition-delay: .24s; }
.stat-label { font-size: 14px; font-weight: 600; color: #aab0cc; }
.stat-before { margin-top: 18px; font-size: 16px; color: #8d93b2; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .3); }
.stat-before::after { content: " →"; text-decoration: none; display: inline-block; margin-left: 4px; }
.stat-after { margin-top: 2px; font-size: clamp(44px, 4.2vw, 60px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-after small { font-size: 18px; font-weight: 700; margin-left: 4px; letter-spacing: -0.02em; color: var(--on-dark); }
/* 이전 값이 없는 카드도 큰 숫자 높이를 맞춤 */
.stat-label + .stat-after { margin-top: 47px; }
.stat-diff { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--on-dark); padding: 3px 12px; border-radius: 99px; }

.why { margin-top: 110px; text-align: center; }
.why-lead { font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.6; letter-spacing: -0.04em; }
.why-lead strong { display: inline-block; margin-top: 6px; font-weight: 800; color: var(--blue); }
.loop { margin: 48px auto 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 34px; text-align: center; }
.loop li { position: relative; display: flex; align-items: center; justify-content: center; padding: 18px 12px; border-radius: 14px; background: var(--paper); word-break: keep-all; }
.loop b { font-size: 16px; font-weight: 700; letter-spacing: -0.03em; }
.loop li + li::before { content: ""; position: absolute; left: -26px; top: 50%; width: 18px; height: 2px; background: var(--blue); }
.loop li + li::after { content: ""; position: absolute; left: -12px; top: calc(50% - 4px); border: 5px solid transparent; border-left-color: var(--blue); border-right: 0; }
.loop li:last-child { background: var(--blue); color: #fff; }
.causes { margin: 40px auto 0; max-width: 820px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); }
.causes p { font-size: 15px; font-weight: 600; color: var(--muted); }
.causes ul { margin-top: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.causes li { font-size: 16px; font-weight: 700; padding: 8px 18px; border-radius: 99px; background: var(--blue-soft); color: var(--navy); }

/* ---------- 07 RECORD ---------- */
.record { padding: 160px 0; background: var(--paper); }
.ba { margin-top: 72px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.ba-col { border-radius: 24px; padding: 40px 36px; background: #fff; height: 100%; }
.ba-tag { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--muted); margin-bottom: 22px; }
.ba-example .ba-tag { color: var(--blue); }
.scatter { display: grid; gap: 12px; }
.scatter li { font-size: 16px; padding: 14px 16px 14px 40px; border-radius: 12px; background: #f1f1f4; color: #555a69; position: relative; }
.scatter li::before { content: ""; position: absolute; left: 16px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: #b6bac8; }
.scatter li:nth-child(2) { margin-left: 26px; } .scatter li:nth-child(3) { margin-left: 8px; }
.ba-note { margin-top: 22px; font-size: 15px; color: var(--muted); line-height: 1.75; }
.ba-note strong { color: var(--ink); }
.ba-turn { text-align: center; font-size: 17px; line-height: 1.7; color: #444857; }
.ba-turn .ask { margin-top: 16px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; color: var(--blue); letter-spacing: -0.04em; line-height: 1.4; }
.ba-example { margin-top: 40px; border-radius: 24px; padding: 40px 36px; background: #fff; }
.ex-steps { display: grid; gap: 34px; }
.ex-steps li { position: relative; padding: 18px 22px; border-radius: 14px; background: var(--blue-soft); font-size: 17px; font-weight: 600; line-height: 1.6; letter-spacing: -0.02em; color: var(--ink); }
.ex-steps li span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: 0; }
.ex-steps li + li::before { content: "↓"; position: absolute; left: 50%; top: -29px; transform: translateX(-50%); font-size: 15px; font-weight: 700; color: var(--blue); }
.ex-steps li:last-child { background: var(--blue); color: #fff; }
.ex-steps li:last-child span { color: rgba(255, 255, 255, .8); }
.ba-example .ba-note { margin-top: 18px; font-size: 11px; line-height: 1.65; }
.ba-example .ba-legal { margin-top: 4px; }

.dots-line { padding: 140px 0 120px; text-align: center; --p: 0; }
.dl-svg { width: 100%; max-width: 980px; margin: 0 auto; overflow: visible; }
.dl-path { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); }
.dl-dots circle { fill: var(--navy); opacity: .2; transform-box: fill-box; transform-origin: center; transition: opacity .4s, transform .4s var(--ease); }
.dl-dots circle.on { opacity: 1; transform: scale(1.15); }
.dl-dots circle.end.on { fill: var(--blue); }
.dl-stray circle { fill: #b6bac8; opacity: .6; }
.dl-copy { margin-top: 56px; font-size: clamp(26px, 3.2vw, 46px); font-weight: 800; line-height: 1.4; letter-spacing: -0.05em; }
.dl-copy b { color: var(--blue); }
.dl-sub { margin-top: 20px; font-size: clamp(18px, 1.7vw, 23px); color: #444857; }
.dl-sub strong { color: var(--ink); }


/* ---------- 08 INTERVIEW ---------- */
.interview { background: #050710; color: #fff; }
.iv-stage { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; }
.iv-q, .iv-end { position: absolute; inset: 0 40px; display: flex; align-items: center; justify-content: center; font-size: clamp(36px, 6vw, 88px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.25; opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s; }
.iv-end { flex-direction: column; font-size: clamp(30px, 4.4vw, 64px); }
.iv-end em { color: var(--on-dark); }
.iv-q.on, .iv-end.on { opacity: 1; transform: none; filter: none; }
.iv-q.past { opacity: 0; transform: translateY(-40px); }
.iv-body { padding: 120px 40px 160px; }
.iv-body .sec-title em, .iv-body .kicker { color: var(--on-dark); }
.iv-body .lead { margin-top: 28px; color: #c9cee6; font-weight: 500; }
.iv-process { margin-top: 64px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; counter-reset: ivp; }
.iv-process li { position: relative; padding: 22px 14px; border-radius: 16px; background: #10142a; border: 1px solid #22284a; font-size: 15px; font-weight: 700; text-align: center; line-height: 1.45; }
.iv-process li::before { counter-increment: ivp; content: counter(ivp, decimal-leading-zero); display: block; font-size: 12px; color: var(--on-dark); margin-bottom: 8px; letter-spacing: .06em; }
.iv-process li:last-child { background: var(--on-dark); color: var(--ink); border-color: transparent; }
.iv-process li:last-child::before { color: var(--navy); }
.iv-close { margin-top: 90px; text-align: center; font-size: clamp(26px, 3vw, 42px); font-weight: 800; line-height: 1.4; letter-spacing: -0.045em; }
.iv-close em { color: var(--on-dark); }

/* ---------- 09 ADMISSION ---------- */

/* ---------- 10 LOGRIT ---------- */
.logrit { background: linear-gradient(180deg, var(--ink), var(--ink-2)); color: #fff; }
.lg-intro { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; }
.lg-made { position: absolute; inset: 0 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: clamp(32px, 4.6vw, 66px); font-weight: 800; line-height: 1.3; letter-spacing: -0.05em; transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s; }
.lg-made { opacity: 0; transform: translateY(40px); }
.lg-made b { margin-top: 18px; font-size: 1.5em; letter-spacing: -0.02em; background: linear-gradient(90deg, #fff, var(--on-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-made span { font-size: .4em; font-weight: 700; color: var(--on-dark); letter-spacing: -0.02em; }
.made .lg-made { opacity: 1; transform: none; }
.lg-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.logrit .kicker { color: var(--on-dark); }
.lg-title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; line-height: 1.42; letter-spacing: -0.045em; }
.lg-title em { color: var(--on-dark); }
.lg-desc { margin-top: 18px; font-size: 16px; color: #b9bfdc; }
.lg-steps { margin-top: 34px; display: grid; gap: 6px; }
.lg-steps li { display: grid; grid-template-columns: 110px 60px 1fr; align-items: baseline; gap: 10px; padding: 12px 18px; border-radius: 14px; color: #6d7396; transition: background .4s, color .4s; }
.lg-steps b { font-size: 16px; font-weight: 800; letter-spacing: .04em; }
.lg-steps span { font-size: 14px; font-weight: 700; }
.lg-steps small { font-size: 14px; opacity: 0; transition: opacity .4s; }
.lg-steps li.on { background: rgba(168, 183, 255, .12); color: #fff; }
.lg-steps li.on b { color: var(--on-dark); }
.lg-steps li.on small { opacity: 1; color: #c9cee6; }
.phone-wrap { display: flex; flex-direction: column; align-items: center; }
.phone { position: relative; width: min(300px, 32vh); aspect-ratio: 9 / 19; border-radius: 44px; background: #05060c; padding: 12px; box-shadow: 0 0 0 2px #2a3157, 0 60px 120px -40px rgba(0, 0, 0, .8), 0 0 120px -30px rgba(120, 140, 255, .35); }
.notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 20px; background: #05060c; z-index: 3; }
.screens { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #f4f5fb; }
.scr { position: absolute; inset: 0; padding: 52px 16px 16px; color: #1b1d2b; font-size: 12px; line-height: 1.5; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.scr.on { opacity: 1; transform: none; }
.app-top { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.app-top em { margin-left: auto; font-size: 11px; font-weight: 600; color: #8a8fa6; }
.app-logo { width: 24px; height: 24px; border-radius: 7px; background: #4f46e5; color: #fff; display: grid; place-items: center; font-size: 12px; }
.goal-card, .week-total, .timer { background: #4f46e5; color: #fff; border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.goal-card p, .week-total p, .timer p { font-size: 11px; opacity: .8; }
.goal-card b, .week-total b { font-size: 22px; font-weight: 800; }
.timer b { display: block; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.timer .bar { display: block; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .25); margin-top: 8px; }
.timer .bar i { display: block; height: 100%; border-radius: 5px; background: #fff; }
.todo { display: grid; gap: 7px; }
.todo li { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 10px 12px; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.todo li span { margin-left: auto; font-size: 11px; color: #8a8fa6; }
.todo i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.s-ma { background: #4f46e5; } .s-ko { background: #ef6c57; } .s-en { background: #22a77a; } .s-sc { background: #f0a630; } .s-so { background: #8b5cf6; }
.done-list li.done { color: #9aa0b8; text-decoration: line-through; }
.done-list li.done span { color: #22a77a; text-decoration: none; font-weight: 700; }
.week-chart { display: flex; align-items: flex-end; justify-content: space-between; height: 110px; padding: 12px 10px 0; background: #fff; border-radius: 14px; margin-bottom: 10px; }
.week-chart span { position: relative; width: 16px; height: calc(var(--v) * 78px); border-radius: 5px 5px 2px 2px; background: linear-gradient(#7c74f0, #4f46e5); margin-bottom: 20px; }
.week-chart i { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; font-style: normal; color: #8a8fa6; }
.subj-bars, .wrong ul { display: grid; gap: 8px; background: #fff; border-radius: 14px; padding: 12px 14px; }
.subj-bars li, .wrong li { display: grid; grid-template-columns: 52px 1fr 14px; align-items: center; gap: 8px; font-weight: 600; font-size: 11px; }
.subj-bars li { grid-template-columns: 30px 1fr; }
.subj-bars span, .wrong span { height: 7px; border-radius: 7px; background: #eceef7; }
.subj-bars i, .wrong i { display: block; height: 100%; border-radius: 7px; background: #4f46e5; }
.wrong p, .trend p { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.wrong b { font-size: 11px; color: #4f46e5; }
.note { margin-top: 12px; background: #fff; border-left: 3px solid #4f46e5; border-radius: 10px; padding: 12px 14px; font-size: 11.5px; color: #3a3d50; }
.note p { font-size: 11px; font-weight: 800; color: #4f46e5; margin-bottom: 4px; }
.trend { background: #fff; border-radius: 14px; padding: 14px; }
.trend svg { width: 100%; height: auto; }
.trend polyline { fill: none; stroke: #4f46e5; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.trend circle { fill: #fff; stroke: #4f46e5; stroke-width: 2.5; }
.trend-x { display: flex; justify-content: space-between; font-size: 10px; color: #8a8fa6; margin-top: 4px; }
.kpis { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpis div { background: #fff; border-radius: 14px; padding: 12px; }
.kpis p { font-size: 10.5px; color: #8a8fa6; }
.kpis b { font-size: 22px; font-weight: 800; color: #4f46e5; }
.phone-cap { margin-top: 18px; font-size: 12px; color: #6d7396; }
.lg-mcap, .lg-mo-head { display: none; }
.lg-close { padding: 120px 40px 160px; text-align: center; }
.lg-close p { font-size: clamp(28px, 3.4vw, 48px); font-weight: 800; line-height: 1.4; letter-spacing: -0.05em; }
.lg-close em { color: var(--on-dark); }

/* ---------- 11 ABOUT ---------- */
.about { padding: 160px 0; background: #fff; }
.about-grid { margin-top: 64px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.profile-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 24px; background: var(--blue-soft); box-shadow: 0 40px 80px -48px rgba(12, 18, 48, .5); }
.career { margin-top: 90px; padding: 40px 44px; border-radius: 24px; background: var(--paper); }
.career-label { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--blue); margin-bottom: 18px; }
.career ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.career li { position: relative; padding-left: 16px; font-size: 16px; font-weight: 500; line-height: 1.6; color: #2c3040; }
.career li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.talks { margin-top: 72px; }
.talks-label { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--blue); margin-bottom: 20px; }
.talks-grid { display: grid; grid-template-columns: 1.65fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.talk { position: relative; min-height: 0; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #e8e9ee; }
.talk img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.talk:hover img { transform: scale(1.04); }
/* 오른쪽 위 현수막(서울대학교)이 잘리지 않게 */
.talk-main { grid-row: span 2; aspect-ratio: 4 / 3; }
.talk-snu img { object-position: 100% 0; }
.about-photo figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); }
.about-photo figcaption b { color: var(--ink); font-size: 18px; margin-right: 4px; }
.about-photo figcaption span { display: block; margin-top: 4px; font-size: 14px; }
.about-last { margin-top: 10px; font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.45; letter-spacing: -0.04em; color: var(--ink); }
.about-last em { color: var(--blue); }
.about-lead { margin-top: 24px; max-width: 760px; color: #444857; font-weight: 500; }
.about-story { display: grid; gap: 18px; font-size: 18px; color: #3a3e4c; line-height: 1.85; }
.about-story strong { color: var(--ink); background: linear-gradient(transparent 62%, rgba(51, 80, 201, .16) 62%); }

/* ---------- 12 FINAL ---------- */
/* ---------- 핵심 서비스 ---------- */
.services { padding: 160px 0; background: var(--paper); }
.svc-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { display: flex; flex-direction: column; padding: 36px 32px 34px; border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -44px rgba(12, 18, 48, .3); transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .9s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(12, 18, 48, .35); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-no { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--blue); }
.svc-ic { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.svc-ic svg { width: 22px; height: 22px; }
.svc h3 { margin-top: 22px; font-size: clamp(22px, 2vw, 26px); font-weight: 800; letter-spacing: -0.045em; color: var(--ink); }
.svc .tags { margin-top: 16px; gap: 6px; }
.svc .tags li { font-size: 13px; padding: 5px 12px; }
.svc-main { background: linear-gradient(160deg, var(--navy), var(--ink)); }
.svc-main .svc-no { color: var(--on-dark); }
.svc-main .svc-ic { background: rgba(255, 255, 255, .1); color: #fff; }
.svc-main h3 { color: #fff; }
.svc-main .tags li { border-color: rgba(255, 255, 255, .2); color: #c9cee6; }
.svc-link { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #fff; }
.svc:nth-child(3n+2) { transition-delay: .08s; } .svc:nth-child(3n) { transition-delay: .16s; }

.final { padding: 170px 0 140px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(120, 140, 255, .22), transparent 65%); pointer-events: none; }
.final .inner { position: relative; }
.final-title { text-align: center; font-size: clamp(32px, 4.2vw, 60px); font-weight: 800; line-height: 1.3; letter-spacing: -0.05em; }
.final-flow { margin: 72px auto 0; max-width: 640px; display: grid; gap: 10px; text-align: center; }
.final-flow li { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; color: #aab0cc; }
.final-flow li.last { margin-top: 10px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; color: #fff; }
.final-flow li.last::after { content: ""; display: block; width: 60px; height: 3px; margin: 18px auto 0; background: var(--on-dark); border-radius: 3px; }
.diag-box { margin-top: 110px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding: 56px; border-radius: 30px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(168, 183, 255, .25); }
.diag-lead { font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.5; letter-spacing: -0.04em; }
.diag-lead strong { font-weight: 800; }
.diag-not { margin-top: 18px; font-size: 16px; color: #aab0cc; }
.diag-list { margin-top: 22px; display: grid; gap: 10px; }
.diag-list li { position: relative; padding-left: 30px; font-size: 17px; font-weight: 700; }
.diag-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--on-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230c1230' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.diag-with { margin-top: 18px; font-size: 16px; color: #c9cee6; }
.diag-action { display: flex; flex-direction: column; align-items: stretch; text-align: center; }
.diag-meta { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.diag-meta span { font-size: 15px; color: #aab0cc; }
.diag-meta b { font-size: 26px; font-weight: 800; }
.diag-small { margin-top: 14px; font-size: 13px; color: #8d93b2; }
.final-sign { margin-top: 140px; text-align: center; }
.final-sign strong { display: block; font-size: clamp(28px, 3.6vw, 52px); font-weight: 800; line-height: 1.35; letter-spacing: -0.05em; }
.final-sign span { display: inline-block; margin-top: 22px; font-size: 18px; font-weight: 800; color: var(--on-dark); letter-spacing: -0.03em; }

/* ---------- FOOTER ---------- */
.site-footer { background: #070a1d; color: #8d93b2; padding: 70px 0 60px; font-size: 14px; }
.ft-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid #1c2140; }
.ft-logo { width: 220px; filter: brightness(0) invert(1); opacity: .9; }
.ft-contact { margin-top: 24px; display: grid; gap: 6px; }
.ft-contact a { color: #c9cee6; font-weight: 600; }
.ft-contact a:hover { color: #fff; }
.ft-label { font-weight: 800; color: #fff; margin-bottom: 8px; }
.map-link img { display: block; margin-top: 16px; border-radius: 14px; width: 100%; height: auto; }
.ft-info { margin-top: 32px; display: grid; gap: 4px; font-size: 13px; }
.ft-info span::before { content: "|"; margin: 0 10px; color: #2d3358; }
.copy { margin-top: 12px; color: #5c6286; }

/* ---------- 빠른 연락 / 모바일 CTA ---------- */
.quickbar { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 4px; padding: 8px; border-radius: 40px; background: rgba(12, 18, 48, .92); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .4s; }
.quickbar.show { opacity: 1; pointer-events: auto; }
.quickbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 58px; padding: 10px 0 8px; border-radius: 30px; font-size: 11px; font-weight: 600; color: #fff; transition: background .2s; }
.quickbar a:hover { background: rgba(255, 255, 255, .1); }
.quickbar .q-main { background: var(--blue); }
.qi { width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; }
.qi-tel { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 013 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.qi-talk { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 2.8 1.8 5.3 4.6 6.7L5.7 21l3.9-2.6c.8.1 1.6.2 2.4.2 5.5 0 10-3.6 10-8s-4.5-8-10-8z'/%3E%3C/svg%3E"); }
.qi-diag { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h3'/%3E%3C/svg%3E"); }
.m-cta { display: none; }

/* 라이트박스 / 토스트 */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; background: rgba(5, 7, 16, .9); animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lb-body { width: min(560px, 100%); max-height: 78vh; display: flex; justify-content: center; }
.lb-body > * { max-height: 78vh; width: auto; max-width: 100%; cursor: default; }
.lb-body .ph { width: min(480px, 100%); transform: none !important; }
.lb-cap { margin-top: 16px; color: #c9cee6; font-size: 14px; }
.lb-close { position: absolute; top: 16px; right: 20px; font-size: 38px; line-height: 1; color: #fff; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); z-index: 90; padding: 12px 22px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); animation: fade .25s; }
.toast[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }

/* ---------- 태블릿 ---------- */
@media (max-width: 1080px) {
  .gnb { gap: 22px; font-size: 15px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .iv-process { grid-template-columns: repeat(4, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .loop { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .loop li:nth-child(4)::before, .loop li:nth-child(4)::after { display: none; }
  .quickbar { display: none; }
}

/* ---------- 모바일 ---------- */
@media (max-width: 860px) {
  :root { --head: 60px; }
  .inner { padding: 0 20px; }
  .pc { display: none; }
  .mo { display: inline; }
  body { padding-bottom: 76px; }

  .header-cta { display: none; }
  .logo { font-size: 18px; }
  .logo img { height: 22px; }
  .menu-btn { display: block; margin-left: auto; width: 40px; height: 40px; position: relative; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 10px; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
  .menu-btn span { top: 19px; }
  .menu-btn span::before, .menu-btn span::after { content: ""; left: 0; }
  .menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
  .nav-open .menu-btn span { background: transparent; }
  .nav-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
  .gnb { position: fixed; top: var(--head); left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 24px; background: #fff; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .gnb a { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .gnb a::after { display: none; }
  .nav-open .gnb { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open .site-header { background: #fff; color: var(--ink); }

  .btn-lg { height: 58px; font-size: 16px; padding: 0 24px; }

  .hero { min-height: 0; padding: calc(var(--head) + 20px) 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; }
  .hv { height: auto; aspect-ratio: 1 / 1; border-radius: 22px; }
  .hv-label { font-size: 11px; padding: 4px 8px; transform: translate(12px, -50%); }
  .hv-label.l { transform: translate(calc(-100% - 12px), -50%); }
  .hv-goal { font-size: 12px; padding: 6px 10px; margin-left: -20px; }
  .hv-chip-a { width: 158px; padding: 10px 12px 12px; left: 4%; top: 5%; }
  .hv-chip-top { font-size: 10px; gap: 6px; }
  .hv-chip-top b { font-size: 9px; }
  .hv-chip-num { font-size: 22px; }
  .hv-chip-b { right: 4%; bottom: 5%; padding: 10px 12px 10px 10px; gap: 8px; }
  .hv-up { width: 30px; height: 30px; border-radius: 9px; }
  .hv-chip-b b { font-size: 14px; }
  .hv-chip-b small { font-size: 10px; }
  .hero-title { font-size: 29px; }
  .hero-title span { white-space: normal; }
  .hero-desc { font-size: 15.5px; margin-top: 22px; }
  .hero-actions { margin-top: 30px; gap: 18px; }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { display: none; }

  .problem-lines { margin-top: 30px; gap: 12px; }
  .problem-lines li { padding-left: 36px; font-size: 16px; }
  .problem-question { inset: 0 20px; }

  .philosophy { padding: 110px 0 0; }
  .philo-body { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .philo-text { font-size: 16px; }
  .philo-q { padding-left: 0; border-left: 0; margin-top: 16px; }
  .q-list li { padding: 18px 0 18px 46px; }
  .q-list li::before { top: 18px; }
  .q-list b { font-size: 17.5px; }
  .q-list span { font-size: 15px; }
  .growth-scrub { --h: 170vh !important; }
  .growth-scrub .stage { padding: 60px 0 74px; }
  .growth-head { margin-bottom: 18px; }
  .growth-title { font-size: 24px; }
  .growth-path { grid-template-columns: 1fr; gap: 0; text-align: left; max-width: 300px; margin: 0 auto; }
  .growth-path::before, .growth-path::after { top: 20px; left: 18.5px; width: 3px; }
  .growth-path::before { right: auto; bottom: 20px; }
  .growth-path::after { height: calc((100% - 40px) * var(--fill)); width: 3px; transition: height .6s var(--ease); }
  .growth-path li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; padding: 4px 0; }
  .growth-path .dot { width: 40px; height: 40px; margin: 0; }
  .growth-path .dot::after { inset: 10px; }
  .growth-path small { width: 100%; max-width: none; padding-left: 56px; margin-top: -12px; font-size: 13.5px; }
  .growth-path b { font-size: 18px; }
  .growth-note { margin-top: 20px; font-size: 17px; }

  .method { padding: 110px 0 100px; }
  .method-grid { grid-template-columns: 1fr; gap: 36px; }
  .aside-sticky { position: static; }
  .method-nav { display: none; }
  .method-steps { gap: 16px; }
  .m-step { min-height: 0; padding: 30px 24px; border-radius: 20px; }
  .m-step p { font-size: 15.5px; }

  .score, .record, .about { padding: 110px 0; }
  .stat-grid { gap: 12px; margin-top: 40px; }
  .stat { padding: 22px 18px; border-radius: 18px; }
  .stat-after { font-size: 38px; }
  .stat-after small { font-size: 14px; }
  .stat-before { font-size: 14px; margin-top: 10px; }
  .stat-label + .stat-after { margin-top: 33px; }
  .why { margin-top: 80px; }
  .loop { grid-template-columns: 1fr; max-width: 340px; gap: 30px; }
  .loop li { padding: 16px; }
  .loop li:nth-child(4)::before, .loop li:nth-child(4)::after { display: block; }
  .loop li + li::before { left: 50%; top: -24px; width: 2px; height: 12px; }
  .loop li + li::after { left: calc(50% - 4px); top: -15px; border: 5px solid transparent; border-top-color: var(--blue); border-bottom: 0; }
  .causes { padding: 22px 16px; }
  .causes li { font-size: 14px; padding: 6px 14px; }

  .ba { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .ba-col { padding: 30px 22px; }
  .ba-turn { max-width: none; }
  .ba-example { margin-top: 28px; padding: 30px 22px; }
  .ex-steps li { padding: 16px 18px; font-size: 15.5px; }
  .dots-line { padding: 90px 0 80px; }
  .dl-copy { margin-top: 36px; }

  .iv-q, .iv-end { inset: 0 20px; }
  .iv-body { padding: 20px 20px 110px; }
  .iv-process { grid-template-columns: 1fr 1fr; }
  .iv-process li:last-child { grid-column: 1 / -1; }
  .iv-close { margin-top: 60px; }


  .lg-made { inset: 0 20px; }
  .lg-scrub .stage { align-items: flex-start; padding-top: calc(var(--head) + 8px); }
  .lg-grid { grid-template-columns: 1fr; gap: 14px; }
  .lg-text .kicker, .lg-title, .lg-desc { display: none; }
  .lg-steps { margin-top: 0; display: flex; gap: 4px; justify-content: space-between; }
  .lg-steps li { display: block; flex: 1; padding: 8px 2px; text-align: center; border-radius: 10px; }
  .lg-steps b { display: block; font-size: 10.5px; letter-spacing: 0; }
  .lg-steps span { font-size: 12px; }
  .lg-steps small { display: none; }
  .lg-mo-head { display: block; padding-top: 40px; padding-bottom: 10px; }
  .lg-mo-head .kicker, .lg-mo-head .lg-title, .lg-mo-head .lg-desc { display: block; }
  .phone-cap { display: none; }
  .lg-mcap { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: #c9cee6; min-height: 3em; padding: 0 10px; }
  .phone { width: min(250px, 30vh, 64vw); border-radius: 36px; padding: 9px; }
  .screens { border-radius: 28px; }
  .notch { top: 15px; width: 66px; height: 18px; }
  .scr { padding: 42px 12px 12px; font-size: 11px; transform-origin: top center; }
  .lg-close { padding: 80px 20px 110px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .profile-img { max-height: 520px; }
  .career { margin-top: 56px; padding: 28px 22px; }
  .career ul { grid-template-columns: 1fr; gap: 10px; }
  .career li { font-size: 15px; }
  .talks { margin-top: 56px; }
  .talks-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; }
  .talk { aspect-ratio: 4 / 3; }
  .talk-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .about-story { font-size: 16px; }

  .services { padding: 110px 0; }
  .svc-grid { margin-top: 40px; grid-template-columns: 1fr; gap: 12px; }
  .svc { padding: 26px 22px; border-radius: 20px; }
  .svc h3 { margin-top: 14px; font-size: 20px; }
  .svc-ic { width: 40px; height: 40px; border-radius: 12px; }
  .svc-ic svg { width: 20px; height: 20px; }
  .final { padding: 120px 0 100px; }
  .final-flow { margin-top: 48px; }
  .diag-box { grid-template-columns: 1fr; padding: 32px 22px; gap: 30px; margin-top: 70px; border-radius: 24px; }
  .diag-list li { font-size: 16px; }
  .final-sign { margin-top: 90px; }

  .site-footer { padding: 56px 0 40px; }
  .ft-top { grid-template-columns: 1fr; gap: 32px; }
  .ft-info span { display: block; }
  .ft-info span::before { display: none; }

  .m-cta { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 rgba(12, 18, 48, .08); }
  .m-cta a { flex: 1; height: 54px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-size: 16px; font-weight: 700; }
  .m-cta .qi { width: 20px; height: 20px; }
  .m-talk { background: #fee500; color: #191919; }
  .m-tel { background: var(--navy); color: #fff; }
  .toast { bottom: 96px; }
}

/* 움직임 줄이기: 고정 무대를 풀고 모든 내용을 바로 보여 줌 */
@media (prefers-reduced-motion: reduce) {
  .hv-path { stroke-dashoffset: 0; }
  .hv-node, .hv-end, .hv-glow, .hv-label, .hv-goal, .hv-chip { opacity: 1; transform: none; animation: none !important; }
  .hv-label { transform: translate(18px, -50%); }
  .hv-label.l, .hv-goal { transform: translate(-100%, -50%); }
  .hv-bar i { width: 91%; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scrub { height: auto !important; }
  .stage { position: static; height: auto; padding: 120px 0; }
  .problem-lines li { opacity: 1; transform: none; }
  .problem-question, .iv-q, .iv-end, .lg-made { position: static; opacity: 1; transform: none; filter: none; margin-top: 40px; }
  .problem-question .q, .problem-question .a { opacity: 1; transform: none; }
  .iv-stage, .lg-intro, .problem-stage { flex-direction: column; }
  .growth-path { --fill: 1 !important; }
  .growth-path li .dot { border-color: var(--blue); }
  .growth-note { opacity: 1; }
  .dots-line { --p: 1 !important; }
  .dl-dots circle { opacity: 1; }
  .scr { position: relative; display: none; }
  .scr:first-child { display: block; opacity: 1; transform: none; }
}

/* ---------- 진단 신청 퍼널 ---------- */
.funnel-page { background: var(--paper); padding-bottom: 0; }
.funnel-page .site-header .inner { max-width: 760px; }
.fn-home { margin-left: auto; font-size: 15px; font-weight: 600; color: var(--muted); }
.fn-home:hover { color: var(--ink); }
.fn-progress { position: fixed; top: var(--head); left: 0; right: 0; z-index: 49; height: 3px; background: rgba(12, 18, 48, .06); }
.fn-progress i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .5s var(--ease); }
.funnel { min-height: 100vh; min-height: 100svh; padding: calc(var(--head) + 64px) 20px 140px; }
#diag-form { max-width: 640px; margin: 0 auto; }
.fn-step { display: none; }
.fn-step.active { display: block; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(18px); } }
.fn-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.35; letter-spacing: -0.045em; }
.fn-desc { margin-top: 18px; font-size: 17px; color: #444857; }
.fn-checks { margin-top: 22px; }
.fn-checks li { color: var(--ink); }
.fn-meta { margin-top: 36px; display: grid; grid-template-columns: 1fr; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.fn-meta div { padding: 20px; text-align: center; }
.fn-meta div + div { border-left: 1px solid var(--line); }
.fn-meta dt { font-size: 13px; color: var(--muted); }
.fn-meta dd { margin-top: 2px; font-size: 19px; font-weight: 800; }
.fn-hint { margin-top: 18px; font-size: 14px; color: var(--muted); }
.fn-start { margin-top: 36px; width: 100%; }
.fn-no { font-size: 14px; font-weight: 800; letter-spacing: .08em; color: var(--blue); }
.fn-no span { color: #b6bac8; }
.fn-q { margin-top: 10px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.35; letter-spacing: -0.045em; }
.fn-sub { margin-top: 10px; font-size: 16px; color: var(--muted); }
.chips { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 22px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); font-size: 17px; font-weight: 700; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.chips label:hover span { border-color: #b7bfdc; }
.chips input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--navy); }
.chips input[type=checkbox]:checked + span::before { content: "✓"; margin-right: 8px; color: var(--blue); }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.fields { margin-top: 28px; display: grid; gap: 14px; }
.field { display: grid; gap: 8px; }
.field > span, .field-label { font-size: 15px; font-weight: 700; color: #3a3e4c; }
.field-label { margin-top: 26px; }
.field-label + .chips { margin-top: 12px; }
.field b, .field-label b, .check-line b { color: var(--blue); }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--text); transition: border-color .2s; }
.field textarea { resize: vertical; line-height: 1.6; min-height: 180px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field input:disabled { background: #eceae4; color: #9a9da8; }
.field input::placeholder, .field textarea::placeholder { color: #a5a8b4; }
.field-area { margin-top: 28px; }
.fn-step .chips + .field { margin-top: 12px; }
.check-line { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 16px; font-weight: 600; }
.check-line input { width: 22px; height: 22px; accent-color: var(--blue); }
.agree { margin-top: 30px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.agree .check-line { margin-top: 0; }
.agree details { margin-top: 10px; font-size: 14px; color: var(--muted); }
.agree summary { cursor: pointer; font-weight: 600; }
.agree ul { margin-top: 10px; display: grid; gap: 4px; padding-left: 4px; }
.form-msg { min-height: 1.6em; margin-top: 20px; font-size: 15px; font-weight: 600; }
.form-msg.err { color: #d0423a; }
.form-msg.ok { color: var(--blue); }
.fn-nav { margin-top: 12px; display: flex; gap: 10px; }
.fn-prev { height: 56px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: #555a69; }
.fn-prev:hover { border-color: var(--ink); color: var(--ink); }
.fn-nav .btn { flex: 1; }
.fn-submit { display: none; }
body[data-step="0"] .fn-nav, body[data-step="7"] .fn-nav, body[data-step="1"] .fn-next { display: none; }
body[data-step="6"] .fn-next { display: none; }
body[data-step="6"] .fn-submit { display: inline-flex; }
.fn-done { text-align: center; padding-top: 40px; }
.done-mark { width: 84px; height: 84px; margin: 0 auto 28px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/48px no-repeat; box-shadow: 0 0 0 12px var(--blue-soft); }
.fn-done-actions { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 20px; }

@media (max-width: 860px) {
  .funnel { padding: calc(var(--head) + 36px) 20px 120px; }
  .fn-meta { grid-template-columns: 1fr; }
  .fn-meta div { padding: 16px 6px; }
  .fn-meta dd { font-size: 16px; }
  .chips-grid { grid-template-columns: repeat(2, 1fr); }
  .chips { gap: 8px; }
  .chips span { min-height: 52px; padding: 0 16px; font-size: 16px; }
  .fn-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; margin: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 243, 238, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 rgba(12, 18, 48, .08); }
  .fn-nav .btn { height: 54px; font-size: 16px; padding: 0 12px; }
  .fn-prev { height: 54px; padding: 0 18px; }
  .form-msg { margin-top: 16px; }
}
