/* 커리어인사이트 v3 (2026-10 리디자인)
   방향: "현장 기록지" — 따뜻한 종이색 위 잉크 네이비, 구리빛 포인트 하나.
   카드 대신 괘선(hairline)·큰 숫자·아치 사진으로 섹션마다 리듬을 바꾼다. */

/* Pretendard v1.3.9 (SIL OFL) — CSP가 외부 글꼴을 막으므로 사이트 안에 둔다. KS X 1001 서브셋 */
@font-face { font-family: "Pretendard"; font-weight: 300; font-display: swap; src: url("fonts/Pretendard-Light.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("fonts/Pretendard-Regular.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-display: swap; src: url("fonts/Pretendard-Medium.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-display: swap; src: url("fonts/Pretendard-SemiBold.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("fonts/Pretendard-Bold.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 800; font-display: swap; src: url("fonts/Pretendard-ExtraBold.subset.woff2") format("woff2"); }

:root {
  --ink: #10263a;
  --ink-2: #2a3d50;
  --muted: #56636f;
  --paper: #f7f3ec;
  --paper-2: #efe7da;
  --white: #fffdf9;
  --line: #d9cfbf;
  --copper: #b56a2a;
  --copper-ink: #8c4f1a;
  --gold: #e8bd72;
  --sage: #e5eae1;
  --sage-ink: #2f4a3a;
  --navy-line: rgba(255,255,255,.16);
  --kakao: #fee500;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: 24px;
  color-scheme: light;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px; line-height: 1.7; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.035em; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 112px 0; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--copper-ink); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 18px; color: var(--muted); margin-top: 20px; max-width: 34em; }
.tag { font-size: 14px; font-weight: 700; color: var(--copper-ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f0cb88; }
.btn-ghost-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }
.btn-kakao { background: var(--kakao); color: #191600; }
.btn-kakao svg { width: 22px; height: 22px; fill: currentColor; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); min-height: 48px; font-size: 15px; }
.btn-line:hover { background: var(--ink); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,243,236,.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(16,38,58,.4); }
#navigation a[aria-current="true"]:not(.nav-contact) { color: var(--ink); box-shadow: inset 0 -2px 0 var(--copper); border-radius: 0; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -0.04em; }
/* 심벌: 한 칸씩 오르는 계단(커리어 성장) + 끝에서 빛나는 점(인사이트). 글자색은 기존 CI(네이비 × 골드)를 따름 */
.brand b { font-weight: 800; color: var(--copper-ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark .bg { fill: var(--ink); }
#navigation { display: flex; align-items: center; gap: 6px; }
#navigation a { text-decoration: none; font-size: 16px; font-weight: 600; color: var(--ink-2); padding: 10px 14px; border-radius: 999px; }
#navigation a:hover { background: var(--paper-2); }
#navigation .nav-contact { background: var(--ink); color: #fff; margin-left: 8px; padding: 10px 20px; }
#navigation .nav-contact:hover { background: #1d3a54; }
.menu-toggle { display: none; }

/* Hero */
.hero { padding: 56px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; }
.hero-copy { padding-bottom: 40px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.16; font-weight: 800; letter-spacing: -0.05em; }
.hero h1 em { font-style: normal; color: var(--copper); }
.hero-intro { margin-top: 28px; font-size: 19px; max-width: 30em; color: var(--ink-2); }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; max-width: 600px; }
.path { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 20px 56px 20px 22px; border-radius: var(--radius); text-decoration: none; transition: transform .15s; }
.path:hover { transform: translateY(-2px); }
.path small { font-size: 14px; font-weight: 600; opacity: .8; }
.path strong { font-size: 17px; line-height: 1.4; }
.path .icon { position: absolute; right: 20px; top: 50%; translate: 0 -50%; }
.path-org { background: var(--ink); color: #fff; }
.path-person { background: var(--sage); color: var(--sage-ink); box-shadow: inset 0 0 0 1px #cfd8c9; }
.hero-portrait { margin: 0; position: relative; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; background: #c9c9c7; aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero-portrait figcaption { position: absolute; left: -36px; bottom: 32px; background: var(--white); padding: 16px 22px; border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(16,38,58,.35); display: grid; gap: 1px; }
.hero-portrait strong { font-size: 20px; color: var(--ink); }
.hero-portrait span { font-size: 15px; font-weight: 600; }
.hero-portrait small { font-size: 14px; color: var(--muted); }
.hero-portrait small.ex { margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 2px solid var(--ink); }
.ledger div { padding: 28px 28px 36px 0; display: flex; align-items: baseline; gap: 18px; }
.ledger div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.ledger dt { font-size: 52px; font-weight: 800; color: var(--ink); letter-spacing: -0.05em; line-height: 1; }
.ledger dt i { font-style: normal; font-size: 20px; font-weight: 700; margin-left: 2px; }
.ledger dd { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.45; }

/* Field / trust (dark) */
.field { background: var(--ink); color: #dfe6ec; padding: 0 0 104px; }
.trust { display: grid; grid-template-columns: auto auto; justify-content: start; margin: 0; border-bottom: 1px solid var(--navy-line); }
.trust div { padding: 26px 32px 26px 0; }
.trust div + div { padding-left: 32px; border-left: 1px solid var(--navy-line); }
.trust dt { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.trust dd { margin: 0; font-size: 17px; font-weight: 600; color: #fff; line-height: 1.5; }
.field-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; padding-top: 96px; align-items: start; }
.field-hero { margin: 0; }
.field-hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.field-hero figcaption { margin-top: 12px; font-size: 15px; color: #a9b7c3; }
.field-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.field h2 { color: #fff; font-size: clamp(30px, 3.2vw, 40px); }
.text-link { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; color: var(--gold); text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.stories li + li { border-top: 1px solid var(--navy-line); }
.stories a { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 16px 0; text-decoration: none; }
.stories img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.stories em { display: block; font-style: normal; font-size: 14px; color: #a9b7c3; }
.stories strong { display: block; font-size: 17px; color: #fff; line-height: 1.45; }
.stories a:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.stories img { transition: transform .3s; }
.stories a:hover img { transform: scale(1.04); }
.field-hero { position: relative; }

/* Programs (index list) */
.programs { padding-bottom: 0; }
.programs-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.programs-intro { position: sticky; top: 112px; }
.programs h2 { font-size: clamp(34px, 4vw, 52px); }
.download { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; max-width: 400px; }
.download:hover { border-color: var(--ink); }
.download strong { display: block; color: var(--ink); font-size: 17px; }
.download small { display: block; font-size: 14px; color: var(--muted); }
.download .icon { color: var(--copper); width: 24px; height: 24px; }
.program-list { border-top: 2px solid var(--ink); }
.program { display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.program .no { font-size: 30px; font-weight: 300; color: var(--copper); line-height: 1.1; font-variant-numeric: tabular-nums; }
.program h3 { font-size: 25px; margin-top: 4px; }
.program .line { margin-top: 6px; font-size: 17px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.facts span { font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--paper-2); padding: 5px 12px; border-radius: 999px; }
.program details { margin-top: 14px; }
.program summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--ink); list-style: none; padding: 4px 0; }
.program summary::-webkit-details-marker { display: none; }
.program summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--copper); line-height: 1; }
.program details[open] summary::after { content: "–"; }
.program details ol { counter-reset: step; margin-top: 10px; display: grid; gap: 4px; }
.program details ol li { counter-increment: step; font-size: 16px; padding-left: 30px; position: relative; }
.program details ol li::before { content: counter(step); position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.note { margin-top: 10px; font-size: 15px; color: var(--muted); }
.note b { color: var(--ink); margin-right: 4px; }
.program-plus { border-bottom: 0; }
.program-plus .no { font-weight: 400; }
.plus { margin-top: 4px; font-size: 16px; }
.plus strong { color: var(--ink); font-size: 19px; display: block; }

.program-plus .facts { margin-top: 10px; }

/* Restart feature */
.restart { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; border-radius: 20px; background: #1b3a52; color: #dfe6ec; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.restart-copy { padding: 52px 48px; }
.restart .tag { color: var(--gold); }
.restart h3 { color: #fff; font-size: clamp(28px, 3vw, 36px); margin-top: 12px; }
.restart h3 em { font-style: normal; color: var(--gold); }
.restart-copy > p { margin-top: 18px; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.restart-steps { counter-reset: r; background: rgba(0,0,0,.18); padding: 44px 44px; display: grid; align-content: center; }
.restart-steps li { counter-increment: r; position: relative; padding: 18px 0 18px 56px; }
.restart-steps li + li { border-top: 1px solid var(--navy-line); }
.restart-steps li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-size: 22px; font-weight: 300; color: var(--gold); }
.restart-steps b { display: block; color: #fff; font-size: 18px; }
.restart-steps span { display: block; font-size: 15px; color: #b9c6d1; }

/* Voices */
.voices { background: var(--paper); }
.voices-head .kicker { margin-bottom: 12px; }
.voices-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 28px; border-bottom: 2px solid var(--ink); }
.voices h2 { font-size: clamp(30px, 3.4vw, 42px); }
.voices-head p { color: var(--muted); font-size: 16px; }
.voice-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.voice { margin: 0; padding: 40px 36px 40px 0; display: flex; flex-direction: column; }
.voice + .voice { padding-left: 36px; border-left: 1px solid var(--line); }
.stat { font-size: 88px; font-weight: 800; color: var(--copper); line-height: 1; letter-spacing: -0.06em; min-height: 88px; display: flex; align-items: flex-end; }
.stat span { font-size: 40px; margin-left: 2px; line-height: 1.3; }
.stat-text { font-size: 44px; line-height: 1.1; letter-spacing: -0.05em; padding-bottom: 6px; }
.stat-label { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--ink); }
.voice blockquote { margin: 24px 0 0; font-size: 19px; line-height: 1.6; color: var(--ink); font-weight: 500; flex: 1; }
.voice figcaption { margin-top: 20px; font-size: 14px; color: var(--muted); }
.voice figcaption b { display: block; color: var(--ink-2); font-size: 15px; }
.murmurs { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.murmurs li { font-size: 16px; color: var(--ink-2); }
.murmurs li::before { content: "“"; color: var(--copper); font-weight: 800; margin-right: 2px; }
.murmurs li::after { content: "”"; color: var(--copper); font-weight: 800; margin-left: 2px; }

/* Personal (sage) */
.personal { background: var(--sage); }
.personal .kicker { color: var(--sage-ink); }
.personal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.personal h2 { font-size: clamp(30px, 3.4vw, 42px); }
.personal .lead { color: #4a5c50; }
.birkman-def { margin-top: 32px; font-size: 16px; }
.birkman-def strong { color: var(--sage-ink); margin-right: 4px; }
.quad { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border-radius: var(--radius); overflow: hidden; gap: 2px; background: #c8d3c3; }
.quad li { background: #f3f6f1; padding: 18px 20px; font-size: 15px; color: #4a5c50; }
.quad b { display: block; font-size: 18px; color: var(--sage-ink); }
.birkman-visual { display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 24px; align-items: center; margin-top: 24px; }
.bmap { margin: 0; }
.bmap svg { display: block; width: 100%; height: auto; }
.bmap text { font-family: inherit; font-size: 15px; font-weight: 700; fill: var(--sage-ink); letter-spacing: -0.02em; }
.bmap .q text { fill: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.bmap figcaption { margin-top: 4px; text-align: center; font-size: 14px; color: #4a5c50; }
.birkman-visual .quad { grid-template-columns: 1fr; margin-top: 0; }
.quad b { display: flex; align-items: center; gap: 8px; }
.sym { width: 18px; height: 18px; flex: none; }
.map-note { margin-top: 14px; font-size: 15px; color: #4a5c50; }
.offers { display: grid; gap: 16px; padding-top: 40px; }
.offer { background: var(--white); border-radius: 18px; padding: 32px 32px 28px; }
.offer .tag { color: var(--sage-ink); }
.offer h3 { font-size: 25px; margin-top: 6px; }
.offer > p:not(.tag):not(.format) { margin-top: 10px; font-size: 16px; }
.format { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--sage-ink); padding-top: 14px; border-top: 1px dashed #c8d3c3; }
.row-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; }
.row-link:hover { color: var(--copper-ink); }

/* Coach */
.coach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.coach h2 { font-size: clamp(30px, 3.4vw, 42px); }
.coach-copy > p { margin-top: 22px; font-size: 18px; }
.coach blockquote { margin: 36px 0 0; padding-left: 22px; border-left: 3px solid var(--copper); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.coach-copy { position: relative; }
.coach-grid { position: relative; z-index: 0; }
.creds { margin: 0; border-top: 2px solid var(--ink); counter-reset: c; }
.creds div { counter-increment: c; display: grid; grid-template-columns: 1fr; padding: 20px 0 20px 48px; border-bottom: 1px solid var(--line); position: relative; transition: background .15s; }
.creds div::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-size: 15px; font-weight: 600; color: var(--copper); font-variant-numeric: tabular-nums; }
.creds div:hover { background: rgba(239,231,218,.5); }
.creds dt { font-size: 19px; font-weight: 700; color: var(--ink); }
.creds dd { margin: 2px 0 0; font-size: 16px; color: var(--muted); }

/* Process + FAQ */
.process { background: var(--white); }
.process h2 { font-size: clamp(28px, 3vw, 38px); }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.steps li { counter-increment: s; position: relative; padding-top: 52px; font-size: 16px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 17px; left: 44px; right: -16px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 2px; }
.faq-grid { display: grid; grid-template-columns: .5fr 1.5fr; gap: 48px; margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--line); }
.faq-title { font-size: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-size: 26px; font-weight: 300; color: var(--copper); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; font-size: 16px; color: var(--ink-2); max-width: 46em; }

/* Contact */
.contact { background: var(--ink); color: #dfe6ec; padding: 104px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.contact h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); }
.contact .lead { color: #b9c6d1; }
.contact .btn-kakao { margin-top: 32px; min-height: 60px; font-size: 18px; padding: 0 32px; }
.contact-links { margin-top: 28px; display: grid; gap: 4px; }
.contact-links a { display: flex; gap: 14px; align-items: baseline; text-decoration: none; color: #fff; font-size: 17px; padding: 6px 0; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-links span { font-size: 14px; color: var(--gold); font-weight: 700; min-width: 48px; }
.inquiry { background: var(--paper); color: var(--ink-2); border-radius: 20px; padding: 36px; }
.inquiry-title { font-size: 19px; font-weight: 700; color: var(--ink); }
.inquiry-template { margin-top: 16px; background: var(--white); border: 1px dashed var(--line); border-radius: 12px; padding: 18px 20px; font-size: 16px; }
.inquiry-template ul { margin-top: 8px; display: grid; gap: 4px; }
.inquiry-template li { border-bottom: 1px solid #eee6d9; padding-bottom: 4px; color: var(--muted); }
.inquiry .btn-line { margin-top: 16px; width: 100%; }
.copy-status { font-size: 15px; color: var(--sage-ink); margin-top: 8px; min-height: 0; }
.copy-status:empty { display: none; }
.inquiry-note { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* Footer */
.site-footer { background: #0b1c2b; color: #a9b7c3; padding: 40px 0 48px; }
.site-footer .brand { color: #fff; }
.site-footer .brand b { color: var(--gold); }
.site-footer .brand-mark .bg { fill: #1d3a54; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-top nav { display: flex; gap: 20px; }
.footer-top nav a { font-size: 15px; text-decoration: none; color: #dfe6ec; }
.footer-top nav a:hover { text-decoration: underline; }
.footer-meta { margin-top: 18px; font-size: 14px; }

/* Floating / mobile contact */
.floating-kakao { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: var(--kakao); color: #191600; font-weight: 700; font-size: 15px; text-decoration: none; padding: 14px 20px; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); transition: opacity .25s, transform .25s; }
.to-top { position: fixed; right: 24px; bottom: 88px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 0; background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 24px -12px rgba(16,38,58,.35); text-decoration: none; transition: opacity .25s, transform .25s, background .15s; }
.to-top .icon { width: 18px; height: 18px; }
.to-top span { font-size: 14px; font-weight: 700; line-height: 1; margin-top: 1px; }
.to-top:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
/* 첫 화면(수치 줄)을 가리지 않도록, 스크립트가 켜진 경우에만 히어로를 지나면 등장 */
.js .floating-kakao:not(.is-visible):not(:focus),
.js .to-top:not(.is-visible):not(:focus) { opacity: 0; transform: translateY(12px); pointer-events: none; }
.floating-kakao svg { width: 20px; height: 20px; fill: currentColor; }
.mobile-bar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .hero-grid { gap: 40px; }
  .hero-portrait figcaption { left: -20px; }
  .programs-grid, .personal-grid, .coach-grid, .contact-grid { gap: 48px; }
  .restart { width: auto; margin-left: var(--gutter); margin-right: var(--gutter); }
}

/* ---------- Mobile menu breakpoint (app.js uses 901px) ---------- */
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav-row { height: 64px; }
  html { scroll-padding-top: 72px; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); padding: 10px 4px 10px 12px; min-height: 44px; cursor: pointer; }
  .menu-icon { width: 20px; height: 2px; background: currentColor; position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
  .js #navigation { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; box-shadow: 0 16px 30px -20px rgba(16,38,58,.3); }
  .js #navigation.is-open { display: flex; }
  .js #navigation a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .js #navigation .nav-contact { margin: 12px 0 0; text-align: center; border-radius: 999px; border: 0; }
  #navigation { flex-wrap: wrap; }

  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 48px); }
  .hero-intro { font-size: 17px; margin-top: 18px; }
  .paths { grid-template-columns: 1fr; margin-top: 26px; gap: 10px; }
  .path { padding: 16px 52px 16px 18px; }
  .hero-portrait { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: end; }
  .arch { aspect-ratio: 3 / 4; }
  .hero-portrait figcaption { position: static; box-shadow: none; background: none; padding: 0 0 6px; }
  .ledger { margin-top: 28px; grid-template-columns: repeat(3, 1fr); }
  .ledger div { flex-direction: column; gap: 6px; padding: 18px 10px 24px 0; align-items: flex-start; }
  .ledger div + div { padding-left: 12px; }
  .ledger dt { font-size: 32px; }
  .ledger dt i { font-size: 15px; }
  .ledger dd { font-size: 14px; }

  .field { padding-bottom: 64px; }
  .trust { grid-template-columns: 1fr; }
  .trust div, .trust div + div { padding: 16px 0; border-left: 0; border-top: 0; }
  .trust div + div { border-top: 1px solid var(--navy-line); }
  .trust dd { font-size: 16px; }
  .field-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 56px; }
  .field-head { margin-bottom: 8px; flex-wrap: wrap; align-items: baseline; }
  .field h2 br { display: none; }
  .field h2 { font-size: 26px; }
  .stories a { grid-template-columns: 80px 1fr; gap: 14px; padding: 14px 0; }
  .stories img { width: 80px; height: 60px; }
  .stories strong { font-size: 16px; }

  .programs-grid { grid-template-columns: 1fr; gap: 28px; }
  .programs-intro { position: static; }
  .programs h2 br { display: none; }
  .programs h2 { font-size: 30px; }
  .lead { font-size: 16px; margin-top: 14px; }
  .download { margin-top: 20px; max-width: none; }
  .program { grid-template-columns: 40px 1fr; gap: 4px; padding: 18px 0; }
  .program .no { font-size: 22px; padding-top: 4px; }
  .program h3 { font-size: 20px; margin-top: 2px; }
  .program .line { font-size: 16px; }
  .facts { margin-top: 10px; gap: 6px; }
  .facts span { padding: 4px 10px; }
  .program details { margin-top: 8px; }
  .program details ol li { font-size: 15px; }
  .plus strong { font-size: 18px; }
  .plus { font-size: 15px; }
  .program h3 { font-size: 20px; margin-top: 2px; }

  .restart { margin: 48px var(--gutter) 0; width: auto; grid-template-columns: 1fr; border-radius: 18px; }
  .restart-copy { padding: 32px 22px 24px; }
  .restart h3 { font-size: 26px; }
  .restart-copy > p { font-size: 16px; }
  .actions .btn { flex: 1 1 auto; }
  .restart-steps { padding: 8px 22px 16px; }
  .restart-steps li { padding: 14px 0 14px 44px; }
  .restart-steps li::before { top: 14px; font-size: 18px; }
  .restart-steps b { font-size: 16px; }
  .restart-steps span { font-size: 14px; }

  .voices-head { flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 16px; }
  .voices h2 { font-size: 26px; }
  .voices-head p { font-size: 15px; }
  .voice-row { grid-template-columns: 1fr; }
  .voice, .voice + .voice { padding: 26px 0; border-left: 0; }
  .voice + .voice { border-top: 1px solid var(--line); }
  .voice { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .stat { font-size: 52px; min-height: 0; }
  .stat span { font-size: 24px; }
  .stat-text { font-size: 26px; padding: 0; grid-column: 1 / -1; }
  .stat-label { margin-top: 0; font-size: 14px; }
  .stat-text + .stat-label { grid-column: 1 / -1; margin-top: 6px; }
  .voice blockquote, .voice figcaption { grid-column: 1 / -1; }
  .voice blockquote { margin-top: 14px; font-size: 17px; }
  .voice figcaption { margin-top: 10px; }
  .murmurs { flex-direction: column; gap: 6px; padding-top: 18px; }
  .murmurs li { font-size: 15px; }

  .personal-grid { grid-template-columns: 1fr; gap: 28px; }
  .personal h2 { font-size: 26px; }
  .birkman-def { margin-top: 20px; font-size: 15px; }
  .birkman-visual { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
  .bmap { width: 100%; max-width: 300px; margin: 0 auto; }
  .birkman-visual .quad { grid-template-columns: 1fr 1fr; }
  .map-note { font-size: 14px; }
  .quad li { padding: 14px 14px; font-size: 14px; }
  .quad b { font-size: 16px; }
  .offers { padding-top: 0; gap: 12px; }
  .offer { padding: 24px 20px 20px; }
  .offer h3 { font-size: 21px; }
  .offer > p:not(.tag):not(.format) { font-size: 15px; }

  .coach-grid { grid-template-columns: 1fr; gap: 28px; }
  .coach h2 { font-size: 26px; }
  .coach-copy > p { font-size: 16px; margin-top: 16px; }
  .coach blockquote { margin-top: 24px; font-size: 18px; }
  .creds div { padding: 14px 0 14px 40px; }
  .creds div::before { top: 16px; font-size: 14px; }
  .creds dt { font-size: 17px; }
  .creds dd { font-size: 15px; }

  .process h2 { font-size: 24px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 28px; }
  .steps li { padding-top: 44px; font-size: 14px; }
  .steps li::before { width: 32px; height: 32px; font-size: 15px; }
  .steps li::after { display: none; }
  .steps b { font-size: 16px; }
  .faq-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 44px; padding-top: 28px; }
  .faq-title { font-size: 20px; }
  .faq summary { font-size: 16px; padding: 16px 36px 16px 0; }
  .faq details p { font-size: 15px; }

  .contact { padding: 72px 0 64px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact h2 { font-size: 28px; }
  .contact .btn-kakao { width: 100%; margin-top: 24px; }
  .contact-links a { font-size: 15px; }
  .inquiry { padding: 24px 20px; }
  .inquiry-template { font-size: 15px; padding: 14px 16px; }

  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .floating-kakao { display: none; }
  .to-top { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 56px; height: 56px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; 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(247,243,236,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; }
  .mobile-bar a:first-child { background: var(--ink); color: #fff; }
  .mobile-bar a:last-child { background: var(--kakao); color: #191600; }
}

@media (min-width: 600px) and (max-width: 900px) {
  .hero-portrait { grid-template-columns: 220px 1fr; }
  .paths { grid-template-columns: 1fr 1fr; }
  .voice-row { grid-template-columns: 1fr; }
  .stories { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .stories li + li { border-top: 0; }
  .stories li { border-bottom: 1px solid var(--navy-line); }
}

@media (max-width: 380px) {
  .ledger dt { font-size: 28px; }
  .hero-portrait { grid-template-columns: 112px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .path { transition: none; }
}
