/* =========================================================
   문형채 프로필 — style.css  (v4)
   무채색 + 앰버 하나. 배경 패턴 없음. 섹션을 흰/회색으로 번갈아 깐다.
   허용 모션: S곡선 그리기 · 숫자 카운트업 · 제목 리빌 · 무드등 배경 전환. 그 넷뿐.
   ========================================================= */

:root {
  --white:    #FFFFFF;
  --gray-bg:  #F5F5F4;
  --black:    #111111;
  --gray:     #8A8A88;
  --line:     #E4E4E2;
  --amber:    #E8A33D;
  --lit:      #FDF3E3;   /* 실험 07 무드등 */
  --red:      #C0392B;   /* 실험인간 · 현재 재직 표시 · 핵심역량 1 */
  --blue:     #1F5FA8;   /* 핵심역량 3 */

  --font-body:  'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: 'RIDIBatang', 'Ridibatang', serif;   /* [4] 이야기 전용 */
  --font-mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --w-wide: min(1120px, 100% - 48px);
  --w-read: min(860px,  100% - 40px);

  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 40px; --s-5: 64px;
  --gap-section: 160px;
  --topbar-h: 56px;
}
@media (max-width: 720px) {
  :root { --gap-section: 96px; --s-5: 48px; --w-wide: min(1120px, 100% - 40px); }
}

/* ---------- 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 16px);
}
body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  transition: background-color 3s ease-in-out;   /* 무드등 */
}
body.is-lit { background-color: var(--lit); }

::selection { background: rgba(232,163,61,.28); }
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, body.is-lit { transition: none; background-color: var(--white); }
}

/* ---------- 노트 왼쪽 마진선 + 스크롤 위치 점 ----------
   wide 컨테이너 바깥 32px 지점. 넓은 화면에서만 보인다. */
.margin-rule { display: none; }
@media (min-width: 1080px) {
  .margin-rule {
    display: block;
    position: fixed;
    top: 0; bottom: 0;
    left: calc((100vw - min(1120px, 100vw - 48px)) / 2 - 32px);
    width: 1px;
    background: var(--line);
    z-index: 2;
    pointer-events: none;
  }
  .margin-dot {
    position: absolute;
    left: -3px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--red);      /* 실험인간과 같은 붉은색 */
  }
}

