/* jeonsooman.kr — site template (2026-10-04)
   Look: davidbornfriend.com 레퍼런스(본인 10/4) — 밝은 바탕 · 헤어라인 · 모노 라벨 · 큰 여백
   Content grid: 12 col · 글은 Figma 마스터(spNFRAZiXO9DfxLlQttqV3 / 6035:19666) 확정문 그대로 */

:root {
  --bg: #fafafa;
  --ink: #1a1a1c;
  --text: #4a4a4e;
  --muted: #737373;
  --line: #e4e4e4;
  --fig: #efeeec;
  --dark: #0d0f13;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .66);
  --line-dark: rgba(255, 255, 255, .16);
  --dot: #3aa76d;

  --maxw: 1312px;
  --pad: clamp(20px, 4.5vw, 64px);
  --gap: clamp(16px, 2vw, 24px);
  --header: 64px;

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Pretendard Variable", Pretendard, monospace;

  --sp-section: clamp(96px, 12vw, 176px);
  --sp-block: clamp(64px, 8vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, [tabindex]:focus-visible, button:focus-visible { outline: 2px solid #3b6cff; outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; padding: 8px 12px; background: var(--ink); color: #fff; font-size: 13px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* ── labels (mono, uppercase) ── */
.label, .mono {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.row-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 6vw, 88px);
}
.row-head .rule { width: 24px; height: 1px; background: currentColor; opacity: .6; }
.row-head .ink { color: var(--ink); }
.row-head > span { text-wrap: balance; }
.dash { display: flex; align-items: center; gap: 14px; }
.dash::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .7; }

/* ── site header (light · sticky · hairline) ── */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 250, 250, .88); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header); }
.site-header .brand { font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--ink); }
.site-header nav { display: flex; gap: clamp(18px, 3vw, 36px); }
.site-header nav a { font-weight: 500; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }

/* ── footer (mono · three slots) ── */
.site-footer { margin-top: var(--sp-section); border-top: 1px solid var(--line); }
.site-footer .foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 22px 0 26px; }
.site-footer .foot a:hover { color: var(--ink); }

