/* Minimal academic theme. No decorative lines, borders, panels or cards.
   Previous dark design: backup-dark-theme-before-kelly-2026-11-09 */
:root { color-scheme:light; --ink:#24272c; --secondary:#69747d; --link:#254c71; --paper:#fff; }
*, *::before, *::after { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:24px; }
body { margin:0; color:var(--ink); background:var(--paper); font:15px/1.86 'Open Sans','Noto Sans KR',sans-serif; -webkit-font-smoothing:antialiased; }
button, input, select { font:inherit; }
button { cursor:pointer; }
a { text-decoration:none; color:inherit; }
a:hover { color:var(--link); text-decoration:underline; text-underline-offset:4px; }
h1, h2, h3, p { margin:0; }
h1 { font-size:28px; font-weight:700; line-height:1.46; }
h2 { font-size:20px; font-weight:700; line-height:1.5; letter-spacing:.035em; }
h3 { font-size:15px; font-weight:700; line-height:1.65; }
.shell { width:min(930px,calc(100% - 68px)); margin:0 auto; }
.site-header { padding:60px 0 0; background:var(--paper); }
.masthead { display:block; }
.masthead-copy { min-width:0; flex:1; }
.site-name { letter-spacing:.025em; }
.roman { display:inline-block; margin-left:12px; color:#596672; font-size:20px; font-weight:400; letter-spacing:0; }
html[lang="en"] .roman { display:none; }
.site-subtitle { color:#454f57; font-size:15px; margin-top:7px; }
.nav-shell { margin-top:33px; }
.nav { display:flex; align-items:center; flex-wrap:wrap; gap:29px; }
.nav a, .lang-switch { font-size:15px; }
.nav a { color:#2e373f; }
.nav a:hover { color:var(--link); }
.lang-switch, .menu-toggle { padding:0; border:0; background:transparent; border-radius:0; color:#496579; }
.lang-switch:hover, .menu-toggle:hover { color:var(--link); text-decoration:underline; text-underline-offset:4px; }
.menu-toggle { display:none; }
.section { padding:68px 0 72px; background:var(--paper); }
.section.muted { background:#f5f7f9; }
.intro-section { padding-top:76px; }
.split { display:block; }
.section-side h2 { margin-bottom:18px; }
.section-body p { max-width:840px; }
.about-layout { display:grid; grid-template-columns:minmax(0,1fr) 170px; gap:50px; align-items:start; }
.about-copy { min-width:0; }
.about-portrait { margin:0; width:100%; }
.profile-photo { display:block; width:100%; height:auto; object-fit:contain; }
.section-head { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:20px; }
.section-head h2 { margin:0; }
.section-head .text-link { margin-left:auto; }
.eyebrow { color:var(--secondary); font-size:13px; }
.inline-links { display:flex; gap:25px; flex-wrap:wrap; margin-top:21px; }
.inline-links a, .text-link, .paper-link { color:var(--link); font-size:13px; font-weight:500; }
.grid { display:grid; gap:34px; }
.grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.interest { padding:0; background:none; border:0; }
.interest h3 { margin-bottom:4px; }
.interest p { color:var(--secondary); font-size:13px; line-height:1.8; }
.ordinal { display:none; }
.subtle, .counter, .paper-meta, .paper-number, .tag, .footnote, .cv-row span, .footer { color:var(--secondary); font-size:13px; }
.subsection-header { display:flex; align-items:baseline; gap:13px; margin:27px 0 15px; }
.subsection-header.top-space { margin-top:64px; }
.subsection-header h3 { font-size:15px; }
.paper { padding:0; margin:0 0 24px; border:0; background:transparent; }
.paper-heading { display:flex; align-items:baseline; justify-content:space-between; gap:14px; }
.paper-title { font-size:15px; font-weight:600; line-height:1.75; overflow-wrap:anywhere; }
.paper-title a { color:var(--link); text-transform:uppercase; letter-spacing:.01em; }
.paper-title a:hover { text-decoration:underline; text-underline-offset:3px; }
.paper-number { display:inline-block; width:23px; margin-right:8px; font-weight:500; }
.paper-meta { margin-top:4px; margin-left:31px; line-height:1.75; }
#workingPapers .paper-meta { margin-left:0; }
#workingPapers .paper-title { text-transform:uppercase; }
.paper .tag { display:none; }
.paper-link { display:inline-block; margin-top:5px; }
.filter-row { display:flex; align-items:center; gap:34px; margin:8px 0 30px; }
.filter-row input, .filter-row select { border:0; outline:0; border-radius:0; box-shadow:none; background:transparent; padding:4px 0; color:var(--ink); font-size:13px; }
.filter-row input { flex:1; min-width:0; }
.filter-row input::placeholder { color:var(--secondary); opacity:1; }
.filter-row select { min-width:105px; }
.filter-row input:focus-visible, .filter-row select:focus-visible, a:focus-visible, button:focus-visible { outline:2px solid #38638a; outline-offset:4px; }
.list-panel { padding:0; margin:0; border:0; border-radius:0; box-shadow:none; background:transparent; }
.list-panel h3 { margin:0 0 10px; }
.list-panel ul { list-style:none; padding:0; margin:0; }
.list-panel li { margin:0 0 7px; }
.cv-actions { display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.cv-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:42px 50px; }
.cv-group h3 { margin-bottom:14px; }
.cv-row { display:flex; flex-direction:column; margin-bottom:15px; line-height:1.75; }
.cv-row strong { font-size:15px; font-weight:600; }
.cv-row span { font-size:13px; color:var(--secondary); }
.contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 36px; }
.contact-grid > div { display:flex; flex-direction:column; }
.contact-grid a { color:var(--link); }
.footer { background:var(--paper); padding:70px 0 26px; }
.footer-inner { display:flex; flex-wrap:wrap; gap:18px; justify-content:space-between; }
.hidden { display:none !important; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.skip { position:absolute; left:-9999px; }
.skip:focus { left:18px; top:8px; z-index:100; padding:4px; background:var(--paper); }
@media (max-width:750px) {
  .shell { width:calc(100% - 38px); }
  .site-header { padding-top:31px; }
  .roman { display:block; margin:1px 0 0; font-size:15px; }
  html[lang="en"] .roman { display:none; }
  .nav-shell { margin-top:17px; }
  .menu-toggle { display:inline-block; font-size:15px; }
  .nav { display:none; flex-direction:column; align-items:flex-start; gap:11px; margin-top:17px; }
  .nav.open { display:flex; }
  .section { padding:51px 0 55px; }
  .intro-section { padding-top:57px; }
  .about-layout { grid-template-columns:1fr; gap:25px; }
  .about-portrait { max-width:150px; }
  .grid.three, .grid.two, .cv-columns, .contact-grid { grid-template-columns:1fr; gap:23px; }
  .filter-row { flex-wrap:wrap; gap:12px; }
  .filter-row input { flex-basis:60%; }
  .footer { padding-top:52px; }
}
@media print {
  .nav-shell, .footer { display:none; }
  .site-header { padding-top:12px; }
  .section { padding:24px 0; }
  .section.muted { background:#fff; }
  a { color:inherit; }
}
.about-layout.photo-unavailable { grid-template-columns:1fr; }

/* Reference-inspired English typography: condensed Oswald headings,
   clean Open Sans body; Korean glyphs fall back to Noto Sans KR. */
.roman { font-family:'Oswald','Open Sans',sans-serif; }
html[lang="en"] .site-name,
html[lang="en"] h2,
html[lang="en"] .subsection-header h3 {
  font-family:'Oswald','Open Sans',sans-serif;
  font-weight:500;
  letter-spacing:.025em;
}

.paper-meta .journal-name { font-style:italic; }