/* ---------- 폭 ---------- */
.wide { width: var(--w-wide); margin-inline: auto; }
/* 읽기 폭(680px)을 유지하되, wide 콘텐츠와 왼쪽 열을 맞춘다 */
.read {
  width: var(--w-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: start;
}

/* ---------- 섹션 ----------
   흰 섹션은 배경을 깔지 않는다 — 무드등 전환이 body 에서 비쳐 올라와야 하므로 */
.sec { padding-block: 64px 80px; }   /* 모든 섹션 공통 — 위 64 / 아래 80 */
.sec--gray { background: var(--gray-bg); }
#coverage .sec-head { margin-bottom: var(--s-2); }   /* 제목 아래 lead 를 바짝 붙인다 */

.sec-head {
  display: block;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.sec-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.1em;
  flex: none;
}
.sec-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.sub-head {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: var(--s-3);
}
.stack { margin-top: var(--s-5); }
h1, h2, h3, .sec-title, .sub-head { word-break: keep-all; }

a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
a:hover { text-decoration-color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 28px;
}

/* =========================================================
   상단 바
   ========================================================= */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--topbar-h);
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.topbar__inner {
  width: var(--w-wide);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.topbar__name {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  margin-right: auto;
}
.topbar__nav { display: flex; gap: var(--s-3); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.topbar__nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.topbar__nav a:hover { color: var(--black); }
.topbar__nav a.is-active { color: var(--black); border-bottom-color: var(--amber); }
.topbar__nav a[hidden] { display: none; }
/* 스크롤이 시작되면 흰 배경 + 아래 구분선. 본문 글씨가 비쳐 겹치지 않게 불투명하게 둔다 */
.topbar.is-solid {
  background: var(--white);
  border-bottom-color: var(--line);
}
.topbar.is-solid .topbar__nav { opacity: 1; pointer-events: auto; }

.share-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 11px;
  cursor: pointer;
}
.share-btn:hover { border-color: var(--amber); color: var(--black); }

.toast {
  position: fixed;
  top: calc(var(--topbar-h) + 10px);
  right: 24px;
  z-index: 30;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.toast.is-on { opacity: 1; }

/* =========================================================
   [1] 히어로 — 좌: 텍스트 / 우: 아바타
   ========================================================= */
.hero {
  min-height: 88vh;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* 위로 붙인다 */
  padding-top: 150px;   /* 페이지 최상단 기준 150px 지점에서 시작 */
  padding-bottom: 8px;
}
.hero__inner { width: min(1080px, 100% - 48px); margin-inline: auto; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;     /* 아바타 높이는 JS 가 실험인간 줄에 맞춰 잡는다 */
}
.hero__left { min-width: 0; }        /* 그리드 칸이 내용보다 좁아져 잘리는 것을 막는다 */
.hero__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gray);
  margin-bottom: var(--s-2);
}
.hero__name {
  font-size: clamp(34px, 7.4vw, 94px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.hero__tag {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-top: var(--s-2);
}
/* 정의 문장 — 세로선만 인용구 형식, 글자는 원래대로 */
.hero__desc {
  margin-top: var(--s-3);
  padding-left: var(--s-2);
  border-left: 3px solid var(--amber);
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
  max-width: none;          /* 열 폭을 그대로 다 쓴다 */
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: none;
}
.hero__desc p + p { margin-top: 0; }   /* 두 문장을 한 덩어리로 붙인다 */
.hero__meta {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);   /* 정의 문장과 확실히 끊어 준다 */
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
  max-width: 40em;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: break-word;
}
.hero__meta p + p { margin-top: 0; }
/* 직함 첫 줄만 강조. 나머지 두 줄은 한 덩어리로 담백하게 */
.hero__meta p:not(:first-child) { font-weight: 400; }

/* 아바타 — photos/avatar.png 가 없으면 이니셜 placeholder */
.hero__right { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.avatar {
  width: clamp(160px, 18vw, 232px);   /* 화면이 좁아지면 사진이 먼저 양보한다 */
  height: clamp(160px, 18vw, 232px);
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  filter: grayscale(1);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar__ini { font-family: var(--font-mono); font-size: 74px; color: var(--gray); }
.avatar__cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gray);
  text-align: center;
}

.hero__cta { margin-top: var(--s-5); }

/* 히어로 안의 핵심 역량 — 위 헤어라인으로 히어로와 묶는다 */
.hero__strengths {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.hero__strengths .sub-head { margin-bottom: var(--s-3); }

/* (남겨둠) 예전 3줄 요약 스타일 */
.hero__summary {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.hero__summary li { padding-top: 0; }
.hero__summary .lead {
  display: block;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  word-break: keep-all;
}
.hero__summary .rest { font-size: 13.5px; color: var(--gray); line-height: 1.65; word-break: keep-all; }
.hero__scroll { margin-top: 12px; font-family: var(--font-mono); font-size: 14px; color: var(--gray); text-align: center; }

@media (max-width: 720px) {
  .hero__inner { width: min(1080px, 100% - 40px); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-3); justify-items: center; text-align: center; }
  .hero__right { order: -1; margin-top: 0 !important; }   /* 아바타가 이름 위로 */
  .hero__left { text-align: center; }
  .hero__desc, .hero__meta { margin-inline: auto; }
  .avatar { width: 168px; height: 168px; }
  .avatar__ini { font-size: 52px; }
  .hero__summary { grid-template-columns: 1fr; gap: var(--s-2); text-align: left; }
}

.btn {
  display: inline-block;
  background: var(--black);
  border: 1px solid var(--black);
  border-radius: 2px;
  color: var(--white);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn:disabled { opacity: .45; cursor: default; }

/* =========================================================
   [2] 커리어 — 가로 S곡선 그래픽 + 표 + 기간 막대
   ========================================================= */
.curve-wrap { margin-bottom: var(--s-3); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.career-curve { display: block; width: 100%; min-width: 620px; height: auto; }
.cc-line { fill: none; stroke: var(--black); stroke-width: 2; stroke-linecap: round; opacity: .5; }
.cc-stem { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.cc-dot  { fill: var(--white); stroke: var(--black); stroke-width: 2; }
.cc-dot--now { fill: var(--red); stroke: var(--red); }
/* 로고 칩 — 테두리 없이 흰 바탕만 */
.cc-chip { fill: var(--white); stroke: none; }
.cc-org  { font-family: var(--font-body); font-size: 12px; font-weight: 600; fill: var(--black); }
.cc-year { font-family: var(--font-mono); font-size: 11px; fill: var(--gray); }

/* 표를 성과 카드의 안쪽 여백(28px)만큼 들여쓴다 —
   아래 '100 → 400' 숫자가 시작하는 열과 왼쪽선을 맞추기 위해서다 */
.timeline, .tl-total { margin-left: 28px; }
@media (max-width: 720px) { .timeline, .tl-total { margin-left: 0; } }

.timeline { border-top: 1px solid var(--line); }
.tl-row {
  display: grid;
  /* 회사명 칸만 넓어 빈 공간이 남던 것을 비례 배분으로 바꿨다 */
  grid-template-columns: 172px 1.15fr 1.15fr 1fr 1.15fr 104px;
  gap: 12px;
  align-items: baseline;
  padding: 12px 10px;
  margin-inline: -10px;
  border-bottom: 1px solid var(--line);
  transition: background-color .12s ease;
}
.tl-row:hover { background: rgba(17,17,17,.03); }
/* 기간 | 회사 | 분야 | 부서 | 직급 | 재직기간 */
.tl-row > .tl-row__period { grid-column: 1; grid-row: 1; }
.tl-row > .tl-row__org    { grid-column: 2; grid-row: 1; }
.tl-row > .tl-row__field  { grid-column: 3; grid-row: 1; }
.tl-row > .tl-row__dept   { grid-column: 4; grid-row: 1; }
.tl-row > .tl-row__role   { grid-column: 5; grid-row: 1; }
.tl-row > .tl-row__dur    { grid-column: 6; grid-row: 1; }
/* 회사명만 Pretendard, 나머지는 Mono */
.tl-row__org { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; word-break: keep-all; }
.tl-row__period, .tl-row__dept, .tl-row__role, .tl-row__field, .tl-row__dur {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.tl-row__period { color: var(--gray); white-space: nowrap; }
.tl-row__dept   { color: var(--gray); }
.tl-row__role   { color: var(--black); }
.tl-row__field  { color: var(--gray); }
.tl-row__dur    { color: var(--gray); white-space: nowrap; }
.tl-row--now .tl-row__dur { color: var(--red); font-weight: 500; }

/* 기간 막대 — 전체 경력을 100%로 잡고 실제 시점에 배치한다 */
.tl-row__bar { grid-column: 1 / -1; grid-row: 2; height: 3px; margin-top: 6px; position: relative; }
.tl-row__bar i { position: absolute; top: 0; height: 3px; background: rgba(17,17,17,.22); border-radius: 2px; }
.tl-row--now .tl-row__bar i { background: var(--red); }
.tl-row__bar i.is-founding {          /* 창업 기간만 점선 */
  background: transparent;
  border: 1px dashed rgba(17,17,17,.42);
  height: 5px;
  top: -1px;
  border-radius: 0;
}

.tl-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gray);
  padding-top: 12px;
  font-variant-numeric: tabular-nums;
}
.tl-total--sub { padding-top: 4px; }
.tl-total--sub span:last-child { color: var(--black); font-weight: 500; }
.tl-total--sub em { font-style: normal; opacity: .7; }

@media (max-width: 720px) {
  .tl-row { grid-template-columns: 1fr auto; row-gap: 3px; padding-block: 16px; }
  .tl-row__org { font-size: 17px; }
  .tl-row__period, .tl-row__dept, .tl-row__role, .tl-row__field, .tl-row__dur { font-size: 13px; }
  .tl-row > .tl-row__period { grid-column: 1; grid-row: 1; }
  .tl-row > .tl-row__dur    { grid-column: 2; grid-row: 1; text-align: right; }
  .tl-row > .tl-row__org    { grid-column: 1; grid-row: 2; }
  .tl-row > .tl-row__field  { grid-column: 2; grid-row: 2; text-align: right; }
  .tl-row > .tl-row__dept   { grid-column: 1; grid-row: 3; }
  .tl-row > .tl-row__role   { grid-column: 2; grid-row: 3; text-align: right; }
  .tl-row > .tl-row__bar    { grid-column: 1 / -1; grid-row: 4; }
}

/* ---------- 핵심 역량 ---------- */
.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
@media (max-width: 900px) { .blocks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blocks { grid-template-columns: 1fr; } }
.blocks { align-items: stretch; }
/* 카드 상단 막대 — 빨 · 노 · 파 */
.block { border-top: 4px solid var(--red); display: flex; flex-direction: column; }
.block:nth-child(2) { border-top-color: var(--amber); }
.block:nth-child(3) { border-top-color: var(--blue); }
.block__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gray);
  line-height: 1.5;
  white-space: pre-line;     /* 라벨의 줄바꿈(\n)을 그대로 살린다 */
  min-height: 3em;           /* 두 줄 고정 — 세 카드의 아래 실선을 맞춘다 */
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-2);
}
.block h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--black);
  word-break: keep-all;
  margin-bottom: 8px;
}
/* 증빙 — 불릿 대신 앰버 4px 사각형 (실험 데이터 포인트) */
.proofs li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
  word-break: keep-all;
}
.proofs li + li { margin-top: 10px; }
.proofs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  background: var(--amber);
}

