@font-face {
  font-family: Pretendard;
  src: url("assets/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f2f2f2;
  color: #222;
  font:
    9.6pt/1.65 Pretendard,
    "Malgun Gothic",
    sans-serif;
  word-break: keep-all;
}
a {
  color: #275d8c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover {
  color: #17374f;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #275d8c;
  outline-offset: 4px;
}
h1,
h2,
h3,
h4,
p,
figure,
dl {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.4;
}
strong {
  font-weight: 700;
}
.actions {
  width: 210mm;
  margin: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-size: 12px;
}
.actions button {
  font: inherit;
  background: transparent;
  border: 0;
  color: #275d8c;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.page {
  width: 210mm;
  min-height: 297mm;
  background: white;
  margin: 0 auto 20px;
  padding: 14mm 16mm 18mm;
  position: relative;
}
.identity {
  padding-bottom: 5mm;
  border-bottom: 1px solid #999;
}
.identity h1 {
  font-size: 27pt;
  letter-spacing: -1px;
  margin-bottom: 3mm;
}
.identity h1 span {
  font-size: 12pt;
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 4mm;
}
.identity p {
  font-size: 9pt;
  line-height: 1.9;
}
.summary {
  margin: 5mm 0 6mm;
  line-height: 1.85;
}
h2 {
  font-size: 15pt;
  margin: 5mm 0 3mm;
  padding-bottom: 1.5mm;
  border-bottom: 1px solid #ccc;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 12pt;
}
h4 {
  font-size: 10.5pt;
}
ul {
  padding-left: 4.5mm;
  margin: 2mm 0;
}
li {
  padding-left: 0.5mm;
  margin: 1.2mm 0;
  line-height: 1.72;
}
.row-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4mm;
}
.row-heading > span {
  font-size: 8.5pt;
  color: #666;
  white-space: nowrap;
}
.meta {
  font-size: 8.6pt;
  color: #666;
  margin: 1mm 0 3mm;
}
.work {
  margin-top: 4mm;
}
.work > p:not(.tech) {
  margin-top: 2mm;
}
.tech {
  font-size: 8pt;
  color: #666;
  margin-top: 2mm;
}
.skills {
  font-size: 8.8pt;
}
.skills > div {
  display: grid;
  grid-template-columns: 19mm 1fr;
  gap: 2mm;
  margin: 1.4mm 0;
}
.skills dt {
  font-weight: 650;
}
.skills dd {
  margin: 0;
}
.reference {
  font-size: 7.2pt;
  color: #777;
  margin-top: 4mm;
  line-height: 1.7;
}
.page > footer {
  position: absolute;
  left: 16mm;
  right: 16mm;
  bottom: 8mm;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ddd;
  padding-top: 2.5mm;
  font-size: 7.5pt;
  color: #777;
}
.page-label {
  font-size: 8.5pt;
  color: #777;
  margin-bottom: 2mm;
}
.project-heading h2 {
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 19pt;
}
.project-heading > a {
  font-size: 9pt;
  white-space: nowrap;
}
.section-title {
  font-size: 12pt;
  margin: 4mm 0 3mm;
}
.screens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3mm;
}
.screens img {
  display: block;
  width: 100%;
  height: 27mm;
  object-fit: contain;
  object-position: center;
  background: #fafafa;
  border: 1px solid #ddd;
}
.screens figcaption {
  font-size: 7.4pt;
  color: #555;
  margin-top: 1.5mm;
  line-height: 1.5;
}
.image-note {
  font-size: 7pt;
  color: #777;
  margin: 2mm 0 4mm;
}
.technical {
  margin-top: 4mm;
}
.technical h3,
.technical h4 {
  margin-bottom: 1.7mm;
}
.technical > p {
  line-height: 1.75;
}
.technical h4 span {
  font-size: 7.7pt;
  color: #777;
  font-weight: 400;
  margin-left: 2mm;
}
.top-title {
  margin-top: 0;
  font-size: 18pt;
  border: 0;
  padding: 0;
}
.tight {
  margin-top: 3.5mm;
}
.tight p {
  font-size: 9.2pt;
}
.doori {
  display: block;
}

