/* BETA Lab — main stylesheet */
:root {
  --navy: #0A1F62;
  --navy-700: #0f2a80;
  --navy-900: #06133d;
  --crimson: #A6192E;
  --accent-on-navy: #b8c6ff;
  --ink: #1b2130;
  --ink-2: #4b5468;
  --ink-3: #7c8496;
  --line: #e3e6ee;
  --bg: #ffffff;
  --bg-2: #f5f7fb;
  --bg-3: #eaeef7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 31, 98, .06), 0 8px 24px -12px rgba(10, 31, 98, .18);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-head: "Montserrat", var(--font);
  --container: 1180px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.empty { color: var(--ink-3); text-align: center; padding: 3rem 1rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.ph { background: linear-gradient(135deg, var(--bg-3), #d9dfef); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; height: 72px; gap: 1rem; }
.brand-group { display: flex; align-items: center; gap: .8rem; flex: none; }
.univ { display: block; flex: none; }
.univ img, .brand-logo { width: 54px; height: 54px; display: block; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--navy); padding-left: .8rem; border-left: 1px solid var(--line); }
.brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.brand-text small { font-size: .74rem; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.nav { display: flex; align-items: center; margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.header-tools { display: flex; align-items: center; gap: .5rem; flex: none; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: .15rem; }
.lang-switch a { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .06em; padding: .35rem .7rem; border-radius: 999px; color: var(--ink-2); }
.lang-switch a:hover { color: var(--navy); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--navy); color: #fff; }
.nav li { position: relative; }
.nav > ul > li > a { display: block; padding: .55rem .8rem; font-weight: 600; font-size: .95rem; color: var(--ink); border-radius: 8px; }
.nav > ul > li > a:hover, .nav > ul > li.active > a { color: var(--navy); background: var(--bg-2); text-decoration: none; }
.nav > ul > li.active > a { box-shadow: inset 0 -2px 0 var(--crimson); border-radius: 8px 8px 0 0; }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 190px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; display: none; flex-direction: column; gap: 0; z-index: 60; }
.nav .sub a { display: block; padding: .5rem .8rem; border-radius: 8px; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.nav .sub a:hover, .nav .sub a[aria-current] { background: var(--bg-2); color: var(--navy); text-decoration: none; }
.nav li.has-sub:hover .sub, .nav li.has-sub:focus-within .sub { display: flex; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }
@media (max-width: 1040px) {
  .nav-toggle { display: flex; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; max-height: calc(100vh - 72px); overflow: auto; }
  .nav.open { display: block; }
  .header-tools { margin-left: auto; }
  .nav ul { flex-direction: column; padding: .6rem 1rem 1rem; }
  .nav > ul > li > a { padding: .75rem .6rem; font-size: 1.02rem; }
  .nav > ul > li.active > a { box-shadow: none; border-radius: 8px; }
  .nav .sub { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 .4rem 1rem; }
  .nav .sub a { padding: .45rem .6rem; color: var(--ink-2); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, #1b3aa6 0%, transparent 60%), linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, #14307f 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 90%); pointer-events: none; }
.hero-inner { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero-inner > :not(.hero-seal) { max-width: 700px; }
.hero-seal { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: clamp(220px, 26vw, 340px); height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
@media (max-width: 1100px) { .hero-seal { width: 220px; opacity: .95; } .hero-inner > :not(.hero-seal) { max-width: calc(100% - 250px); } }
@media (max-width: 760px) { .hero-seal { position: static; transform: none; width: 150px; margin: 0 0 1.6rem; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); } .hero-inner > :not(.hero-seal) { max-width: none; } }
.eyebrow { font-family: var(--font-head); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #b8c6ff; margin-bottom: 1rem; font-weight: 700; }
.hero h1 { font-family: var(--font-head); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; line-height: 1.05; margin-bottom: 1rem; }
.hero h1 span { color: var(--accent-on-navy); }
.hero .lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #dfe6ff; max-width: 620px; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; transition: .15s; white-space: nowrap; flex: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: #fff; color: var(--navy); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
main .btn.primary { background: var(--navy); color: #fff; }
main .btn.ghost { color: var(--navy); border-color: var(--navy); }
main .btn.ghost:hover { background: var(--bg-2); }
.btn.light { background: #fff; color: var(--crimson); }
.stats { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); width: min(100% - 2.5rem, var(--container)); margin-inline: auto; border-top: 1px solid rgba(255,255,255,.18); }
.stats li { padding: 1.4rem 0; display: flex; flex-direction: column; gap: .1rem; }
.stats strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1; }
.stats span { color: #b8c6ff; font-size: .82rem; letter-spacing: .04em; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats li { padding: 1rem 0; } }

/* Recruit modal */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(6, 19, 61, .6); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.modal[hidden] { display: none; }
.modal-box { position: relative; background: #fff; border-radius: 20px; max-width: 520px; width: 100%; padding: 2.4rem 2.2rem 1.6rem; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: pop .25s ease-out; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.modal-logo { margin: -.6rem auto .6rem; width: 140px; height: 140px; }
.modal-box small { display: block; font-family: var(--font-head); letter-spacing: .18em; text-transform: uppercase; font-size: .74rem; font-weight: 700; color: var(--crimson); margin-bottom: .4rem; }
.modal-box h2 { font-size: 1.35rem; margin-bottom: .7rem; }
.modal-box p { color: var(--ink-2); font-size: .95rem; }
.modal-actions { display: flex; gap: .6rem; justify-content: center; margin: 1.2rem 0 1rem; }
.modal-actions .btn { font: inherit; font-weight: 700; cursor: pointer; }
.modal .btn.primary { background: var(--navy); color: #fff; }
.modal .btn.ghost { color: var(--navy); border-color: var(--navy); background: #fff; }
.modal-today { font-size: .82rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.modal-close { position: absolute; top: .8rem; right: .8rem; width: 36px; height: 36px; border: 0; background: var(--bg-2); border-radius: 50%; font-size: 1.3rem; cursor: pointer; color: var(--ink-2); }

/* Sections */
.section { padding: clamp(2.8rem, 6vw, 5rem) 0; }
.section.alt { background: var(--bg-2); }
.section-title { margin-bottom: 2rem; }
.section-title small { display: block; font-family: var(--font-head); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--crimson); font-weight: 700; margin-bottom: .4rem; }
.section-title h2 { margin: 0; }
.section-title.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.more { font-weight: 600; white-space: nowrap; }

.page-head { background: linear-gradient(180deg, var(--bg-2), #fff); border-bottom: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.2rem); }
.page-head h1 { margin-bottom: .2rem; }
.page-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }

.page-head .subtitle { color: var(--ink-2); margin: 0; font-size: 1.05rem; }
.crumbs { font-size: .82rem; color: var(--ink-3); margin-bottom: .8rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs a { color: var(--ink-2); }

.about-vision { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: center; padding: 2.2rem 2.5rem; }
.about-vision .prose p:last-child { margin-bottom: 0; }
.about-seal { margin: 0; }
.about-seal img { width: 100%; height: auto; }
@media (max-width: 800px) { .about-vision { grid-template-columns: 1fr; } .about-seal { max-width: 220px; margin: 0 auto; } }

/* Research areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.area { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: .2s; overflow: hidden; }
.area-img { margin: -1.6rem -1.6rem 1.2rem; aspect-ratio: 16 / 9; background: var(--bg-3); overflow: hidden; }
.area-img img { width: 100%; height: 100%; object-fit: cover; }
.area:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.area-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--bg-3); color: var(--navy); display: grid; place-items: center; margin-bottom: 1rem; }
.area-icon svg { width: 30px; height: 30px; }
.area h3 { margin-bottom: .1rem; font-family: var(--font-head); font-size: 1.05rem; }
.area-ko { color: var(--crimson); font-weight: 600; font-size: .9rem; margin-bottom: .7rem; }
.area p { font-size: .94rem; color: var(--ink-2); }
.area ul { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.area li { font-size: .76rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem; color: var(--ink-2); }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } }

/* Recruit banner */
.recruit { background: linear-gradient(120deg, var(--crimson), #7d0f22); color: #fff; }
.recruit-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.4rem 0; }
.recruit small { font-family: var(--font-head); letter-spacing: .18em; text-transform: uppercase; font-size: .74rem; font-weight: 700; opacity: .85; }
.recruit h2 { margin: .3rem 0 .4rem; }
.recruit p { margin: 0; opacity: .92; }
@media (max-width: 720px) { .recruit-inner { flex-direction: column; align-items: flex-start; } }

/* Cards (news) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: .2s; }
.card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .count { position: absolute; right: .6rem; bottom: .6rem; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; padding: .15rem .5rem; border-radius: 999px; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; }
.card-meta { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--ink-3); margin-bottom: .4rem; }
.card h3 { font-size: 1.02rem; margin: 0 0 .3rem; }
.card-loc { font-size: .82rem; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .12rem .55rem; border-radius: 999px; background: var(--navy); color: #fff; letter-spacing: .02em; }
.badge.soft { background: var(--bg-3); color: var(--navy); }
.badge.ongoing { background: #0e7c4a; }
.badge.completed { background: var(--ink-3); }

/* Category filter */
.cat-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.8rem; }
.cat-filter a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.cat-filter a span { font-size: .74rem; background: var(--bg-3); color: var(--navy); border-radius: 999px; padding: .05rem .45rem; }
.cat-filter a:hover { text-decoration: none; border-color: var(--navy); color: var(--navy); }
.cat-filter a[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-filter a[aria-current] span { background: rgba(255,255,255,.2); color: #fff; }

/* Tabs / pager */
.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.tabs a { padding: .6rem 1.1rem; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { text-decoration: none; color: var(--navy); }
.tabs a[aria-current] { color: var(--navy); border-color: var(--crimson); }
.pager ul { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; justify-content: center; gap: .3rem; }
.pager a { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); font-weight: 600; }
.pager a[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.group-title { font-size: 1.15rem; color: var(--navy); margin: 2.2rem 0 1rem; padding-left: .8rem; border-left: 3px solid var(--crimson); }
.group-title:first-of-type { margin-top: 0; }

.prose ul.plain { list-style: none; padding: 0; }
.prose ul.plain li { padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.prose ul.awards em { color: var(--ink-2); font-size: .88rem; }
.prose.narrow-left { margin-top: 2rem; }

/* Research topics infographic */
.topics .section-title .muted { color: var(--ink-3); font-size: .9rem; margin: .5rem 0 0; }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem; }

.tile.wide { grid-column: 1 / -1; }
.tile h3 { font-size: 1rem; color: var(--navy); margin-bottom: .7rem; display: flex; justify-content: space-between; align-items: baseline; }
.tile h3 small { font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.stats-tile { background: var(--navy); color: #fff; border: 0; }
.stats-tile .stat-row { list-style: none; margin: 0 0 1rem; padding: 0 0 .9rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.stats-tile h3 { color: #fff; font-size: .9rem; margin-bottom: .6rem; }
.hbars.on-navy .hb { background: rgba(255,255,255,.15); }
.hbars.on-navy .hb i { background: var(--accent-on-navy); }
.hbars.on-navy .hb-label strong { color: #fff; }
.hbars.on-navy .hb-label span { color: #b8c6ff; }
.hbars.on-navy b { color: #fff; }
.hbars.on-navy b small { color: #b8c6ff; }
.stats-tile strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.stats-tile span { font-size: .8rem; color: #b8c6ff; letter-spacing: .04em; }
.chart { width: 100%; height: auto; display: block; }
.chart .baseline { stroke: var(--line); stroke-width: 1; }
.chart { overflow: visible; }
.chart .val { font-size: 14px; fill: var(--ink); font-weight: 700; font-family: var(--font-head); transition: font-size .15s, fill .15s; }
.chart .axis { font-size: 12px; fill: var(--ink-3); font-weight: 600; }
.chart .bar { transition: transform .18s ease; cursor: pointer; text-decoration: none; }
.chart a:hover, .chart a:hover text { text-decoration: none; }
.chart .bar rect:not(.hit) { transition: fill .15s; }
.chart .bar:hover { transform: scale(1.12); }
.chart .bar:hover rect:not(.hit) { fill: var(--crimson); }
.chart .bar:hover .val { fill: var(--crimson); font-size: 17px; }
.chart .bar:hover .axis { fill: var(--navy); }
.hbars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.hbars li { display: grid; grid-template-columns: minmax(120px, 1.1fr) 2fr auto; gap: .8rem; align-items: center; font-size: .86rem; }
.hb-label { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.hb-label strong { font-size: .88rem; }
.hb-label span { color: var(--ink-3); font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb { height: 10px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.hb i { display: block; height: 100%; background: var(--navy); border-radius: 999px; }
.hb-link { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: center; color: inherit; border-radius: 6px; }
.hb-link:hover { text-decoration: none; }
.hb-link:hover .hb i { background: var(--crimson); }
.hb-link:hover .hb-label span, .hb-link:hover .hb-label strong { color: var(--crimson); }
.hbars b { font-family: var(--font-head); color: var(--navy); font-size: .95rem; white-space: nowrap; }
.hbars b small { font-weight: 500; color: var(--ink-3); margin-left: .2rem; font-family: var(--font); }
.kw-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.kw-chips a { display: inline-flex; align-items: center; gap: .45rem; color: inherit; padding: .35rem .5rem .35rem .8rem; }
.kw-chips a:hover { text-decoration: none; }
.kw-chips li:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.kw-chips li:hover b { background: #fff; color: var(--navy); }
.kw-chips.static li { padding: .35rem .9rem; }
.kw-chips.static li:hover { background: var(--bg-2); color: var(--navy); border-color: var(--line); }
.kw-chips li { display: inline-flex; align-items: center; gap: .45rem; padding: 0; transition: .15s; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--navy); }
.kw-chips b { font-family: var(--font-head); font-size: .74rem; background: var(--navy); color: #fff; border-radius: 999px; padding: .05rem .5rem; }
.cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: baseline; }
.cloud li { color: var(--navy); font-weight: 700; line-height: 1.2; }
.cloud li a { color: inherit; }
.cloud li a:hover { color: var(--crimson); text-decoration: none; }
.cloud sup { font-size: .6em; color: var(--crimson); margin-left: .15em; font-weight: 600; }
@media (max-width: 820px) { .topic-grid { grid-template-columns: 1fr; } }

/* Member rows with publication analytics */
.member-rows { display: flex; flex-direction: column; gap: 1.2rem; }
.member-row { display: grid; grid-template-columns: 260px 1fr; gap: 1.2rem; align-items: stretch; }
.member-row .member { margin: 0; }
.person-pubs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.person-pubs.empty-pubs { display: flex; align-items: center; color: var(--ink-3); font-size: .92rem; background: var(--bg-2); border-style: dashed; }
.person-pubs.empty-pubs p { margin: 0; }
.person-stats { list-style: none; margin: 0 0 1.1rem; padding: 0 0 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; border-bottom: 1px solid var(--line); }
.person-stats strong { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.person-stats span { font-size: .72rem; color: var(--ink-3); letter-spacing: .04em; }
.person-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.6rem; }
.person-grid .span2 { grid-column: 1 / -1; }
.person-grid h4 { font-size: .8rem; color: var(--navy); margin: 0 0 .5rem; letter-spacing: .04em; }
.hbars.small { gap: .35rem; }
.hbars.small li { font-size: .8rem; grid-template-columns: minmax(90px, 1fr) 1.4fr auto; gap: .6rem; }
.hbars.small .hb { height: 8px; }
.hbars.small b { font-size: .85rem; }
.cloud.small { gap: .3rem .7rem; }
.person-more { margin: 1rem 0 0; font-size: .85rem; text-align: right; }
.prof-pubs { margin-bottom: 2.5rem; }
.prof-pubs h3 { color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: .4rem; margin-bottom: 1rem; }
@media (max-width: 800px) { .member-row { grid-template-columns: 1fr; } .person-stats { grid-template-columns: repeat(2, 1fr); } .person-grid { grid-template-columns: 1fr; } }

/* Members */
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.1rem; }
.member-photo { width: 140px; height: 140px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; background: var(--bg-3); border: 4px solid var(--bg-2); }
.member-photo img, .member-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin-bottom: .1rem; font-size: 1.08rem; }
.member h3 span { font-weight: 500; color: var(--ink-3); font-size: .85rem; }
.member-role { color: var(--crimson); font-weight: 600; font-size: .86rem; margin: 0 0 .4rem; }
.member-aff, .member-research { font-size: .86rem; color: var(--ink-2); margin: 0 0 .3rem; }
.member-links { font-size: .8rem; margin: .5rem 0 0; display: flex; flex-direction: column; gap: .15rem; word-break: break-all; }
.scholar-btn { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 700; font-size: .8rem; transition: .15s; }
.scholar-btn:hover { background: var(--navy); color: #fff; text-decoration: none; }
@media (max-width: 1000px) { .members { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .members { grid-template-columns: repeat(2, 1fr); } .member-photo { width: 110px; height: 110px; } }

/* Professor */
.prof { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; margin-bottom: 3rem; }
.prof-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.prof-photo img, .prof-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.prof-info h2 { font-size: 1.9rem; margin-bottom: .2rem; }
.prof-info h2 span { font-weight: 500; color: var(--ink-3); font-size: 1.1rem; margin-left: .4rem; }
.prof-title { color: var(--ink-2); margin-bottom: 1.2rem; }
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.2rem; margin: 0 0 1.2rem; font-size: .95rem; }
.contact-list dt { font-weight: 700; color: var(--navy); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding-top: .15rem; }
.contact-list dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .8rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.chip:hover { background: var(--bg-2); text-decoration: none; }
.chip { transition: .15s; }
.chip.scholar:hover { background: #4285F4; border-color: #4285F4; color: #fff; }
.chip.scopus:hover { background: #E9711C; border-color: #E9711C; color: #fff; }
.chip.wos:hover { background: #5E33BF; border-color: #5E33BF; color: #fff; }
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.cv-grid h3, .prose.narrow-left h3 { color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: .4rem; margin-bottom: 1rem; }
.cv { list-style: none; padding: 0; margin: 0; }
.cv li { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.cv-year { color: var(--crimson); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 800px) { .prof { grid-template-columns: 1fr; } .prof-photo { max-width: 260px; } .cv-grid { grid-template-columns: 1fr; } }

/* Projects */
.project { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 1rem; }
.project.has-image { display: grid; grid-template-columns: 360px 1fr; gap: 1.6rem; align-items: start; }
.project-img { margin: 0; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--bg-3); }
.project-img img, .project-img .ph { width: 100%; height: 100%; object-fit: cover; }
.project-img { position: relative; }
.project-img figcaption { position: absolute; inset: 0; display: grid; place-items: center; font-size: .78rem; color: var(--ink-3); letter-spacing: .04em; }
@media (max-width: 760px) { .project.has-image { grid-template-columns: 1fr; } }
.project.completed { border-left-color: var(--ink-3); }
.project-meta { display: flex; gap: .8rem; align-items: center; font-size: .84rem; color: var(--ink-3); margin-bottom: .5rem; }
.project h3 { font-size: 1.1rem; }
.project dl { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1.2rem; margin: 0; font-size: .92rem; }
.project dt { color: var(--ink-3); font-weight: 600; }
.project dd { margin: 0; }

/* Patents */
.patent-list { list-style: none; padding: 0; margin: 0; }
.patent-list li { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.patent-top { display: flex; gap: .8rem; align-items: center; font-size: .9rem; color: var(--ink-3); margin-bottom: .4rem; }
.patent-no { font-family: var(--font); font-size: 1rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.patent-list h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.patent-list p { margin: 0; color: var(--ink-2); font-size: .92rem; }

/* Publications */
.kind-tabs { display: flex; gap: .5rem; margin-bottom: 1.4rem; }
.kind-tabs button { font: inherit; font-weight: 700; font-size: .95rem; padding: .6rem 1.2rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink-2); display: inline-flex; gap: .5rem; align-items: center; }
.kind-tabs button span { font-size: .78rem; background: var(--bg-3); color: var(--navy); border-radius: 999px; padding: .05rem .5rem; }
.kind-tabs button:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-2); transform: translateY(-1px); }
.kind-tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.kind-tabs button[aria-pressed="true"]:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.kind-tabs button[aria-pressed="true"] span { background: rgba(255,255,255,.2); color: #fff; }
.pub-tools { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-bottom: 2rem; }
#pub-search { flex: 1 1 260px; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .95rem; }
#pub-search:focus { outline: 2px solid var(--navy); border-color: transparent; }
.year-select { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.year-select select { font: inherit; font-weight: 600; padding: .6rem 2.2rem .6rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A1F62' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right .8rem center; appearance: none; color: var(--navy); cursor: pointer; }
.year-select select:focus { outline: 2px solid var(--navy); border-color: transparent; }
.pub-year h2 { font-family: var(--font-head); color: var(--navy); font-size: 1.5rem; margin: 2rem 0 .8rem; padding-bottom: .4rem; border-bottom: 2px solid var(--navy); }
.pub-year:first-of-type h2 { margin-top: 0; }
.pub-list { margin: 0; padding-left: 0; list-style: none; counter-reset: none; }
.pub { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.pub-num { flex: 0 0 2.6rem; font-family: var(--font-head); font-weight: 700; color: var(--ink-3); font-size: .85rem; padding-top: .2rem; }
.pub-title { font-weight: 600; margin: 0 0 .15rem; }
.pub-authors { font-size: .88rem; color: var(--ink-2); margin: 0 0 .1rem; }
.pub-authors b { color: var(--navy); font-weight: 700; }
.pub mark { background: #b8c6ff; color: inherit; border-radius: 3px; padding: 0 .1em; }
sup.corr { color: var(--crimson); font-weight: 700; font-size: .75em; line-height: 0; }
.pub-active { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; font-size: .9rem; color: var(--ink-2); }
.pub-active .chip-f { display: inline-flex; align-items: center; gap: .4rem; background: var(--navy); color: #fff; border-radius: 999px; padding: .3rem .5rem .3rem .9rem; font-weight: 600; font-size: .85rem; }
.pub-active .chip-f a { color: #fff; opacity: .8; font-weight: 700; }
.pub-active .chip-f a:hover { opacity: 1; text-decoration: none; }
.pub-journal { font-size: .88rem; color: var(--ink-2); margin: 0; }
.pub-date { color: var(--ink-3); }
.pub-list.compact .pub { padding: .7rem 0; }

/* Post detail */
.post-meta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; color: var(--ink-3); font-size: .9rem; margin-bottom: 1.5rem; }
.post-cover { margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; }
.prose { font-size: 1.02rem; }
.prose.small { font-size: .92rem; color: var(--ink-2); margin-top: .8rem; }
.prose img { border-radius: 10px; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .25rem; }
.prose blockquote { margin: 1.2rem 0; padding: .8rem 1.2rem; border-left: 3px solid var(--crimson); background: var(--bg-2); border-radius: 0 10px 10px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; }
.prose th { background: var(--bg-2); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 2rem 0; }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--bg-3); }
.gallery-item img, .gallery-item .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .7rem .5rem; font-size: .76rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transition: .2s; }
.gallery-item:hover .cap { opacity: 1; }
.gallery.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gallery.four { grid-template-columns: repeat(2, 1fr); } }
.gallery.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .gallery.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.masonry { columns: 4 220px; column-gap: .8rem; }
.masonry .gallery-item { aspect-ratio: auto; break-inside: avoid; margin-bottom: .8rem; }
.masonry .gallery-item .ph { aspect-ratio: 4 / 3; }
.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); align-items: center; }
.post-nav a { font-weight: 600; font-size: .92rem; }
.post-nav small { display: block; color: var(--ink-3); font-weight: 500; font-size: .75rem; }
.post-nav .next { text-align: right; }
.post-nav .list { padding: .5rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(6, 19, 61, .94); z-index: 100; display: none; align-items: center; justify-content: center; flex-direction: column; padding: 2rem; }
.lb.open { display: flex; }
.lb img { max-width: min(100%, 1200px); max-height: 80vh; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb .lb-cap { color: #dfe6ff; margin-top: .8rem; font-size: .9rem; }
.lb button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.22); }
.lb .lb-close { top: 1rem; right: 1rem; }
.lb .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Board table (notices) */
.board { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); font-size: .95rem; }
.board th { background: var(--bg-2); font-weight: 700; padding: .8rem; border-bottom: 1px solid var(--line); }
.board td { padding: .85rem .8rem; border-bottom: 1px solid var(--line); }
.board .num { width: 70px; text-align: center; color: var(--ink-3); }
.board .date { width: 120px; text-align: center; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.board tr.pinned td { background: #fbf7f8; }
.board td a { color: var(--ink); font-weight: 500; }
.board td a:hover { color: var(--navy); }
@media (max-width: 560px) { .board .date { width: 90px; font-size: .8rem; } .board .num { width: 50px; } }

/* META */
.meta-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 2.5rem; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.2rem; }
.pillar strong { font-family: var(--font-head); font-size: 2rem; color: var(--crimson); display: block; line-height: 1; margin-bottom: .4rem; }
.pillar h3 { font-size: .95rem; margin-bottom: .3rem; }
.pillar p { font-size: .84rem; color: var(--ink-2); margin: 0; }
@media (max-width: 720px) { .meta-pillars { grid-template-columns: repeat(2, 1fr); } }

/* META */
.meta-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; background: var(--navy); color: #b8c6ff; border-radius: var(--radius); aspect-ratio: 1; text-align: center; font-size: .85rem; line-height: 1.4; }
.meta-letters { display: flex; gap: .3rem; }
.meta-letters b { font-family: var(--font-head); font-size: 3.2rem; font-weight: 800; color: #fff; line-height: 1; }
.meta-letters b:nth-child(2) { color: var(--accent-on-navy); }
.area-icon.num { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.how-grid .area h3 { font-family: var(--font); }
.act-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.act-list li { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.act-list li:last-child { border-bottom: 0; }
.act-list strong { color: var(--navy); }
.act-list span { color: var(--ink-2); }
.ach-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.ach-list li { position: relative; padding-left: 1.4rem; font-size: .95rem; line-height: 1.5; }
.ach-list li::before { content: "★"; position: absolute; left: 0; color: var(--accent-on-navy); }
.hero-actions.center { justify-content: center; }
@media (max-width: 720px) { .act-list li { grid-template-columns: 1fr; gap: .2rem; } }

.how-grid.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .how-grid.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .how-grid.five { grid-template-columns: 1fr; } }
.plan-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.plan-table th { text-align: left; background: var(--bg-2); padding: .6rem .9rem; font-size: .8rem; letter-spacing: .04em; color: var(--navy); border-bottom: 2px solid var(--navy); }
.plan-table td { padding: .6rem .9rem; border-bottom: 1px solid var(--line); }
.plan-table td:last-child, .plan-table th:last-child { white-space: nowrap; text-align: right; color: var(--ink-2); }
.plan-table tr:hover td { background: var(--bg-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.2rem; align-items: stretch; }
.map-tile .map { margin-top: 0; aspect-ratio: 16 / 10; }
.lead-text { font-weight: 600; color: var(--navy); }
.apply-box { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 1.2rem; }
.apply-box span { color: var(--ink-2); }
@media (max-width: 720px) { .apply-box { flex-direction: column; align-items: flex-start; } }
.contact-card { background: var(--bg-2); padding: 1.6rem; }
.contact-card h3 { color: var(--navy); }
.map { margin-top: 1.2rem; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-links { display: flex; gap: .5rem; margin-top: .8rem; }
.map-links .btn { padding: .5rem 1rem; font-size: .85rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { position: static; } }

/* Footer */
.site-footer { background: var(--navy-900); color: #b8c6ff; margin-top: 2rem; font-size: .88rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 2rem; padding: 2.5rem 0 1.5rem; align-items: start; }
.footer-brand { display: flex; gap: .9rem; align-items: center; color: #fff; }
.footer-brand img { width: 80px; height: 80px; display: block; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.2rem; }
.footer-brand span { font-size: .8rem; color: #b8c6ff; }
.footer-info p { margin: 0 0 .25rem; }
.footer-info a, .footer-links a { color: #fff; }
.footer-info .admin-link { color: #b8c6ff; font-size: .82rem; }
.footer-univ { display: block; padding-right: .9rem; border-right: 1px solid rgba(255,255,255,.25); }
.footer-univ img { background: #fff; border-radius: 50%; padding: 3px; box-sizing: border-box; }
.copyright { padding: 1rem 0 1.6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; color: #7f8fd1; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; gap: 1.2rem; } }
@media (max-width: 560px) {
  .brand-text small { display: none; }
  .univ img, .brand-logo { width: 44px; height: 44px; }
  .brand-group { gap: .5rem; }
  .brand { padding-left: .5rem; gap: .45rem; }
  .brand-text strong { font-size: 1.15rem; }
  .lang-switch a { padding: .3rem .5rem; }
}