/* ---------- 대표 성과 ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
@media (max-width: 780px) { .works { grid-template-columns: 1fr; } }

.stat { border-bottom: 1px solid var(--line); padding-bottom: var(--s-2); margin-bottom: var(--s-2); }
.stat__value {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 8px;
}
/* 제목 리빌 — 아래에서 위로 밀려 올라온다 */
.reveal { overflow: hidden; }
.reveal__inner {
  display: block;
  transform: translateY(110%);
  transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in .reveal__inner { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal__inner { transform: none; transition: none; }
}
.work h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.45; margin-bottom: var(--s-2); }
.work dl { display: grid; grid-template-columns: 46px 1fr; column-gap: 12px; row-gap: 8px; }
.work dt { font-family: var(--font-mono); font-size: 11px; color: var(--gray); padding-top: 5px; }
.work dd { font-size: 14px; line-height: 1.65; color: var(--gray); }
.work dd.res { color: var(--black); }

/* ---------- 학력·자격 ---------- */
.facts li {
  display: grid;
  grid-template-columns: 62px 92px 1fr;
  gap: var(--s-2);
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
}
.facts__label, .facts__date {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gray);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.facts__text { font-size: 17px; }
.facts__text.is-strong { font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 480px) {
  .facts li { grid-template-columns: 56px 1fr; row-gap: 0; }
  .facts__label { grid-column: 1; grid-row: 1; }
  .facts__date  { grid-column: 2; grid-row: 1; }
  .facts__text  { grid-column: 1 / -1; grid-row: 2; }
}