.doori ul {
  font-size: 9pt;
  margin-top: 1.5mm;
}
.doori li {
  margin: 1mm 0;
}
.inline-meta {
  font-size: 8pt;
  color: #777;
  font-weight: 400;
  margin-left: 2mm;
}
.other {
  font-size: 8pt;
  color: #666;
  margin-top: 3mm;
  line-height: 1.7;
}
.education {
  font-size: 9pt;
  line-height: 1.95;
}
.education span {
  font-size: 8pt;
  color: #666;
  margin-left: 3mm;
}
@page {
  size: A4;
  margin: 0;
}
@media print {
  body {
    background: white;
  }
  .actions {
    display: none;
  }
  .page {
    width: 210mm;
    height: 297mm;
    min-height: 0;
    margin: 0;
    break-after: page;
  }
  .page:last-child {
    break-after: auto;
  }
  .screens img {
    break-inside: avoid;
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
@media screen and (max-width: 820px) {
  body {
    background: white;
  }
  .actions {
    width: auto;
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .page {
    width: 100%;
    min-height: 0;
    padding: 28px 24px 20px;
    margin: 0;
  }
  .page > footer {
    position: static;
    margin-top: 28px;
  }
  .identity h1 {
    font-size: 30px;
  }
  .identity h1 span {
    font-size: 15px;
  }
  .project-heading {
    flex-wrap: wrap;
    gap: 6px;
  }
  .project-heading h2 {
    font-size: 24px;
  }
  .screens {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .screens img {
    height: 110px;
  }
  .screens figcaption {
    font-size: 10px;
  }
  .row-heading {
    flex-wrap: wrap;
    gap: 3px;
  }
  .summary {
    font-size: 13px;
  }
  .technical h4 span {
    display: block;
    margin: 4px 0 0;
  }
  .doori {
    display: block;
  }

  .education span {
    display: block;
    margin: 0;
  }
  .identity h1 span {
    display: block;
    margin: 4px 0 0;
  }
  .page + .page {
    border-top: 1px solid #ddd;
  }
  li {
    line-height: 1.8;
  }
  .image-note {
    font-size: 10px;
  }
}

.agent-screens {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4mm;
}
.agent-screens img {
  height: 31mm;
}
#agent .technical {
  margin-top: 3.5mm;
}
#agent li {
  font-size: 9.1pt;
  line-height: 1.7;
  margin: 1mm 0;
}
#agent .summary {
  margin-bottom: 4mm;
}
#agent .technical h3 {
  font-size: 11pt;
}
@media screen and (max-width: 520px) {
  .agent-screens {
    grid-template-columns: repeat(2, 1fr);
  }
}

.company-page .technical {
  margin-top: 4.5mm;
}
.company-page .technical h3 {
  font-size: 11pt;
}
.section-heading {
  margin-top: 6mm;
}
#inerit .technical {
  margin-top: 3mm;
}
#inerit li {
  font-size: 9.1pt;
  margin: 1mm 0;
}
#inerit .screens {
  margin-top: 4mm;
}

.identity {
  display: flex;
  gap: 6mm;
  align-items: center;
}
.profile-photo {
  width: 25mm;
  height: 33mm;
  object-fit: cover;
  flex-shrink: 0;
}
.identity-details {
  min-width: 0;
}
.identity h1 span {
  display: block;
  margin: 1.5mm 0 0;
}
.role-title {
  font-size: 9.5pt;
  margin-top: 1mm;
}
@media screen and (max-width: 520px) {
  .identity {
    gap: 16px;
    align-items: flex-start;
  }
  .profile-photo {
    width: 72px;
    height: 96px;
  }
  .identity h1 {
    font-size: 27px;
  }
  .identity p {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
}

.introduction {
  margin: 3mm 0;
  line-height: 1.75;
}
.profile-photo {
  object-fit: contain;
  height: 29mm;
}