/* ════════ home ════════ */
.hero { padding-top: clamp(28px, 6vh, 56px); }
.hero-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.hero-top .dash { white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.hero-body { margin-top: clamp(32px, 9vh, 120px); }
.hero-name { font-weight: 500; font-size: clamp(17px, .4vw + 15px, 21px); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.hero-title { margin-top: clamp(12px, 1.6vh, 20px); max-width: 16.6em; font-weight: 500; font-size: clamp(30px, 4.8vw, 76px); line-height: 1.16; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.hero-sub { margin-top: clamp(18px, 2.8vh, 30px); font-size: clamp(17px, .4vw + 14px, 20px); line-height: 1.6; color: var(--text); }
.hero-types { margin-top: 6px; max-width: 46em; font-size: clamp(14.5px, .25vw + 13px, 16px); line-height: 1.7; color: var(--muted); }

/* 대표 임팩트 — 멘토 Q24 ②·Q25 ②: 케이스마다 숫자 하나 · 카드별 세로 */
.impact { margin-top: clamp(32px, 5.5vh, 64px); border-top: 1px solid var(--line); }
.impact .row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 14px 0 15px; border-bottom: 1px solid var(--line); }
.impact .case { grid-column: 1 / 5; }
.impact .value { grid-column: 5 / 9; font-weight: 500; font-size: clamp(24px, 1.7vw + 12px, 36px); line-height: 1.2; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.impact .value .arrow { margin: 0 .22em; font-size: .62em; font-weight: 400; vertical-align: .16em; color: var(--muted); }
.impact .desc { grid-column: 9 / 13; font-size: 15px; line-height: 1.55; color: var(--text); }
.impact a.row:hover .desc, .impact a.row:focus-visible .desc { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* selected work — list rows */
.home-section { padding-top: var(--sp-section); }
.home-section > .wrap > .dash { margin-bottom: clamp(28px, 4vw, 48px); }
.works { border-top: 1px solid var(--line); }
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.work .w-idx { grid-column: 1 / 2; padding-top: 10px; }
.work .w-main { grid-column: 2 / 7; display: flex; flex-direction: column; gap: 10px; }
.work .w-title { font-weight: 500; font-size: clamp(26px, 1.6vw + 14px, 40px); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); }
.work .w-aka { margin-left: .5em; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); vertical-align: .35em; white-space: nowrap; }
.work .w-text { max-width: 30em; font-size: 16px; line-height: 1.75; color: var(--text); }
.work .w-meta { font-size: 14px; line-height: 1.6; color: var(--muted); }
.work .w-thumb { grid-column: 8 / 13; position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fig); }
.work .w-thumb.tbd-box { display: grid; place-items: center; }
.work .w-thumb img { position: absolute; left: 50%; top: 7%; width: auto; height: 86%; max-width: 92%; object-fit: contain; transform: translateX(-50%); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
a.work:hover .w-title, a.work:focus-visible .w-title { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
a.work:hover .w-thumb img { transform: translateX(-50%) scale(1.025); }
.work .w-thumb--dark { background: var(--dark); }
.work .w-thumb--bleed { background: var(--dark); }
.work .w-thumb--bleed img { left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; transform: none; }
/* 세로로 긴 화면(어드민 · 앱)은 위에서 내려와 아래로 잘리게 */
.work .w-thumb--peek img { top: 10%; height: auto; max-width: none; width: 58%; }
.work .w-thumb--peek.is-phone img { width: 34%; }
a.work:hover .w-thumb--bleed img { transform: scale(1.025); }
.work .w-more { margin-top: 6px; color: var(--ink); }
a.work:hover .w-more { text-decoration: underline; text-underline-offset: 4px; }

/* about block (home) + profile (about page) */
.about-grid { row-gap: 40px; }
.kvl { grid-column: 1 / 6; border-top: 1px solid var(--line); }
.kvl div { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.kvl dt { margin-bottom: 6px; }
.kvl dd { font-size: 16px; line-height: 1.6; color: var(--ink); }
.about-text { grid-column: 7 / 13; }
.about-text p { font-size: 17px; line-height: 1.8; color: var(--text); }
.about-text p + p { margin-top: 16px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.links a:hover { color: var(--ink); }

/* about page */
.page-title { margin-top: clamp(12px, 1.6vh, 20px); font-weight: 500; font-size: clamp(36px, 5.4vw, 84px); line-height: 1.12; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.page-title .en { display: block; letter-spacing: -.04em; }
.page-lede { margin-top: clamp(20px, 3vh, 32px); max-width: 38em; font-size: clamp(17px, .4vw + 14px, 20px); line-height: 1.7; color: var(--text); }
.cols3 { row-gap: 40px; }
.cols3 > div { grid-column: span 4; padding-top: 18px; border-top: 1px solid var(--line); }
.cols3 h2, .cols3 h3 { margin-bottom: 14px; font-weight: 500; font-size: 15px; line-height: 1.5; color: var(--ink); }
.cols3 h3.mono { font-weight: 400; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.cols3 p { font-size: 16px; line-height: 1.8; }
.cols3 p + p { margin-top: 14px; }
.career { border-top: 1px solid var(--line); }
.career li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 18px 0 19px; border-bottom: 1px solid var(--line); }
.career .c-when { grid-column: 1 / 3; font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.career .c-org { grid-column: 3 / 5; font-weight: 600; font-size: 16px; color: var(--ink); }
.career .c-role { grid-column: 5 / 9; font-size: 15px; line-height: 1.65; color: var(--text); }
.career .c-work { grid-column: 9 / 13; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ════════ case pages ════════ */
.cover .grid { grid-template-rows: auto 1fr; }
.cover-band { grid-column: 1 / -1; grid-row: 1; border-image: conic-gradient(var(--dark) 0 0) fill 0 / / 0 100vmax; } /* full-bleed band, no seam */
.cover-head, .cover-fig, .meta { position: relative; z-index: 1; }
.cover-head { grid-column: 1 / 8; grid-row: 1; padding: clamp(48px, 7vw, 104px) 0 clamp(64px, 8vw, 128px); }
.cover-head .label { color: var(--on-dark-2); margin-bottom: clamp(20px, 3vw, 36px); }
.cover h1 { font-weight: 500; font-size: clamp(48px, 7.2vw, 96px); line-height: 1; letter-spacing: -.035em; color: var(--on-dark); }
.cover .lede { margin-top: clamp(24px, 3vw, 40px); font-size: clamp(18px, .9vw + 12px, 23px); line-height: 1.65; color: var(--on-dark-2); }
.cover-fig { grid-column: 8 / 11; grid-row: 1 / 3; align-self: start; margin-top: clamp(48px, 7vw, 104px); }
.cover-fig img { width: 100%; outline: 1px solid rgba(0, 0, 0, .06); outline-offset: -1px; }
.meta { grid-column: 1 / 7; grid-row: 2; margin-top: clamp(40px, 6vw, 88px); border-top: 1px solid var(--line); }
.meta div { display: grid; grid-template-columns: minmax(96px, 2fr) 5fr; gap: var(--gap); padding: 14px 0; border-bottom: 1px solid var(--line); }
.meta dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.meta dd { font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--ink); }

.chapter { padding-top: var(--sp-section); }
.headline { grid-column: 1 / 11; font-weight: 500; font-size: clamp(26px, 1.4vw + 16px, 38px); line-height: 1.42; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; margin-top: 20px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; letter-spacing: .02em; color: var(--muted); }
.tags li:not(:last-child)::after { content: "·"; margin: 0 .7em; }
.intro { grid-column: span 6; margin-top: clamp(32px, 4vw, 56px); font-size: 17px; line-height: 1.85; }

.block { margin-top: var(--sp-block); }
.fig-lead { margin-top: clamp(48px, 6vw, 88px); }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: 1 / -1; }

.fig img { width: 100%; cursor: zoom-in; }
.fig figcaption { margin-top: 14px; font-size: 14px; line-height: 1.7; color: var(--text); }

.col-label { padding-top: 16px; border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; line-height: 1.6; color: var(--text); }
.col-title { margin-top: 10px; font-weight: 500; font-size: clamp(19px, .4vw + 16px, 22px); line-height: 1.45; letter-spacing: -.015em; color: var(--ink); }
.col-body { margin-top: 14px; font-size: 16px; line-height: 1.8; }

/* pairs: text row then figure row, so figures line up (master B pages) */
.pair { row-gap: 32px; }
.pair > .t1 { grid-column: 1 / 7; grid-row: 1; }
.pair > .f1 { grid-column: 1 / 7; grid-row: 2; align-self: start; }
.pair > .t2 { grid-column: 7 / 13; grid-row: 1; }
.pair > .f2 { grid-column: 7 / 13; grid-row: 2; align-self: start; }

/* side: narrow text column + wide figure (master p11 / p16) */
.side { row-gap: 32px; }
.side--left > .t { grid-column: 1 / 5; grid-row: 1; }
.side--left > .fs { grid-column: 1 / 5; grid-row: 2; align-self: end; }
/* 글 옆 그림: 글과 그림 사이를 한 칸 비움 — 그림이 한 칸 작아짐(10/5 본인 「여유 있게 · 저런 형태 다 공통으로」 · side · half · 그림 둘 오프너) */
.side--left > .fw { grid-column: 6 / 13; grid-row: 1 / 3; align-self: start; }
.side--right > .t { grid-column: 9 / 13; grid-row: 1; }
.side--right > .fs { grid-column: 9 / 13; grid-row: 2; align-self: end; }
.side--right > .fw { grid-column: 1 / 8; grid-row: 1 / 3; align-self: start; }

.decision { padding-top: var(--sp-block); }

/* buy-in comparison (master p13 step cards as text) */
.flow { grid-column: 1 / -1; margin-top: clamp(48px, 6vw, 88px); display: grid; row-gap: clamp(28px, 3vw, 40px); }
.flow-title { font-weight: 500; font-size: 17px; line-height: 1.6; color: var(--ink); margin-bottom: 14px; }
.flow-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.flow-steps li { padding: 16px 18px 18px; border: 1px solid var(--line); }
.flow-row.is-app .flow-steps li { border-color: var(--fig); background: var(--fig); }
.flow-steps .t { display: block; font-weight: 500; font-size: 17px; line-height: 1.5; color: var(--ink); font-variant-numeric: tabular-nums; }
.flow-steps .s { display: block; margin-top: 6px; font-size: 15px; line-height: 1.6; }

.sub { padding-top: clamp(88px, 10vw, 152px); }

/* 사진 세 장 한 줄 (마스터 34) */
.photos-block .label { margin-bottom: 16px; }
.photos { row-gap: var(--gap); }
.photos > .fig { grid-column: span 4; }
.trio { row-gap: 32px; }
.trio > .t1 { grid-column: 1 / 5; grid-row: 1; }
.trio > .f1 { grid-column: 1 / 5; grid-row: 2; align-self: start; }
.trio > .t2 { grid-column: 5 / 9; grid-row: 1; }
.trio > .f2 { grid-column: 5 / 9; grid-row: 2; align-self: start; }
.trio > .t3 { grid-column: 9 / 13; grid-row: 1; }
.trio > .f3 { grid-column: 9 / 13; grid-row: 2; align-self: start; }

.half { row-gap: 32px; }
.half > .t { grid-column: 1 / 7; grid-row: 1; }
.half > .fw { grid-column: 8 / 13; grid-row: 1; align-self: start; }

.col-title--lead { margin-top: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.col-body + .col-body { margin-top: 12px; }
.kd .label { margin-bottom: 10px; }
.kd .col-title { margin-top: 0; }
.kd p:not(.label) { margin-top: 14px; }

.statement { grid-column: 1 / 11; margin-top: clamp(48px, 6vw, 88px); font-weight: 500; font-size: clamp(19px, .8vw + 13px, 25px); line-height: 1.6; letter-spacing: -.015em; color: var(--ink); }
.kv { margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.kv div { display: grid; grid-template-columns: minmax(96px, 2fr) 10fr; gap: var(--gap); align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kv dd { font-size: 17px; line-height: 1.6; color: var(--text); }
.kv dd.big { font-weight: 500; font-size: clamp(18px, .6vw + 14px, 22px); color: var(--ink); }
.items { display: flex; flex-wrap: wrap; }
.items li:not(:last-child)::after { content: "·"; margin: 0 .7em; color: var(--muted); }
.nw { white-space: nowrap; }

.team-line { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.cycle { display: flex; flex-wrap: wrap; row-gap: 8px; margin-top: 16px; }
.cycle li { font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--ink); }
.cycle li:not(:last-child)::after { content: "→"; margin: 0 .8em; font-weight: 400; color: var(--muted); }
.wide-body { max-width: 900px; margin-top: 20px; }

.stats { row-gap: 32px; }
.stat { grid-column: span 3; padding-top: 16px; border-top: 1px solid var(--line); }
.stat .value { font-weight: 500; font-size: clamp(26px, 1.4vw + 14px, 36px); line-height: 1.2; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.stat--lead .value { font-size: clamp(28px, 2vw + 14px, 46px); }
.stat .arrow { margin: 0 .25em; font-size: .6em; font-weight: 400; vertical-align: .15em; color: var(--muted); }
.stat .desc { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--text); }
.press, .closing { align-items: baseline; row-gap: 8px; }
.press > .label, .closing > .label { grid-column: 1 / 4; }
.press > p:not(.label) { grid-column: span 3; font-size: 15px; line-height: 1.6; color: var(--text); }
.closing-text { grid-column: 4 / 13; font-size: clamp(18px, .7vw + 13px, 22px); line-height: 1.75; color: var(--ink); }

/* ── 메디스태프 쪽에서 더한 틀 (마스터 37~61) ── */
/* chapter opener: 큰 제목 · In this chapter · Contents · 그림 (마스터 37 · 48 · 54) */
.opener-title { font-weight: 500; font-size: clamp(40px, 5.4vw, 84px); line-height: 1.1; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.opener-body { margin-top: clamp(40px, 5vw, 72px); row-gap: 40px; }
.opener-text { grid-column: 1 / 6; }
.opener-fig { grid-column: 7 / 13; align-self: start; }
.opener-meta { margin-top: 14px; border-top: 1px solid var(--line); }
.opener-meta div { display: grid; grid-template-columns: minmax(64px, 1fr) 3fr; gap: var(--gap); padding: 12px 0; border-bottom: 1px solid var(--line); }
.opener-meta dt { font-size: 15px; line-height: 1.6; color: var(--muted); }
.opener-meta dd { font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--ink); }
.opener-contents-label { margin-top: clamp(32px, 4vw, 48px); }
.contents { margin-top: 14px; border-top: 1px solid var(--line); }
.contents a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--ink); }
.contents .n { color: var(--muted); }
.contents a:hover .c, .contents a:focus-visible .c { text-decoration: underline; text-underline-offset: 4px; }
.opener-body--two { row-gap: 14px; }
.opener-body--two .opener-text { grid-column: 1 / 5; grid-row: 1 / 3; }
.opener-body--two .of-a, .opener-body--two .of-b { grid-column: 6 / 13; grid-row: 1; align-self: start; width: calc((100% - var(--gap)) / 2); }
.opener-body--two .of-a { justify-self: start; }
.opener-body--two .of-b { justify-self: end; }
.of-cap { grid-column: 6 / 13; grid-row: 2; align-self: start; font-size: 14px; line-height: 1.7; color: var(--text); }

/* 글 둘 나란히 · 그림 왼쪽 반 (마스터 41 · 42 · 43 · 49) */
.split { row-gap: 40px; }
.split > .l { grid-column: 1 / 7; }
.split > .r { grid-column: 7 / 13; }
.half--rev > .t { grid-column: 7 / 13; }
.half--rev > .fw { grid-column: 1 / 6; }
.t .intro + .intro, .l .intro + .intro { margin-top: 16px; }
.items-stack .item + .item { margin-top: clamp(24px, 2.4vw, 32px); }
.t .items-stack { margin-top: clamp(32px, 3.4vw, 48px); }
.items-stack .item .col-title { margin-top: 0; }
.items-stack .item .col-body { margin-top: 8px; }

/* 칸 셋 · 둘 — 같은 줄을 나눠 써서 그림 높이가 맞게 (마스터 B장) */
.g3, .g2 { row-gap: 16px; }
.g3 > .c1 { grid-column: 1 / 5; } .g3 > .c2 { grid-column: 5 / 9; } .g3 > .c3 { grid-column: 9 / 13; }
.g2 > .c1 { grid-column: 1 / 7; } .g2 > .c2 { grid-column: 7 / 13; }
.g3 > .r1 { grid-row: 1; } .g3 > .r2 { grid-row: 2; } .g3 > .r3 { grid-row: 3; }
.g3 > *, .g2 > * { align-self: start; }
.g3 > .col-body { margin-top: 0; }
.g3 > .fig { margin-top: 10px; }
.col-label.mono-label { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.col-title--big { font-size: clamp(22px, .8vw + 16px, 28px); }
.figs3 { row-gap: 24px; }
.figs3 > .fig { grid-column: span 4; }
.fig-label { margin-bottom: 12px; }
.block-s { margin-top: clamp(40px, 5vw, 64px); }
.headline--xl { grid-column: 1 / -1; font-size: clamp(28px, 2.4vw + 14px, 52px); line-height: 1.32; }
.intro--wide { grid-column: 1 / 9; }
.intro--wide + .intro--wide { margin-top: 16px; }
.ph { display: grid; place-items: center; width: 100%; padding: 16px; text-align: center; }
.cover-fig--wide { grid-column: 8 / 12; }

/* Result 숫자 셋 + 그림 옆 캡션 (마스터 61) */
.stats--3 .stat { grid-column: span 4; }
.stat .stat-body { margin-top: 12px; font-size: 15px; line-height: 1.75; color: var(--text); }
.result-fig > .fig { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--gap); align-items: start; }
.result-fig > .fig figcaption { margin-top: 0; }

/* ── PokerStake 쪽에서 더한 틀 (마스터 62~71) ── */
.cover-fig--photo img { outline: 0; }
.col-title.bal { text-wrap: balance; }
/* 제안서 숫자 줄 (마스터 64) */
.numlist { margin-top: 4px; }
.numlist div { display: grid; grid-template-columns: minmax(96px, 2fr) 5fr; gap: var(--gap); align-items: baseline; padding: 18px 0; }
.numlist div + div { border-top: 1px solid var(--line); }
.numlist dt { font-weight: 500; font-size: clamp(30px, 1.8vw + 14px, 44px); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); }
.numlist dd { font-size: 16px; line-height: 1.6; color: var(--ink); }
/* Key Decision 한 덩어리 (마스터 66) */
.kd--rule { grid-column: 1 / 9; padding-top: 18px; border-top: 1px solid var(--line); }
/* 회색 판 위에 잘라 둔 화면 둘 (마스터 68) */
.panel { grid-column: 1 / -1; padding: clamp(24px, 5vw, 72px) clamp(16px, 9vw, 168px); background: var(--fig); }
.panel .fig-note { margin-bottom: 14px; font-size: 14px; line-height: 1.6; color: var(--text); }
.panel-pair { display: grid; grid-template-columns: minmax(0, 587fr) minmax(0, 657fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
/* 칸 둘 — 글 줄과 그림 줄을 나눠 그림 높이가 맞게 (마스터 70) */
.g2r { row-gap: 16px; }
.g2r > .c1 { grid-column: 1 / 7; } .g2r > .c2 { grid-column: 7 / 13; }
.g2r > .r1 { grid-row: 1; } .g2r > .r2 { grid-row: 2; } .g2r > .r3 { grid-row: 3; }
.g2r > * { align-self: start; }
.g2r > .col-body { margin-top: 0; }
.g2r > .fig { margin-top: 10px; }
/* Result 숫자 넷, 둘씩 (마스터 71) */
.stats--2 .stat { grid-column: span 6; }
.stat .arrow--pre { margin: 0 .3em 0 0; }
@media (max-width: 1023px) {
  .kd--rule { grid-column: 1 / -1; max-width: 720px; }
  .g2r > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .g2r > .c2.r1 { margin-top: 40px; }
  .g2r > .fig, .g2r > .col-body { max-width: 720px; }
}
@media (max-width: 719px) {
  .numlist div { grid-template-columns: 84px 1fr; gap: 12px; padding: 14px 0; }
  .numlist dt { font-size: 30px; }
  .panel-pair { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .g2r > .c2.r1 { margin-top: 48px; }
}

/* ── 일하는 방식 쪽에서 더한 틀 (마스터 02 · 03 · 04 · 05~08 · 90 · 91) ── */
.pr-title { font-weight: 500; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.24; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.tl-grid { margin-top: clamp(32px, 6vh, 72px); row-gap: 40px; }
.tl-grid > .tl-head { grid-column: 1 / 7; grid-row: 1; align-self: start; }
.tl-grid > .timeline { grid-column: 7 / 13; grid-row: 1 / 3; align-self: start; }
.tl-grid > .tl-note { grid-column: 1 / 6; grid-row: 2; align-self: end; padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.8; }
.timeline li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--gap); align-items: center; padding: 16px 0; }
.timeline li + li { border-top: 1px solid var(--line); }
.timeline .t-when { font-weight: 500; font-size: 15px; line-height: 1.5; color: var(--ink); }
.timeline .t-what { font-size: 15px; line-height: 1.7; color: var(--text); }
.ai-block > .tags { margin-top: 0; }
.ai-block > .tags + .grid { margin-top: clamp(28px, 3vw, 44px); }
.ai-text { grid-column: 1 / 10; }
@media (max-width: 1023px) {
  .tl-grid > .tl-head, .tl-grid > .timeline, .tl-grid > .tl-note { grid-column: 1 / -1; grid-row: auto; }
  .tl-grid > .tl-note { max-width: 720px; }
  .ai-text { grid-column: 1 / -1; max-width: 720px; }
}
@media (max-width: 719px) {
  .pr-title { font-size: 30px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ── 고수경제TV · 리얼컴포저 쪽에서 더한 틀 (마스터 72~89) ── */
/* 그림 없는 장 오프너 — In this chapter 왼쪽 · Contents 오른쪽 (마스터 73 · 79 · 84) */
.opener-body--nofig .opener-text { grid-column: 1 / 6; }
.opener-body--nofig .opener-toc { grid-column: 7 / 13; }
/* 글 칸 안 첫 문단 · 문단 사이 · 칸 안 그림 (마스터 74 · 75 · 77 · 80 · 85) */
.t > .intro:first-child { margin-top: 0; }
.t > .intro + .intro { margin-top: 16px; }
.t > .fig { margin-top: clamp(32px, 4vw, 56px); }
/* 그림 셋 + 캡션 하나 (마스터 81) */
.fig-group > figcaption { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 1023px) {
  .opener-body--nofig .opener-toc { grid-column: 1 / -1 !important; grid-row: auto !important; }
}

/* next case */
.next { margin-top: var(--sp-section); }
.next a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: clamp(32px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.next .next-title { font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.035em; color: var(--ink); }
.next a:hover .next-title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.site-footer.tight { margin-top: 0; }

/* draft markers — 배포 전 지움 */
.tbd { background: #fff3c4; color: #7a5b00 !important; }
.tbd-box { font-family: var(--mono); font-size: 12px; color: #7a5b00; background: repeating-linear-gradient(45deg, #efeeec 0 8px, #e7e5e1 8px 16px) !important; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(13, 15, 19, .97); }
.lb[hidden] { display: none; }
.lb-scroll { width: 100%; height: 100%; overflow: auto; display: grid; place-items: center; padding: 64px 16px 24px; }
.lb-scroll img { max-width: 100%; max-height: calc(100vh - 96px); width: auto; height: auto; }
.lb.pan .lb-scroll { display: block; place-items: start; padding: 64px 0 24px; }
.lb.pan .lb-scroll img { max-width: none; max-height: none; }
.lb-close { position: fixed; top: 14px; right: 16px; z-index: 51; padding: 8px 12px; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); font: 500 13px/1 var(--sans); letter-spacing: .04em; cursor: pointer; }
html.lb-open { overflow: hidden; }

/* load-in (레퍼런스처럼 가볍게 · 모션 줄이기 설정이면 없음) */
@media (prefers-reduced-motion: no-preference) {
  .rv { animation: rv .8s cubic-bezier(.2, .7, .2, 1) both; }
  .rv.d1 { animation-delay: .08s; } .rv.d2 { animation-delay: .16s; } .rv.d3 { animation-delay: .24s; } .rv.d4 { animation-delay: .32s; }
  @keyframes rv { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ── ≤1023px ── */
/* 경력 줄: 1200 아래에선 회사 이름 칸을 넓히고 하는 일을 역할 아래로(크로스오버커뮤니케이션이 낱말 중간에서 안 꺾이게) */
@media (max-width: 1199px) {
  .career .c-when { grid-column: 1 / 4; } .career .c-org { grid-column: 4 / 7; } .career .c-role { grid-column: 7 / 13; } .career .c-work { grid-column: 7 / 13; margin-top: 4px; }
}

@media (max-width: 1023px) {
  .cover-head { grid-column: 1 / 9; }
  .cover-fig { grid-column: 9 / 13; }
  .meta { grid-column: 1 / 9; }
  .headline { grid-column: 1 / -1; }
  .side > .t, .side > .fs, .side > .fw { grid-column: 1 / -1 !important; grid-row: auto !important; align-self: start; }
  .side > .t { max-width: 720px; }
  .side > .fs { max-width: 480px; }
  .fig-lead > .span-8 { grid-column: 1 / -1; }
  .trio > *, .half > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .trio > .t1, .trio > .t2, .trio > .t3, .half > .t { max-width: 720px; }
  .trio > .f1, .trio > .f2, .trio > .f3 { max-width: 560px; margin-top: -8px; }
  .trio > .t2, .trio > .t3 { margin-top: 24px; }
  .stat { grid-column: span 6; }
  .press > .label, .closing > .label, .closing-text { grid-column: 1 / -1; }
  .press > p:not(.label) { grid-column: span 4; }
  .impact .case { grid-column: 1 / 5; } .impact .value { grid-column: 5 / 9; } .impact .desc { grid-column: 9 / 13; font-size: 14px; }
  .work .w-main { grid-column: 2 / 8; } .work .w-thumb { grid-column: 8 / 13; }
  .kvl { grid-column: 1 / 6; } .about-text { grid-column: 7 / 13; }
  .cols3 > div { grid-column: span 4; }
  .opener-text, .opener-fig, .opener-body--two .opener-text { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .opener-fig { max-width: 720px; }
  .opener-body--two .of-a { grid-column: 1 / 7 !important; grid-row: auto !important; width: auto; justify-self: stretch; }
  .opener-body--two .of-b { grid-column: 7 / 13 !important; grid-row: auto !important; width: auto; justify-self: stretch; }
  .of-cap { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .split > .l, .split > .r { grid-column: 1 / -1 !important; max-width: 720px; }
  .g3 > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .g3 > .c2.r1, .g3 > .c3.r1 { margin-top: 40px; }
  .g3 > .fig { max-width: 560px; }
  .g3 > .col-body { max-width: 720px; }
  .figs3 > .fig { grid-column: 1 / -1 !important; max-width: 560px; }
  .intro--wide { grid-column: 1 / -1; }
}

/* ── ≤719px: one column (phone) ── */
@media (max-width: 719px) {
  :root { --header: 56px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .site-header .brand { font-size: 14px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 11px; letter-spacing: .08em; }
  .label, .mono { font-size: 11px; letter-spacing: .06em; }
  .row-head { font-size: 11px; letter-spacing: .06em; }

  .hero { padding-top: 22px; }
  .hero-body { margin-top: 28px; }
  .hero-title { max-width: none; }
  .impact .row { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 12px 0 13px; }
  .impact .case { grid-column: 1 / -1; }
  .impact .value { grid-column: 1 / 2; font-size: 24px; }
  .impact .desc { grid-column: 2 / 3; font-size: 13px; line-height: 1.45; }
  .work { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .work .w-idx { grid-column: 1; padding-top: 0; }
  .work .w-main, .work .w-thumb { grid-column: 1; }
  .work .w-thumb { order: 3; margin-top: 8px; aspect-ratio: 4 / 3; }
  .work .w-text { font-size: 15.5px; }
  .about-text p { font-size: 16px; }
  .cols3 > div + div { margin-top: 8px; }
  .career li { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding: 16px 0; }
  .career .c-when, .career .c-org, .career .c-role, .career .c-work { grid-column: 1 !important; }
  .career .c-when { font-size: 13px; color: var(--muted); }
  .career .c-work { margin-top: 2px; font-size: 14px; }
  .site-footer .foot { flex-direction: column; align-items: flex-start; gap: 6px; }

  .cover-band { display: none; }
  .cover-head { border-image: conic-gradient(var(--dark) 0 0) fill 0 / / 0 100vmax; padding: 40px 0 88px; }
  .cover-fig { width: min(72%, 300px); margin-top: -48px; }
  .meta { margin-top: 40px; }
  .meta div { grid-template-columns: 96px 1fr; gap: 12px; }
  .intro { font-size: 16px; line-height: 1.8; margin-top: 28px; }
  .intro + .intro { margin-top: 16px; }
  .pair { row-gap: 0; }
  .pair > .f1, .pair > .f2, .side > .fs, .side > .fw { margin-top: 24px; }
  .pair > .t2 { margin-top: 56px; }
  .side > .fw { margin-top: 32px; }
  .flow-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow-steps li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: none !important; }
  .flow-row.is-app .flow-steps li { border-color: var(--line); }
  .flow-steps .s { margin-top: 0; }
  .photos > .fig { grid-column: 1 / -1; max-width: 560px; }
  .trio { row-gap: 0; }
  .trio > .f1, .trio > .f2, .trio > .f3, .half > .fw { margin-top: 24px; }
  .trio > .t2, .trio > .t3 { margin-top: 56px; }
  .statement { font-size: 19px; }
  .kv div { grid-template-columns: 76px 1fr; gap: 12px; }
  .stat .value { white-space: normal; }
  .cover-fig--wide { width: min(86%, 360px); }
  /* 캡션이 「왼쪽 · 오른쪽」이라 폰에서도 나란히 */
  .grid.opener-body--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 10px; }
  .opener-body--two .of-a { grid-column: 1 / 2 !important; }
  .opener-body--two .of-b { grid-column: 2 / 3 !important; }
  .of-cap { margin-top: -4px; }
  .opener-title { font-size: 36px; }
  .g3 > .c2.r1, .g3 > .c3.r1 { margin-top: 48px; }
  .figs3 > .fig + .fig { margin-top: 8px; }
  .result-fig > .fig { display: block; }
  .result-fig > .fig figcaption { margin-top: 14px; }
}

/* ── ≤719px: 어두운 바탕 사진 표지(PokerStake · 고수경제TV · 리얼컴포저)는 사진까지 띠 안에 — 데스크톱처럼 ── */
@media (max-width: 719px) {
  .cover-head:has(+ .cover-fig--photo) { padding-bottom: 20px; }
  .cover-fig--photo { width: 100%; margin-top: 0; padding-bottom: 36px; border-image: conic-gradient(var(--dark) 0 0) fill 0 / / 0 100vmax; }
  .cover-fig--photo img { width: min(86%, 360px); }
}

/* ── ≤359px: 메뉴 넷(Work · Practice · About · Contact)이 한 줄에 들어가게 ── */
@media (max-width: 359px) {
  .site-header nav { gap: 11px; }
  .site-header nav a { letter-spacing: .03em; }
}

/* ════════ 표지 대표 그림(10/5 본인 교체 · 마스터 표지와 같게): 어드민 + 앱 한 장 ════════ */
/* 첫 화면 카드: 어두운 칸 가운데에 한 장 */
.work .w-thumb--main { background: var(--dark); }
.work .w-thumb--main img { left: 50%; top: 50%; width: auto; height: 86%; max-width: 94%; object-fit: contain; transform: translate(-50%, -50%); }
a.work:hover .w-thumb--main img { transform: translate(-50%, -50%) scale(1.025); }
/* 케이스 표지: 오른쪽 다섯 칸 · 위 = 제목 줄 · 그림까지 띠 안에(마스터 표지 배치) */
.cover-fig--main { grid-column: 8 / 13; grid-row: 1; margin-top: calc(clamp(48px, 7vw, 104px) + 18px + clamp(20px, 3vw, 36px)); padding-bottom: clamp(36px, 4vw, 56px); }
.cover-fig--main img { outline: 0; }
/* 1023 이하: 글 아래로 내려 띠 안에서 넓게 */
@media (max-width: 1023px) {
  .cover:has(.cover-fig--main) .grid { grid-template-rows: auto auto 1fr; }
  .cover:has(.cover-fig--main) .cover-head { grid-column: 1 / -1; padding-bottom: 28px; }
  .cover-fig--main { grid-column: 1 / -1; grid-row: 2; width: auto; margin-top: 0; padding-bottom: 44px; border-image: conic-gradient(var(--dark) 0 0) fill 0 / / 0 100vmax; }
  .cover-fig--main img { width: 100%; max-width: 640px; }
  .cover:has(.cover-fig--main) .meta { grid-row: 3; }
}

/* ════════ 왼쪽 위 이름 = 필기체 「Sooman Jeon」(10/5 본인 · 영문 표기 = 이력서 · 링크드인 · 마스터 01과 같게) · Herr Von Muellerhoff(SIL OFL · 받은 파일 그대로 · assets/fonts) ════════ */
@font-face { font-family: "Herr Von Muellerhoff"; src: url("../fonts/herr-von-muellerhoff-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
.site-header .brand { font-family: "Herr Von Muellerhoff", cursive; font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: 0; white-space: nowrap; padding: 2px 6px 0 0; }
@media (max-width: 719px) {
  .site-header .bar { gap: 12px; }
  .site-header .brand { font-size: 28px; padding-top: 0; }
  .site-header nav { gap: 14px; }
}
@media (max-width: 413px) {
  .site-header .brand { font-size: 23px; padding-right: 2px; }
  .site-header nav { gap: 9px; }
  .site-header nav a { letter-spacing: .03em; }
}
@media (max-width: 359px) {
  .site-header .bar { gap: 7px; }
  .site-header .brand { font-size: 20px; padding-right: 2px; }
  .site-header nav { gap: 8px; }
  .site-header nav a { font-size: 10px; letter-spacing: .02em; }
}