/* =========================================================
   다루는 영역 — 목록. 카드·박스 없이 헤어라인으로만 구분한다
   ========================================================= */
.cov-lead {
  font-size: 18px;
  color: var(--gray);
  word-break: keep-all;
  margin: 0 0 var(--s-3);
}
.cov-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--s-5);
}
.cov-list li {
  display: grid;
  grid-template-columns: 104px 1fr;   /* 글자가 커진 만큼 area 칸도 넓힌다 */
  gap: 14px;
  align-items: start;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.cov-area {
  position: relative;
  padding-left: 15px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: var(--black);
  word-break: keep-all;
}
.cov-area::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  background: var(--amber);
}
.cov-detail { font-size: 16px; line-height: 1.7; color: var(--gray); word-break: keep-all; }
.cov-note {
  margin-top: var(--s-4);
  padding-left: var(--s-2);
  border-left: 3px solid var(--amber);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.8;
  word-break: keep-all;
}
@media (max-width: 720px) {
  .cov-list { grid-template-columns: 1fr; column-gap: 0; }
  .cov-list li { grid-template-columns: 96px 1fr; }
}

/* =========================================================
   [3] 글
   ========================================================= */
.wcats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
@media (max-width: 780px) { .wcats { grid-template-columns: 1fr; } }
.wcat h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.wlist li { border-top: 1px solid var(--line); padding-block: 10px; font-size: 15px; }
.wlist .note { display: block; font-size: 13px; color: var(--gray); }

