:root {
    --paper: #f6f7f3;
    --white: #fff;
    --ink: #202923;
    --muted: #626c63;
    --green: #365f49;
    --line: #d9ded5;
    --soft: #eaf0e5;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
::selection { background: #d7e4c9; color: var(--ink); }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { color: var(--green); }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; border-radius: 2px; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
h1, h2, h3, h4 { line-height: 1.4; }
ul, ol { padding: 0; }
section[id] { scroll-margin-top: 24px; }
h3[id] { scroll-margin-top: 110px; }
#main { scroll-margin-top: 85px; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-top: 104px; padding-bottom: 104px; }
.eyebrow { font-family: var(--mono); font-size: 11px; line-height: 1.5; font-weight: 500; letter-spacing: 1.5px; color: var(--green); }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 10; background: var(--ink); color: white; padding: 10px 20px; }
.skip-link:focus { top: 10px; }

/* Navigation */
.site-header { min-height: 85px; padding: 0 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); background: rgba(246,247,243,.96); position: sticky; top: 0; z-index: 5; }
.wordmark { display: flex; align-items: center; gap: 20px; }
.wordmark-symbol { font-size: 35px; font-weight: 800; line-height: 1; letter-spacing: -3px; }
.wordmark-symbol > span { color: var(--green); }
.wordmark-label { font-size: 13px; font-weight: 650; }
.wordmark-label > span { margin-left: 8px; color: var(--muted); font-weight: 400; }
.site-header nav { display: flex; gap: 30px; align-items: center; font-size: 13px; font-weight: 550; }
.blog-link { padding-left: 28px; border-left: 1px solid var(--line); }
.blog-link span { margin-left: 7px; }

