html {-webkit-text-size-adjust: 100%; text-size-adjust: 100%;}
body {background-color: #fdfdfd; color: #2c3c4c; margin: 0; font-size: 15px; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;}
h1 {margin-bottom: 32px; font-size: 2.4em;}
h2 {margin-top: 48px; font-size: 1.6em;}
h1, h2 {color: #345;}
* {font-weight: normal; font-family: Inter, system-ui, Roboto, 'Helvetica Neue', Helvetica, sans-serif;}
.header {width: 100%; padding-top: 24px; padding-bottom: 0;}
.header-div {border-bottom: #e0e0e0 1px solid; padding-bottom: 20px; display: flex; align-items: flex-start;}
.header-profile-picture {width: 150px; height: 150px; flex-shrink: 0; margin-right: 24px; border-radius: 50%; background-image: url(files/JunsungPark.jpg); background-position: center 10%; background-size: cover; background-repeat: no-repeat;}
.header-text {align-self: center;}
.header-name h1 {margin-top: 0; margin-bottom: 6px; line-height: 1.1;}
.header-subtitle {margin-bottom: 10px;}
.content {max-width: 860px; padding-left: 16px; padding-right: 16px; margin: 48px auto 0;}
a {color: #2471a3; text-decoration: none; transition: color 0.2s;}
a:focus, a:hover {color: #f09228;}
p {line-height: 1.5em;}
.noselect {-webkit-touch-callout: none; -webkit-user-select: none; user-select: none;}
.bold {font-weight: bold;}
.italic {font-style: italic;}
.row {display: flex; align-items: flex-start; box-sizing: border-box;}
.row-media {flex-shrink: 0; width: 200px; height: 112px; background-position: center; background-size: contain; background-repeat: no-repeat; overflow: hidden;}
.row-media video, .row-media img {display: block; width: 100%; height: 100%; object-fit: contain;}
.row-media {cursor: zoom-in;}
.lightbox {position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(20,26,32,0.88); cursor: zoom-out;}
.lightbox.open {display: flex;}
.lightbox img, .lightbox video {display: block; width: min(92vw, calc(88vh * var(--ratio, 1.78))); height: auto; aspect-ratio: var(--ratio, 1.78); border-radius: 6px; opacity: 0; transition: opacity 0.2s;}
.lightbox img {background: #fff;}
.lightbox .ready {opacity: 1;}
.lightbox-close {position: absolute; top: 12px; right: 16px; color: #fff; font-size: 32px; line-height: 1; opacity: 0.8;}
.row-text {margin-left: 16px; line-height: 1.5em; min-width: 0;}
.row-text span {line-height: inherit;}
.section-header {display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 16px;}
.section-hint {color: #999; font-size: 0.85em; margin-bottom: 16px;}
.notice {background: #fdeeee; color: #a33a3a; padding: 8px 14px; border-radius: 8px;}
.publication {margin-bottom: 36px; padding: 8px; border-radius: 6px;}
.publication.highlight {background: linear-gradient(135deg, #f1e9fb, #e4d6f4); width: 100%; border-radius: 10px;}
.publication.highlight .publication-title, .publication.highlight a:not(.btn-feature) {color: #75409c;}
.publication.highlight a:not(.btn-feature):hover {color: #9150be;}
.btn-feature {background: #75409c; color: #fff; border-radius: 999px; padding: 2px 10px;}
.btn-feature:hover {background: #9150be; color: #fff;}
.sticky-nav {position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(253,253,253,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #e0e0e0; transform: translateY(-100%); transition: transform 0.3s ease; font-size: 14px;}
.sticky-nav.visible {transform: translateY(0);}
.sticky-nav-content {max-width: 860px; margin: auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between;}
.sticky-nav-name {color: #345; font-size: 16px; text-decoration: none;}
.sticky-nav-name:hover {color: #345;}
.header-links {display: flex; flex-wrap: wrap; align-items: center; gap: 16px;}
.sticky-nav-links {display: flex; gap: 16px;}
.sticky-nav-links a {color: #2471a3; text-decoration: none; transition: color 0.2s;}
.sticky-nav-links a:hover {color: #f09228;}
.footer {border-top: #e0e0e0 1px solid; width: 100%; max-width: 860px; margin: auto;}
.footer-content {color: #999; font-size: 12px; padding: 12px 0; max-width: 860px; margin: auto;}
.footer-content a {color: #999 !important; text-decoration: underline; transition: color 0.2s;}
.footer-content a:hover {color: #666 !important;}

@media only screen and (max-width: 1150px) {
    .header-div {flex-direction: column; align-items: center; text-align: center;}
    .header-profile-picture {margin: 0 auto 22px; width: 180px; height: 180px;}
    body {font-size: 18px;}
    a.btn {font-size: 14px; padding: 2px 6px;}
}

@media only screen and (max-width: 1000px) {
    .publication {margin-bottom: 46px;}
    .publication.row {flex-direction: column; align-items: center;}
    .publication .row-media {width: 100%; max-width: 400px; height: 158px; margin-bottom: 12px;}
    .publication .row-text {width: 100%; margin-left: 0;}
    .header-links {justify-content: center; margin-left: 0;}
}

@media only screen and (max-width: 600px) {
    .sticky-nav-links {gap: 12px;}
    .sticky-nav-name {font-size: 14px;}
}