/* =========================================================
   [4] 인간 문형채 — 여기만 명조
   ========================================================= */
.human-summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 34px);
  padding-block: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.human-summary::-webkit-details-marker { display: none; }
.human-summary__mark {
  color: var(--amber);
  font-family: var(--font-body);
  font-size: 30px;         /* 토글 삼각형을 크게 */
  line-height: 1;
}
.human-summary__sub { font-size: 0.62em; color: var(--gray); }

/* HUMAN 은 커리어·학력자격과 같은 폭(wide)을 쓴다 */
#human .read { grid-template-columns: minmax(0, 1fr); }

/* HUMAN 제목과 첫 토글 사이 여백을 좁힌다 */
#human .sec-head { margin-bottom: var(--s-3); }

/* 토글 사이·위쪽 선은 두지 않는다 — 아래 선 하나로 충분하다 */
#thoughts-details .human-summary,
#human-details .human-summary { border-top: 0; }

/* 말·글 모음 */
.quotes { margin-top: var(--s-2); }
.quote { border-left: 3px solid var(--line); padding-left: var(--s-2); margin-bottom: var(--s-3); }
.quote__text { font-size: 19px; line-height: 1.8; }
.quote__note { font-family: var(--font-mono); font-size: 12px; color: var(--gray); margin-top: 6px; }

.human-body {
  padding-top: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.9;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.human-intro { color: var(--gray); margin-bottom: var(--s-3); padding-top: 8px; }

.exps { position: relative; }
.exps::before {
  content: "";
  position: absolute;
  left: 30px; top: 8px; bottom: 0;
  width: 1px;
  background: var(--line);
}
.exp { position: relative; padding-left: 56px; margin-bottom: var(--s-5); }
.exp::after {
  content: "";
  position: absolute;
  left: 26px; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--black);
  background: var(--white);
}
.exp__no {
  position: absolute;
  left: 0; top: 6px;
  width: 20px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
}
.exp__title { font-family: var(--font-serif); font-weight: 400; font-size: 22px; line-height: 1.45; }
.exp__year { font-family: var(--font-mono); font-size: 12px; color: var(--gray); margin-left: 8px; }
/* 제목 아래 본문은 한 칸 들여쓴다 (제목 위치와 예전 두 칸의 중간) */
.exp p { padding-left: 1em; color: var(--gray); }
.exp p + p { margin-top: 12px; }
@media (max-width: 560px) { .exp p { padding-left: 0.5em; } }

@media (max-width: 560px) {
  .exps::before { left: 22px; }
  .exp { padding-left: 42px; }
  .exp::after { left: 18px; }
}

/* 인화 사진 — 평소 30%, 커서를 올리면 원래 크기 */
.exp__photo {
  margin-top: var(--s-3);
  width: 30%;
  position: relative;
  background: var(--white);
  border: 6px solid var(--white);
  box-shadow: 0 1px 6px rgba(17,17,17,.10);
  transition: transform .35s ease, box-shadow .35s ease;
  transform-origin: left top;
  cursor: zoom-in;
}
.exp__photo img { width: 100%; }
.exp__photo figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--gray); padding: 8px 2px 2px; }
@media (hover: hover) {
  .exp__photo:hover { transform: scale(3.33); box-shadow: 0 10px 28px rgba(17,17,17,.18); z-index: 2; }
}
@media (max-width: 720px), (hover: none) { .exp__photo { width: 100%; cursor: default; } }
@media (prefers-reduced-motion: reduce) { .exp__photo { transition: none; } }