/* Introduction */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: center; padding-top: 104px; padding-bottom: 94px; }
.hero .eyebrow { margin-bottom: 30px; }
.small-dot { display: inline-block; width: 6px; height: 6px; margin-right: 9px; margin-bottom: 2px; background: var(--green); border-radius: 50%; }
.hero h1 { font-size: clamp(40px, 4.3vw, 58px); font-weight: 720; line-height: 1.35; letter-spacing: -2.8px; }
.hero h1 span { color: var(--green); }
.hero-description { margin-top: 28px; color: var(--muted); font-size: 16px; line-height: 1.9; letter-spacing: -.25px; }
.hero-description strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 36px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px 22px; border-radius: 3px; font-size: 14px; font-weight: 550; }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: var(--green); color: white; }
.button span, .text-link span { font-size: 19px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; }
.text-link:hover { text-decoration: underline; }
.hero-note { padding: 30px 26px 24px; background: var(--soft); border: 1px solid #dce5d5; border-radius: 3px; }
.hero-note .eyebrow { font-size: 10px; letter-spacing: 1.2px; margin-bottom: 26px; }
.focus-title { font-size: 32px; line-height: 1.4; letter-spacing: -1.4px; font-weight: 600; }
.focus-list { margin-top: 28px; }
.focus-list > div { display: flex; align-items: baseline; gap: 13px; border-top: 1px solid #d2ddca; padding: 13px 0; }
.focus-list dt { font-family: var(--mono); font-size: 10px; color: var(--green); }
.focus-list dd { font-size: 12px; font-weight: 500; }
.note-caption { padding-top: 20px; border-top: 1px solid #d2ddca; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: -.2px; }
.intro-strip { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; padding-top: 32px; padding-bottom: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-strip > p { font-size: 18px; line-height: 1.8; letter-spacing: -.4px; }
.intro-strip strong { font-weight: 600; }
.intro-summary { color: var(--muted); font-size: 14px; line-height: 1.9; }
.intro-summary p + p { margin-top: 6px; }

/* Selected projects */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2 { font-size: 34px; font-weight: 650; letter-spacing: -1.3px; }
.section-description { color: var(--muted); font-size: 13px; line-height: 1.8; }
.project { display: grid; grid-template-columns: .88fr 1.12fr; border: 1px solid var(--line); background: var(--white); border-radius: 4px; margin-bottom: 24px; }
.project:last-child { margin-bottom: 0; }
.project-heading { padding: 38px 36px; border-right: 1px solid var(--line); }
.project-featured .project-heading { background: #edf1e8; }
.project-index { font-family: var(--mono); color: var(--green); font-size: 10px; letter-spacing: .8px; }
.project-index > span { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; letter-spacing: 1px; }
.project-title-row { margin-top: 35px; }
.project-title-row h3 { font-size: 28px; line-height: 1.5; font-weight: 650; letter-spacing: -1px; }
.company-label { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 600; }
.project-meta { margin-top: 6px; color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 1.8; }
.project-meta > span { display: block; margin-top: 4px; font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 11px; }
.project-lead { margin-top: 25px; font-size: 14px; line-height: 1.9; color: #586359; }
.project-body { padding: 38px 36px; }
.project-detail + .project-detail { margin-top: 25px; }
.project-detail h4 { font-size: 15px; font-weight: 650; margin-bottom: 9px; letter-spacing: -.3px; }
.project-detail p { color: var(--muted); font-size: 14px; line-height: 1.95; }
.project-outcome { border-top: 1px solid var(--line); margin-top: 27px; padding-top: 20px; }
.detail-label { color: var(--green); font-size: 11px; font-weight: 650; }
.project-outcome p { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.85; }
.tech-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 24px; }
.tech-list li { padding: 3px 9px; background: #f3f5f0; border: 1px solid #e2e7de; border-radius: 3px; font-size: 10px; line-height: 1.8; color: #53604f; }
.outcome-metrics { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; }
.outcome-metrics > div + div { border-left: 1px solid var(--line); padding-left: 25px; }
.outcome-metrics strong { font-size: 37px; font-weight: 550; line-height: 1.3; letter-spacing: -1.5px; color: var(--green); }
.outcome-metrics strong span { font-size: 21px; margin-left: 3px; }
.outcome-metrics p { margin-top: 4px; font-size: 11px; color: var(--muted); }

/* Career */
.experience-section { background: #eef0ea; border-block: 1px solid var(--line); }
.career-list { list-style: none; }
.career-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 35px; padding: 31px 0; border-top: 1px solid #d2d9cc; }
.career-row:last-child { padding-bottom: 0; }
.career-period { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 5px; }
.career-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.career-heading h3 { font-size: 19px; font-weight: 650; letter-spacing: -.5px; }
.career-heading > span { color: var(--muted); font-size: 11px; }
.career-heading .company-en { margin-left: 7px; font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 400; }
.career-content > p { margin-top: 10px; color: #505b50; font-size: 14px; }
.career-details { margin-top: 12px; padding-left: 16px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.career-details li + li { margin-top: 5px; }
.career-details li::marker { color: #8d9d85; }
.inline-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--green); font-size: 11px; font-weight: 550; }
.inline-link:hover { text-decoration: underline; }

/* Approach and skills */
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.approach-copy h3 { font-size: 25px; line-height: 1.6; letter-spacing: -.9px; font-weight: 600; }
.approach-copy p { margin-top: 18px; font-size: 14px; line-height: 1.95; color: var(--muted); }
.approach-copy h4 { font-size: 15px; font-weight: 600; margin-top: 32px; letter-spacing: -.4px; }
.approach-copy h4 + p { margin-top: 10px; }
.skill-groups > div { border-top: 1px solid var(--line); padding: 17px 0; }
.skill-groups dt { font-size: 12px; font-weight: 600; color: var(--green); }
.skill-groups dd { margin-top: 7px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.education-row { display: grid; grid-template-columns: 150px 1.4fr 1fr; gap: 40px; border-top: 1px solid var(--line); margin-top: 64px; padding-top: 28px; }
.education-row .eyebrow { padding-top: 5px; }
.education-row h3 { font-size: 13px; font-weight: 550; }
.education-row div p { font-size: 11px; line-height: 1.9; color: var(--muted); margin-top: 6px; }

/* Contact */
.contact-section { background: #243c2f; color: #f3f5ef; }
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; padding-top: 76px; padding-bottom: 80px; align-items: center; }
.contact-section .eyebrow { color: #bfceb7; margin-bottom: 23px; }
.contact-section h2 { font-size: 37px; line-height: 1.5; font-weight: 550; letter-spacing: -1.4px; }
.contact-section p:not(.eyebrow) { color: #c2cfbd; font-size: 12px; margin-top: 18px; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; font-size: 13px; }
.contact-links a:hover { color: #d5e8c5; text-decoration: underline; }
.contact-links a:focus-visible, .print-button:focus-visible { outline-color: #d5e8c5; }
.contact-links .contact-email { font-size: 20px; padding-bottom: 18px; margin-bottom: 3px; border-bottom: 1px solid #617461; width: 100%; display: flex; justify-content: space-between; gap: 12px; }
.print-button { background: transparent; color: #c2cfbd; border: 0; border-bottom: 1px solid #617461; padding: 0 0 3px; margin-top: 10px; font-size: 12px; cursor: pointer; }
.print-button:hover { color: white; }
.site-footer { padding: 24px 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.site-footer a { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 11px; }

@media (min-width: 1600px) {
    .hero { padding-block: 126px; }
}

@media (max-width: 1100px) {
    .hero { grid-template-columns: minmax(0, 1fr) 245px; gap: 32px; }
    .hero h1 { font-size: 44px; letter-spacing: -2px; }
    .hero-note { padding-inline: 22px; }
    .hero-description { font-size: 14px; }
    .desktop-break { display: none; }
    .project-heading, .project-body { padding: 30px; }
    .project-title-row h3 { font-size: 25px; }
    .approach-grid { gap: 60px; }
    .contact-inner { gap: 45px; }
    .contact-links .contact-email { font-size: 17px; }
}

@media (max-width: 760px) {
    h3[id] { scroll-margin-top: 85px; }
    .wrap { width: calc(100% - 40px); }
    .section-space { padding-block: 64px; }
    .site-header { min-height: 69px; padding-inline: 20px; gap: 16px; }
    .wordmark { gap: 12px; }
    .wordmark-symbol { font-size: 30px; }
    .wordmark-label { font-size: 12px; }
    .wordmark-label > span { display: none; }
    .site-header nav { gap: 17px; font-size: 11px; }
    .blog-link { padding-left: 0; border: 0; }
    .blog-link span { margin-left: 2px; }
    .hero { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 54px; gap: 38px; }
    .hero .eyebrow { font-size: 10px; margin-bottom: 24px; letter-spacing: 1px; }
    .hero h1 { font-size: clamp(34px, 6.6vw, 48px); letter-spacing: -1.7px; line-height: 1.45; }
    .hero-description { margin-top: 24px; line-height: 1.95; }
    .hero-actions { gap: 20px; margin-top: 28px; }
    .button { font-size: 12px; padding: 11px 16px; min-height: 46px; gap: 20px; }
    .text-link { font-size: 12px; gap: 8px; }
    .hero-note { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0 28px; padding: 23px; }
    .hero-note .eyebrow { grid-column: 1; font-size: 9px; margin-bottom: 13px; }
    .focus-title { grid-column: 1; grid-row: 2; font-size: 27px; }
    .focus-list { grid-column: 2; grid-row: 1 / 4; margin: 0; align-self: center; }
    .focus-list > div { padding-block: 10px; gap: 9px; }
    .focus-list > div:first-child { border-top: 0; }
    .focus-list dd { font-size: 11px; }
    .note-caption { grid-column: 1; padding-top: 14px; margin-top: 17px; font-size: 8px; line-height: 1.9; }
    .intro-strip { grid-template-columns: 1fr; gap: 18px; padding-block: 28px; }
    .intro-strip > p { font-size: 17px; }
    .intro-summary { font-size: 13px; }
    .section-heading { flex-direction: column; align-items: flex-start; gap: 17px; margin-bottom: 30px; }
    .section-heading h2 { font-size: 28px; }
    .section-heading .eyebrow { font-size: 10px; }
    .section-description { font-size: 12px; }
    .section-description br { display: none; }
    .project { grid-template-columns: 1fr; margin-bottom: 20px; }
    .project-heading { border-right: 0; border-bottom: 1px solid var(--line); padding: 27px 24px; }
    .project-index > span { display: inline; margin: 0 0 0 15px; font-size: 8px; }
    .project-title-row { margin-top: 23px; }
    .project-title-row h3 { font-size: 25px; }
    .company-label { font-size: 13px; margin-top: 18px; }
    .project-meta { font-size: 10px; }
    .project-lead { font-size: 14px; margin-top: 20px; }
    .project-body { padding: 27px 24px; }
    .project-detail p { font-size: 14px; }
    .project-detail h4 { font-size: 14px; }
    .project-outcome p { font-size: 11px; }
    .career-row { grid-template-columns: 1fr; gap: 10px; padding-block: 26px; }
    .career-period { font-size: 11px; padding: 0; }
    .career-heading { gap: 8px; }
    .career-heading h3 { font-size: 18px; }
    .career-heading > span { font-size: 10px; }
    .career-content > p { font-size: 14px; }
    .career-details { font-size: 13px; }
    .approach-grid { grid-template-columns: 1fr; gap: 35px; }
    .approach-copy h3 { font-size: 23px; }
    .approach-copy p { font-size: 14px; }
    .skill-groups dd { font-size: 14px; }
    .education-row { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
    .contact-inner { grid-template-columns: 1fr; padding-block: 52px; gap: 35px; }
    .contact-section h2 { font-size: 30px; }
    .contact-section p:not(.eyebrow) { font-size: 11px; }
    .contact-links .contact-email { font-size: 19px; }
    .site-footer { padding: 22px 20px; font-size: 9px; }
}

@media (max-width: 380px) {
    .wordmark-label { display: none; }
    .hero h1 { font-size: 32px; }
    .hero-actions { gap: 15px; }
    .hero-note { gap: 0 16px; padding: 20px 16px; grid-template-columns: .9fr 1.2fr; }
    .focus-list dd { font-size: 10px; }
    .focus-title { font-size: 25px; }
    .project-index > span { display: block; margin: 5px 0 0; }
    .contact-links .contact-email { font-size: 17px; }
}

@media print {
    @page { size: A4; margin: 14mm; }
    :root { --paper: #fff; --line: #ccc; --muted: #444; }
    body { background: white; font-size: 10pt; }
    .site-header, .site-footer, .hero-actions, .hero-note, .inline-link, .print-button, .skip-link { display: none; }
    .wrap { width: 100%; }
    .hero { display: block; padding: 0 0 20px; }
    .hero .eyebrow { margin-bottom: 12px; }
    .hero h1 { font-size: 27pt; line-height: 1.4; letter-spacing: -1px; }
    .hero-description { font-size: 10pt; margin-top: 15px; }
    .intro-strip { gap: 25px; padding-block: 15px; }
    .intro-strip > p { font-size: 11pt; }
    .intro-summary { font-size: 9pt; }
    .section-space { padding-block: 26px; }
    .section-heading { margin-bottom: 20px; break-after: avoid; }
    .section-heading h2 { font-size: 20pt; }
    .section-description { font-size: 9pt; }
    .project { display: block; break-inside: avoid; border-radius: 0; }
    .project-heading, .project-body { padding: 17px 20px; }
    .project-heading { border-right: 0; border-bottom: 1px solid var(--line); background: white !important; }
    .project-title-row { margin-top: 12px; }
    .project-title-row h3 { font-size: 18pt; }
    .project-title-row h3 br { display: none; }
    .project-index > span { display: inline; margin-left: 15px; }
    .company-label { margin-top: 8px; }
    .project-meta > span { display: inline; margin-left: 12px; }
    .project-lead { margin-top: 12px; font-size: 9pt; }
    .project-detail h4 { font-size: 10pt; }
    .project-detail p, .project-outcome p { font-size: 9pt; line-height: 1.75; }
    .project-detail + .project-detail { margin-top: 13px; }
    .project-outcome { margin-top: 15px; padding-top: 12px; }
    .tech-list { margin-top: 14px; }
    .outcome-metrics { margin-top: 15px; padding-top: 12px; }
    .outcome-metrics strong { font-size: 25pt; }
    .experience-section { background: white; border: 0; }
    .career-row { grid-template-columns: 140px minmax(0, 1fr); padding-block: 18px; gap: 20px; break-inside: avoid; }
    .career-heading h3 { font-size: 12pt; }
    .career-content > p, .career-details { font-size: 9pt; }
    .approach-grid { gap: 35px; }
    .approach-copy h3 { font-size: 15pt; }
    .approach-copy p, .skill-groups dd { font-size: 9pt; }
    .education-row { gap: 20px; margin-top: 25px; }
    .contact-section { background: white; color: var(--ink); border-top: 1px solid var(--line); break-inside: avoid; }
    .contact-inner { padding-block: 25px; gap: 25px; }
    .contact-section h2 { font-size: 18pt; }
    .contact-section .eyebrow, .contact-section p:not(.eyebrow) { color: var(--muted); }
    .contact-links { gap: 8px; font-size: 9pt; }
    .contact-links .contact-email { font-size: 11pt; padding-bottom: 8px; }
}
