:root {
  color-scheme: light;
  --text: #142634;
  --muted: #6a737d;
  --link: #286858;
  --line: #e8ebee;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: #fff; color: var(--text); font: 16px/1.85 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif; word-break: keep-all; }
a { color: var(--link); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
.page { display: grid; grid-template-columns: 180px minmax(0, 670px); gap: 80px; max-width: 1050px; margin: auto; padding: 80px 45px 40px; }
.sidebar { align-self: start; position: sticky; top: 55px; }
.avatar { display: block; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.name { display: block; font-size: 27px; font-weight: 700; line-height: 1.4; color: var(--text); letter-spacing: -.8px; }
.handle { margin: 3px 0 18px; color: var(--muted); font-size: 14px; }
.job { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
nav { display: grid; gap: 8px; margin: 32px 0; }
nav a { width: fit-content; color: var(--text); font-size: 14px; }
.links { display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 8px; font-size: 14px; }
main { min-width: 0; }
section { margin-bottom: 48px; }
h1 { font-size: 28px; font-weight: 700; line-height: 1.5; letter-spacing: -.9px; margin: 0 0 23px; }
h2 { font-size: 19px; line-height: 1.5; letter-spacing: -.3px; margin: 0 0 20px; font-weight: 650; }
h3 { font-size: 16px; line-height: 1.6; font-weight: 600; margin: 0; }
p { margin: 0 0 16px; }
.intro > p { line-height: 1.95; }
.intro .eyebrow { font-size: 11px; font-weight: 650; color: var(--link); letter-spacing: 2px; margin-bottom: 15px; }
.work-note { margin-top: 26px; padding-left: 18px; border-left: 2px solid #d8dee5; }
.work-note h2 { font-size: 15px; margin-bottom: 8px; }
.work-note ul { padding-left: 18px; margin: 0; color: #505963; font-size: 15px; }
.work-note li { margin: 5px 0; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.results > div { display: grid; align-content: start; gap: 7px; font-size: 12px; background: #f1f6f4; border: 1px solid #e2ece7; border-radius: 12px; padding: 18px 13px; }
.result-value { font-size: 19px; font-weight: 650; color: #256050; }
.measurement-note { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 14px; }
.project-group { font-size: 14px; color: var(--muted); margin: 28px 0 18px; }
.work-project { margin-bottom: 30px; }
.project-details { margin: 0 0 12px; padding-left: 20px; color: #505963; font-size: 15px; }
.project-details li { margin-bottom: 10px; }
.project .project-tech { font-size: 12px; color: var(--muted); }
section:not(.intro) > h2, .section-head { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.small-link { font-size: 13px; }
.entry-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.meta { font-size: 13px; color: var(--muted); line-height: 1.7; }
.entry > p, .project p { font-size: 15px; color: #505963; line-height: 1.85; margin-bottom: 12px; }
.dates { list-style: none; padding: 0; margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.dates li { display: flex; gap: 26px; margin-bottom: 4px; }
.dates li span:first-child { min-width: 160px; }
.project { margin-bottom: 24px; }
.other-projects { display: grid; grid-template-columns: 1fr auto; gap: 9px 20px; font-size: 15px; padding-top: 8px; }
.other-projects a { overflow-wrap: anywhere; }
.stack { margin: 0; font-size: 15px; }
.stack > div { display: grid; grid-template-columns: 125px 1fr; gap: 16px; margin: 10px 0; }
dt { color: var(--muted); font-size: 14px; }
dd { margin: 0; }
.education { display: flex; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.education .meta { flex-shrink: 0; padding-top: 2px; }
.education p { color: var(--muted); font-size: 14px; margin: 3px 0 0; }
.contact p { color: #505963; font-size: 15px; }
.contact > a { overflow-wrap: anywhere; font-size: 15px; }
footer { display: flex; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 12px; color: var(--muted); }
footer span { margin-right: auto; }
footer a { color: var(--muted); }
.skip { position: absolute; top: -100px; left: 20px; padding: 10px 18px; color: white; background: var(--text); }
.skip:focus { top: 10px; }
@media (max-width: 900px) {
  .page { gap: 40px; grid-template-columns: 160px minmax(0, 1fr); padding-inline: 30px; }
  .education { flex-wrap: wrap; gap: 3px; }
  .education .meta { width: 100%; }
  .stack > div { grid-template-columns: 1fr; gap: 0; margin-bottom: 15px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 20px; }
  .page { display: block; padding: 30px 24px; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 70px; padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
  .sidebar > a:first-child { grid-column: 2; grid-row: 1 / 4; }
  .avatar { width: 64px; height: 64px; margin: 0; border-radius: 10px; }
  .name { grid-column: 1; grid-row: 1; font-size: 25px; }
  .handle { grid-column: 1; grid-row: 2; margin-bottom: 10px; }
  .job { grid-column: 1; grid-row: 3; font-size: 13px; }
  nav { grid-column: 1 / 3; display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 16px; }
  .links { grid-column: 1 / 3; }
  h1 { font-size: 24px; margin-bottom: 20px; }
  section { margin-bottom: 38px; }
  .entry-title { gap: 2px; }
  .entry-title > .meta { width: 100%; }
  .education { margin-bottom: 20px; }
  .other-projects { gap: 14px; font-size: 14px; }
  .results { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