.epilogue { border-top: 1px solid var(--line); padding-top: var(--s-3); }
.epilogue h3 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; margin-bottom: 12px; }
.epilogue p { color: var(--gray); }

/* =========================================================
   연락 · 링크
   ========================================================= */
.form { border: 1px solid var(--line); border-radius: 2px; background: var(--white); padding: 28px; }
.field { margin-bottom: var(--s-2); }
.field label { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--gray); margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 12px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--amber); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-family: var(--font-mono); font-size: 12px; color: var(--gray); margin-top: var(--s-2); line-height: 1.7; }
.form__msg { font-size: 13px; margin-top: var(--s-2); }
.form__msg--err { color: #C0392B; }
.form__done { border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 2px; background: var(--white); padding: 28px; }

.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
@media (max-width: 780px) { .links { grid-template-columns: 1fr; } }
.link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  min-height: 128px;
  transition: border-color .15s ease;
}
.link-card:hover { border-color: var(--black); }
.link-card__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); }
.link-card__name { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin-top: auto; }
.link-card__note { font-size: 13px; color: var(--gray); }
.link-card__arrow { font-family: var(--font-mono); font-size: 13px; color: var(--gray); }

.footer {
  width: var(--w-wide);
  margin: 80px auto 64px;
  padding-top: var(--s-2);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
  display: flex;
  justify-content: space-between;
  gap: var(--s-2);
}

/* =========================================================
   인쇄
   ========================================================= */
@media print {
  @page { margin: 16mm; }
  body { background: #fff !important; color: #000; font-size: 11pt; line-height: 1.5; }
  .topbar, .toast, .share-btn, .hero__scroll, .hero__cta, #contact, .curve-wrap,
  .margin-rule { display: none !important; }
  .sec { padding-block: 18pt; background: #fff !important; break-inside: avoid; }
  .hero { min-height: auto; padding: 0; }
  .hero__name { font-size: 36pt; }
  .wide, .read { width: 100%; }
  .blocks, .works, .links, .hero__summary, .wcats { display: block; }
  .block, .work, .link-card { margin-bottom: 10pt; break-inside: avoid; }
  .reveal__inner { transform: none !important; }
  #human-details > .human-body { display: block !important; }
  .exp__photo { width: 45% !important; transform: none !important; box-shadow: none; }
  a { text-decoration: none; color: #000; }
}

/* ---------- 첨부 드롭존 ---------- */
.drop {
  position: relative;
  border: 1px dashed var(--line);
  border-radius: 2px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.drop:hover, .drop.is-over { border-color: var(--amber); background: rgba(232,163,61,.06); }
.drop__text { font-size: 14px; color: var(--gray); pointer-events: none; }
.drop__input {                       /* 입력칸을 드롭존 전체에 겹쳐 둔다 */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.drop__picked {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 12px;
}
.drop__name { font-family: var(--font-mono); font-size: 12px; color: var(--black); flex: 1; overflow-wrap: anywhere; }
.drop__clear {
  flex: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--gray);
  width: 26px;
  height: 26px;
  line-height: 1;
  cursor: pointer;
}
.drop__clear:hover { border-color: var(--black); color: var(--black); }

/* ---------- 커리어: 곡선과 표 사이의 LinkedIn 버튼 ---------- */
.career-link { margin-bottom: var(--s-3); }
.career-link .btn { text-decoration: none; }
@media print { .career-link { display: none !important; } }

/* ---------- 연락 섹션 안내 문구 ---------- */
.contact-lead {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin: -8px 0 var(--s-3);
  word-break: keep-all;
}
