/* 내 소개(어바웃미) 페이지. 꾸밈을 줄인 흰 바탕의 이력서예요. */
:root {
  color-scheme: light;
  --text: #1b1b1b;
  --sub: #434343;
  --muted: #7a7a76;
  --line: #e3e3de;
  --soft: #f6f6f3;
  --accent: #1a56b0;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 15px/1.7 var(--sans);
  word-break: keep-all;
  overflow-wrap: break-word;
}
h1,
h2,
h3,
h4,
h5,
p,
dl,
dd,
ul,
ol {
  margin: 0;
}
p,
li,
dd {
  text-wrap: pretty;
}
a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.skip:focus {
  top: 12px;
}
.draft-note {
  padding: 8px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--sub);
  font-size: 13px;
  text-align: center;
}
.page {
  width: min(860px, 100% - 44px);
  margin-inline: auto;
  padding: clamp(36px, 7vw, 68px) 0 40px;
}

/* ── 맨 위: 왼쪽에 이름, 오른쪽에 인적 사항, 그 아래 소개 글 ── */
.me-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--text);
}
h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.role {
  margin-top: 2px;
  color: var(--sub);
  font-size: 16px;
  font-weight: 500;
}
.info {
  font-size: 13.5px;
  line-height: 1.75;
}
.info > div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 10px;
}
.info dt {
  color: var(--muted);
}
.info dd {
  color: var(--sub);
}
.about {
  display: grid;
  gap: 8px;
  max-width: 47em;
  margin-top: 22px;
  font-size: 15.5px;
  line-height: 1.8;
}

/* ── 섹션: 왼쪽에 제목, 오른쪽에 내용 ── */
.sec {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 8px 24px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.sec > h2 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
/* 섹션을 가르는 가는 줄의 왼쪽 끝만 짧게 굵은 선으로 */
.sec > h2 {
  position: relative;
}
.sec > h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: -30px;
  width: 28px;
  height: 3px;
  background: var(--text);
}
.sec > h2 small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
}
.nw {
  white-space: nowrap;
}
.plain {
  padding: 0;
  list-style: none;
}

/* ── 경력 ── */
.job + .job {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.job-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 16px;
}
.job-head h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.job-meta {
  color: var(--muted);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.work {
  margin-top: 26px;
}
/* 묶음 제목: 가는 밑줄로 본문과 구분 */
.work h4 {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
}
.work h4 small {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
}
.label {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.bul {
  margin-top: 8px;
  padding-left: 1.1em;
  color: var(--sub);
}
.label + .bul {
  margin-top: 2px;
}
.bul li {
  margin-top: 2px;
  padding-left: 2px;
  line-height: 1.65;
}
.bul li::marker {
  color: #b9b9b3;
}

/* ── 대표 프로젝트: 제목 아래에 이름표와 내용 ── */
/* 건마다 왼쪽에 가는 세로줄 */
.case {
  margin-top: 16px;
  padding: 1px 0 1px 14px;
  border-left: 2px solid var(--line);
}
.case + .case {
  margin-top: 20px;
}
.case h5 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 12px;
  font-size: 15px;
  font-weight: 600;
}
.case h5 small {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
}
.kv {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}
.kv > div {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 0 10px;
}
.kv dt {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.9;
}
.kv dd {
  color: var(--sub);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ── 프로젝트 이력 ── */
.year {
  margin-top: 16px;
}
.year + .year {
  margin-top: 26px;
}
.year-h {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.year-h small {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
}
.rows {
  padding: 0;
  list-style: none;
}
.row {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) auto;
  align-items: start;
  gap: 0 14px;
  padding: 8px 0;
  border-bottom: 1px solid #efefeb;
}
.rows .row:last-child {
  border-bottom: 0;
}
.row-when {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.row-name strong {
  font-weight: 600;
}
.row-tg {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12.5px;
}
.row-find {
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.55;
}
.row-role {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
  white-space: nowrap;
}
.row-role.is-pl {
  margin-top: 3px;
  padding: 0 6px;
  border: 1px solid var(--text);
  border-radius: 3px;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.65;
}
.foot {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

/* ── 좁은 화면 ── */
@media (max-width: 720px) {
  .page {
    padding-top: 30px;
  }
  .me-top {
    align-items: flex-start;
    flex-direction: column;
  }
  h1 {
    font-size: 30px;
  }
  .sec {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .sec > h2 {
    font-size: 17px;
  }
  .sec > h2 small {
    display: inline;
    margin-left: 8px;
  }
  .kv > div {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0 8px;
  }
  .row {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 0;
  }
  .row-when {
    grid-column: 1;
    grid-row: 1;
  }
  .row-role {
    grid-column: 2;
    grid-row: 1;
  }
  .row-main {
    grid-column: 1 / -1;
  }
  .row-tg {
    display: block;
    margin-left: 0;
  }
}

/* ── 인쇄 ── */
@media print {
  .skip,
  .draft-note {
    display: none !important;
  }
  body {
    background: #fff;
    font-size: 10.5pt;
  }
  .page {
    width: 100%;
    padding: 0;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  .row,
  .case,
  .bul li {
    break-inside: avoid;
  }
  .job-head,
  .year-h,
  .label,
  .work h4 {
    break-after: avoid;
  }
  .case,
  .year-h {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
