@font-face { font-family: Pretendard; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/Pretendard-Regular.woff2') format('woff2'); }
@font-face { font-family: Pretendard; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/Pretendard-Bold.woff2') format('woff2'); }
* { box-sizing: border-box; }
:root { color-scheme: light; font-family: Pretendard, "Malgun Gothic", sans-serif; color: #222222; background: #eef1f4; --accent: #294b6b; --muted: #59636e; --line: #d1d5db; }
body { margin: 0; font-size: 16px; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
nav { max-width: 1040px; margin: 24px auto; display: flex; justify-content: flex-end; align-items: center; gap: 24px; padding: 0 8px; font-size: 14px; }
nav a:last-child { background: var(--accent); color: white; padding: 9px 18px; border-radius: 5px; text-decoration: none; font-weight: 700; }
main { max-width: 1040px; margin: 0 auto 64px; padding: 58px 64px; background: white; border-top: 6px solid var(--accent); box-shadow: 0 8px 40px #233b5010; }
h1,h2,h3,h4,h5,p { margin: 0; }
h1 { font-size: 50px; line-height: 1.15; letter-spacing: -.04em; }
h2 { font-size: 13px; letter-spacing: .07em; color: var(--accent); text-transform: uppercase; border-top: 3px solid var(--accent); padding-top: 12px; line-height: 1.5; }
h3 { font-size: 27px; line-height: 1.35; letter-spacing: -.025em; }
h4 { display: flex; align-items: baseline; gap: 12px; font-size: 19px; line-height: 1.5; color: var(--accent); margin-bottom: 12px; letter-spacing: -.015em; }
h5 { font-size: 11px; letter-spacing: .03em; color: var(--accent); margin-bottom: 4px; }
p + p { margin-top: 8px; }
ul { padding-left: 19px; margin: 12px 0; } li + li { margin-top: 9px; } li::marker { color: #8094a8; }
main > section { display: grid; grid-template-columns: 112px minmax(0,1fr); column-gap: 32px; margin-top: 48px; }
main > section > h2 { grid-column: 1; grid-row: 1 / span 50; align-self: start; }
main > section > :not(h2) { grid-column: 2; min-width: 0; }
.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.role { font-size: 20px; color: var(--accent); margin-top: 12px; }
.contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; }
.contact a { color: var(--muted); }
#summary { margin-top: 32px; }
#summary > p { font-size: 17px; line-height: 1.85; }
.muted { color: var(--muted); font-size: 13px; }
.experience + .experience { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 44px; }
.experience > header { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.period { flex-shrink: 0; max-width: 46%; text-align: right; line-height: 1.6; }
.job-role { font-size: 14px; font-weight: 700; margin-top: 7px; }
.experience > .muted { margin-top: 2px; }
.company-summary { margin-top: 16px; padding-left: 16px; border-left: 2px solid #cbd7e2; }
.project { margin-top: 30px; }
.project-number { font-size: 12px; font-weight: 400; color: #6a7d90; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.project-context { color: var(--muted); font-size: 15px; line-height: 1.75; }
.detail { margin-top: 12px; }
.result { padding: 12px 16px; background: #f1f5f8; border-left: 3px solid #8aa2b8; font-size: 14px; line-height: 1.7; }
.result strong { color: var(--accent); }
.extra { border-top: 1px dashed var(--line); padding-top: 20px; }
.extra h4 { font-size: 16px; }
.education + .education { margin-top: 20px; }
.education h3 { font-size: 18px; }
dl { margin: 0; }
dl > div { display: grid; grid-template-columns: 125px minmax(0,1fr); gap: 20px; padding: 12px 0; border-bottom: 1px solid #e5e9ed; }
dl > div:first-child { padding-top: 0; } dt { font-size: 14px; font-weight: 700; } dd { margin: 0; font-size: 14px; }
#side-projects > .project { margin-top: 0; padding: 22px 24px; border: 1px solid #dce3ea; border-radius: 6px; }
#side-projects > .project + .project { margin-top: 16px; }
#side-projects h3 { font-size: 21px; margin-bottom: 10px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; margin-top: 14px; }
@media (max-width: 800px) {
  main { padding: 38px 28px; } nav { padding: 0 20px; }
  main > section { grid-template-columns: 80px minmax(0,1fr); column-gap: 22px; }
  .intro { align-items: flex-start; flex-direction: column; gap: 16px; }
  .contact { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }
  .experience > header { display: block; } .period { max-width: none; text-align: left; margin-top: 6px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; } main { padding: 30px 22px; margin-bottom: 0; } nav { margin: 16px 0; }
  h1 { font-size: 42px; } h3 { font-size: 25px; } h4 { font-size: 18px; }
  main > section { display: block; margin-top: 38px; }
  h2 { display: inline-block; min-width: 64px; margin-bottom: 24px; padding-top: 9px; }
  #summary > p { font-size: 16px; }
  .company-summary { padding-left: 12px; }
  dl > div { grid-template-columns: 1fr; gap: 4px; }
  #side-projects > .project { padding: 18px; }
}
@media print {
  @page { size: A4; margin: 14mm 16mm 15mm; }
  :root { background: white; }
  body { background: white; font-size: 10.5pt; line-height: 1.55; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  nav { display: none; } main { padding: 0; border: 0; margin: 0; max-width: none; box-shadow: none; }
  .intro { padding: 4mm 0; border-top: 1.2mm solid var(--accent); gap: 5mm; }
  h1 { font-size: 30pt; } .role { font-size: 12pt; margin-top: 2mm; }
  .contact { font-size: 9pt; } .contact a { text-decoration: none; }
  main > section { display: block; margin-top: 5mm; }
  h2 { display: block; border-top: 0; border-bottom: 1px solid var(--line); padding: 0 0 1.5mm; margin-bottom: 3mm; font-size: 10pt; letter-spacing: .07em; }
  #summary { margin-top: 4mm; } #summary > p { font-size: 10.5pt; line-height: 1.5; }
  h3 { font-size: 16pt; } h4 { font-size: 12pt; gap: 2.5mm; margin-bottom: 2mm; } h5 { font-size: 8pt; margin-bottom: .8mm; }
  .project-number { font-size: 8pt; }
  .muted,.links { font-size: 9pt; } .job-role { font-size: 9pt; margin-top: 1mm; }
  .experience > .muted { margin-top: .5mm; }
  .company-summary { margin-top: 2mm; padding-left: 3mm; }
  p + p { margin-top: 1.5mm; }
  .experience + .experience { margin-top: 6mm; padding-top: 4mm; }
  .project { margin-top: 5mm; break-inside: avoid; } .detail { margin-top: 2mm; }
  .project-context { font-size: 10pt; line-height: 1.5; }
  .result { font-size: 10pt; line-height: 1.5; padding: 2mm 3mm; border-left-width: .6mm; }
  ul { margin: 2mm 0; padding-left: 5mm; } li + li { margin-top: 1.5mm; }
  .extra { padding-top: 3mm; } .extra h4 { font-size: 11pt; }
  h2,h3,h4,h5,.experience > header,.job-role,.experience > .muted,.company-summary { break-after: avoid; }
  p,li { orphans: 3; widows: 3; } .education,#skills,.experience.compact { break-inside: avoid; }
  #skills { break-before: page; }
  dl { display: table; width: 100%; border-collapse: collapse; }
  dl > div { display: table-row; border: 0; }
  dt,dd { display: table-cell; vertical-align: top; padding: 1mm 0; font-size: 9.5pt; }
  dt { width: 33mm; padding-right: 3mm; }
  #side-projects > .project { padding: 0; border: 0; margin-top: 3mm; }
  #side-projects > .project + .project { margin-top: 4mm; }
  #side-projects h3 { font-size: 12pt; margin-bottom: 1mm; }
  .links { margin-top: 1.5mm; gap: 2mm 5mm; }
  .education h3 { font-size: 11pt; } .education + .education { margin-top: 3mm; }
}
