/* AIBL Lab — brand: deep navy, electric blue → amber (from the lab logo) */
:root {
  --bg: #070b16;
  --bg-2: #0b1222;
  --surface: #0f1729;
  --surface-2: #142039;
  --line: rgba(148, 170, 220, .14);
  --line-2: rgba(148, 170, 220, .26);
  --text: #e8edf7;
  --text-2: #a9b5cc;
  --muted: #7d8aa5;
  --blue: #3d8bff;
  --cyan: #45d4ff;
  --amber: #ff9a3d;
  --amber-2: #ffc46b;
  --grad: linear-gradient(100deg, #3d8bff 0%, #45d4ff 45%, #ff9a3d 100%);
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .65);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 64px;
  --font: "Inter", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", "Noto Sans KR", sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-2: #eef2f9;
  --surface: #ffffff;
  --surface-2: #f2f5fb;
  --line: rgba(20, 40, 90, .10);
  --line-2: rgba(20, 40, 90, .18);
  --text: #0d1426;
  --text-2: #3c4964;
  --muted: #66728b;
  --blue: #1f6bff;
  --cyan: #0a9fd1;
  --amber: #e46f0a;
  --amber-2: #c2650c;
  --grad: linear-gradient(100deg, #1f6bff 0%, #0a9fd1 45%, #e46f0a 100%);
  --shadow: 0 18px 40px -22px rgba(15, 35, 80, .35);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--font); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .92em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 600; color: var(--cyan); margin-bottom: .9rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-warm { color: var(--amber-2); }
.hl-c { color: var(--cyan); font-weight: 600; }
.hl-w { color: var(--amber-2); font-weight: 600; }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { height: 100%; width: min(1280px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-size: 1.12rem; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 50%; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-weight: 700; letter-spacing: .02em; display: contents; }
.brand small { font-family: var(--font); font-size: .68rem; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }
#menu { display: flex; align-items: center; gap: 6px; }
#menu > ul { display: flex; list-style: none; gap: 2px; }
#menu li { position: relative; }
#menu > ul > li > a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-size: .92rem; font-weight: 500; }
#menu > ul > li > a:hover, #menu > ul > li.on > a { color: var(--text); background: var(--surface-2); text-decoration: none; }
#menu > ul > li.on > a { box-shadow: inset 0 -2px 0 var(--cyan); }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; list-style: none; padding: 8px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s ease; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text-2); font-size: .9rem; }
.sub a:hover, .sub a[aria-current] { background: var(--surface-2); color: var(--text); text-decoration: none; }
.theme { border: 1px solid var(--line-2); background: transparent; color: var(--text-2); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; margin-left: 6px; }
.theme:hover { color: var(--text); background: var(--surface-2); }
.i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; cursor: pointer; padding: 12px 10px; flex-direction: column; justify-content: space-between; align-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ── Hero (home) ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center; overflow: hidden;
  background: radial-gradient(1200px 600px at 75% 30%, rgba(61, 139, 255, .16), transparent 60%),
              radial-gradient(800px 500px at 15% 85%, rgba(255, 154, 61, .10), transparent 60%), var(--bg); }
:root[data-theme="light"] .hero { background: radial-gradient(1200px 600px at 75% 30%, rgba(31, 107, 255, .12), transparent 60%), radial-gradient(800px 500px at 15% 85%, rgba(228, 111, 10, .08), transparent 60%), var(--bg); }
.net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-glow { position: absolute; inset: auto -10% -30% -10%; height: 50%; background: radial-gradient(closest-side, rgba(69, 212, 255, .10), transparent); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; padding: 64px 0 96px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 1.4rem; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-2); max-width: 38em; }
.motto { font-family: var(--display); font-size: 1.05rem; color: var(--amber-2); border-left: 2px solid var(--amber); padding-left: 14px; margin: 1.6rem 0 2.2rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .96rem; transition: transform .15s ease, box-shadow .2s ease, background .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #050914; box-shadow: 0 10px 30px -10px rgba(69, 160, 255, .65); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn-ghost:hover { background: var(--surface-2); }
.hero-mark { display: grid; place-items: center; }
.orbit { position: relative; width: min(420px, 80vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; }
.orbit::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 60s linear infinite; }
.orbit::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(61, 139, 255, .25), transparent 65%); filter: blur(20px); z-index: -1; }
.orbit img { width: 88%; border-radius: 50%; box-shadow: 0 0 80px -10px rgba(69, 160, 255, .45), 0 0 140px -40px rgba(255, 154, 61, .5); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--cyan); transform: translateX(-50%); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ── Stats ─────────────────────────────────────────────────────── */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 30px 18px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .85rem; }

/* ── Sections ───────────────────────────────────────────────────── */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 36px; }
.sec-head .eyebrow { width: 100%; margin-bottom: .2rem; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0; max-width: 24em; }
.more { font-weight: 600; font-size: .95rem; color: var(--cyan); white-space: nowrap; }
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.about-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.about-head { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.about-body p { color: var(--text-2); font-size: 1.06rem; }
.about-body p.big { font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--text); line-height: 1.55; }

.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area { position: relative; display: flex; flex-direction: column; padding: 26px 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.area::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); opacity: 0; transition: opacity .2s; }
.area:hover { transform: translateY(-4px); border-color: var(--line-2); text-decoration: none; }
.area:hover::before { opacity: 1; }
.area h3 { font-size: 1.08rem; margin: 14px 0 10px; }
.area p { color: var(--muted); font-size: .9rem; margin: 0; }
.area-no { font-family: var(--display); font-size: .82rem; color: var(--amber-2); letter-spacing: .08em; }

.overview { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }

.pub-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pub-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.pub-thumb { aspect-ratio: 16 / 9; background: #fff; overflow: hidden; display: grid; place-items: center; padding: 10px; }
.pub-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pub-card-body { padding: 20px 22px 22px; }
.pub-card h3 { font-family: var(--font); font-size: 1.02rem; font-weight: 600; line-height: 1.4; margin: 12px 0 8px; letter-spacing: 0; }
.pub-card h3 a { color: var(--text); }
.pub-card .muted { font-size: .86rem; margin-bottom: 6px; }
.venue { font-size: .86rem; color: var(--amber-2); font-style: italic; margin: 0; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 18%, transparent); color: var(--cyan); }
.tag-warm { background: color-mix(in srgb, var(--amber) 18%, transparent); color: var(--amber-2); }
b.me { color: var(--text); font-weight: 700; }

.partners-sec { padding-bottom: clamp(48px, 7vw, 80px); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { width: 190px; height: 92px; flex: none; display: grid; place-items: center; padding: 14px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.logo-tile img { max-height: 60px; width: auto; object-fit: contain; }

.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.moment { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; }
.moment img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.moment:hover img { transform: scale(1.05); }
.moment span { position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); font-weight: 600; line-height: 1.35; }
.moment small { display: block; font-weight: 500; opacity: .8; font-size: .78rem; }
.moment:hover { text-decoration: none; }

.join { padding: 0 0 clamp(64px, 9vw, 112px); }
.join-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 44px; border-radius: 26px;
  background: radial-gradient(600px 200px at 0% 0%, rgba(61, 139, 255, .22), transparent), radial-gradient(500px 200px at 100% 100%, rgba(255, 154, 61, .18), transparent), var(--surface); border: 1px solid var(--line-2); }
.join h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3rem; }
.join p { margin: 0; color: var(--text-2); }

/* ── Inner page hero ───────────────────────────────────────────── */
.page-hero { position: relative; padding: clamp(72px, 11vw, 132px) 0 clamp(44px, 6vw, 72px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .32; filter: saturate(1.1); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 40%, transparent), var(--bg) 96%), radial-gradient(700px 300px at 85% 0%, rgba(61, 139, 255, .18), transparent); }
:root[data-theme="light"] .page-hero-bg { opacity: .16; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; letter-spacing: -.035em; margin-bottom: .6rem; }
.page-hero .lead { color: var(--text-2); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46em; margin: 0; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.subnav a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: .92rem; font-weight: 500; }
.subnav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.subnav a[aria-current] { background: var(--text); color: var(--bg); border-color: var(--text); }
.subnav i { font-style: normal; opacity: .6; margin-left: 4px; font-size: .85em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.chip { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text-2); font-size: .86rem; }
.chip:hover { color: var(--text); border-color: var(--cyan); text-decoration: none; }

/* Research */
.areas { display: grid; gap: clamp(48px, 7vw, 88px); }
.area-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.area-row:nth-child(even) .area-media { order: 2; }
.area-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow); }
.area-media img { width: 100%; }
.area-ph { aspect-ratio: 16 / 9; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, rgba(61, 139, 255, .35), transparent 55%), radial-gradient(circle at 75% 70%, rgba(255, 154, 61, .3), transparent 55%), var(--surface); }
.area-ph span { font-family: var(--display); font-size: 5rem; font-weight: 700; opacity: .5; }
.area-text h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 10px 0 16px; }
.area-text p { color: var(--text-2); font-size: 1.04rem; }

/* People */
.group { margin-bottom: 64px; }
.group-title { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.count { font-family: var(--font); font-size: .85rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.person-top { display: flex; gap: 18px; align-items: flex-start; }
.avatar { flex: none; width: 92px; height: 112px; border-radius: 14px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; font-size: 2rem; font-weight: 700; color: var(--muted); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person h3 { font-family: var(--font); font-size: 1.18rem; font-weight: 700; margin: 2px 0 6px; letter-spacing: -.01em; }
.person h3 span { display: block; font-weight: 500; font-size: .9rem; color: var(--text-2); margin-top: 2px; }
.person .meta { font-size: .82rem; color: var(--muted); margin: 0 0 3px; word-break: break-word; }
.person-links { display: flex; gap: 8px; margin: 6px 0 0; flex-wrap: wrap; }
.person-links a { font-size: .78rem; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); }
.psec h4 { font-family: var(--font); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); margin-bottom: 6px; font-weight: 600; }
.psec ul { list-style: none; display: grid; gap: 4px; }
.psec li { font-size: .9rem; color: var(--text-2); padding-left: 14px; position: relative; }
.psec li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.psec + .psec { margin-top: 14px; }
.more-info { border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.more-info summary { cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--text-2); list-style: none; display: flex; align-items: center; gap: 8px; }
.more-info summary::-webkit-details-marker { display: none; }
.more-info summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; line-height: 1; color: var(--muted); }
.more-info[open] summary::after { content: "–"; }
.more-info[open] summary { margin-bottom: 14px; }

.prof { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; margin-bottom: 40px; }
.prof-photo img { border-radius: 22px; border: 1px solid var(--line-2); box-shadow: var(--shadow); width: 100%; }
.prof-main h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 18px; }
.prof-main h2 span { font-size: .55em; color: var(--text-2); font-weight: 500; margin-left: 6px; }
.prof-bio { color: var(--text-2); font-size: 1.04rem; }
.prof-contact { list-style: none; margin: 18px 0; display: grid; gap: 4px; color: var(--text-2); font-size: .95rem; }
.link-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.card h3 { font-size: 1.05rem; color: var(--text); margin-bottom: 14px; }
.card .span2, .prof-grid .span2 { grid-column: span 3; }
.plain { list-style: none; display: grid; gap: 8px; color: var(--text-2); font-size: .94rem; }
.plain a { color: var(--text-2); }
.awards { list-style: none; display: grid; gap: 10px; }
.awards li { padding: 10px 14px 10px 40px; position: relative; background: var(--surface-2); border-radius: 10px; font-size: .94rem; color: var(--text-2); }
.awards li::before { content: "★"; position: absolute; left: 14px; color: var(--amber-2); }

.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hub-2 { grid-template-columns: repeat(2, 1fr); }
.hub-card { display: flex; flex-direction: column; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--text); min-height: 260px; transition: transform .2s, border-color .2s; }
.hub-card:hover { transform: translateY(-4px); border-color: var(--line-2); text-decoration: none; }
.hub-card h2 { font-size: 1.6rem; margin: auto 0 6px; }
.hub-card p { color: var(--muted); margin: 0 0 14px; }
.hub-face { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; margin-bottom: 20px; border: 2px solid var(--line-2); }
.faces { display: flex; margin-bottom: 20px; }
.faces img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--surface); margin-left: -12px; }
.faces img:first-child { margin-left: 0; }

/* Publications */
.year-block { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.year { font-size: 2rem; color: var(--text-2); position: sticky; top: calc(var(--nav-h) + 20px); align-self: start; margin: 0; }
.jlist { display: grid; gap: 16px; }
.jitem { display: grid; grid-template-columns: 380px 1fr; gap: 22px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); align-items: center; }
.jthumb { border-radius: 12px; overflow: hidden; background: #fff; display: grid; place-items: center; padding: 10px; min-height: 120px; }
.jthumb a { display: block; width: 100%; }
.jthumb img { width: 100%; height: auto; max-height: 260px; object-fit: contain; transition: transform .4s ease; }
.jitem:hover .jthumb img { transform: scale(1.02); }
.cite { margin: 0 0 10px; color: var(--text-2); font-size: .98rem; }
.jacts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.btn-sm { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .8rem; font-weight: 600; color: var(--text); }
.btn-sm:hover { border-color: var(--cyan); text-decoration: none; }
.llist { list-style: none; display: grid; gap: 10px; }
.litem { padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.litem p { margin: 0; }
.ltitle { font-weight: 600; color: var(--text); }
.lmeta { font-size: .9rem; color: var(--muted); margin-top: 4px !important; }
.lmeta em { color: var(--amber-2); }
.litem .cite { margin: 0; }
.list-h { font-size: 1.5rem; margin: 40px 0 18px; }
.list-h:first-child { margin-top: 0; }
.pub-tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 36px; position: sticky; top: var(--nav-h); z-index: 5; padding: 14px 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.search { flex: 1 1 340px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--muted); }
.search:focus-within { border-color: var(--cyan); }
.search input { flex: 1; border: 0; background: transparent; color: var(--text); font: inherit; padding: 12px 0; outline: none; min-width: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.fbtn { border: 1px solid var(--line-2); background: transparent; color: var(--text-2); padding: 8px 14px; border-radius: 999px; font: 500 .86rem var(--font); cursor: pointer; }
.fbtn.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.result-count { width: 100%; margin: 0; font-size: .85rem; color: var(--muted); }
[data-pub-list] .jitem, [data-pub-list] .litem { transition: opacity .2s; }
.is-hidden { display: none !important; }

/* Projects */
.tl-year { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.proj { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.proj-logo { height: 110px; background: #fff; display: grid; place-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.proj-logo img { max-height: 78px; width: auto; object-fit: contain; }
.proj-nologo { font-family: var(--display); font-weight: 700; color: #9aa6bd; letter-spacing: .1em; }
.proj-note { margin: 14px 18px 0; font-size: .82rem; font-weight: 600; color: var(--amber-2); }
.proj ul { list-style: none; padding: 14px 18px 18px; display: grid; gap: 6px; }
.proj li { font-size: .9rem; color: var(--text-2); padding-left: 14px; position: relative; white-space: pre-line; }
.proj li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 2px; background: var(--cyan); }

/* Lectures */
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.term { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.term h3 { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; margin-bottom: 20px; }
.term-ic { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 18px rgba(69, 212, 255, .6); }
.term ul { list-style: none; display: grid; gap: 12px; }
.term li { padding: 16px 18px; border-radius: 14px; background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; }
.years { display: flex; gap: 6px; flex-wrap: wrap; }
.years i { font-style: normal; font-size: .78rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 18%, transparent); color: var(--cyan); }

/* Gallery */
.event { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.event-head { position: sticky; top: calc(var(--nav-h) + 20px); align-self: start; }
.event-head time { font-family: var(--display); color: var(--amber-2); font-weight: 600; font-size: .9rem; letter-spacing: .04em; }
.event-head h2 { font-size: 1.4rem; margin: 6px 0 10px; }
.event-head p { color: var(--text-2); font-size: .95rem; }
.photos { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.photos-1 { grid-template-columns: 1fr; }
.photos-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.photos-3 a:first-child { grid-row: span 2; }
.photos-4 { grid-template-columns: repeat(2, 1fr); }
.photos a { display: block; border-radius: 14px; overflow: hidden; background: var(--surface-2); min-height: 0; }
.photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; aspect-ratio: 4 / 3; }
.photos-1 img { aspect-ratio: auto; }
.photos-3 img { aspect-ratio: auto; }
.photos a:hover img { transform: scale(1.04); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.contact-grid .card h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin: 18px 0 6px; }
.contact-grid .card h3:first-child { margin-top: 0; }
.big-link a { font-size: 1.35rem; font-family: var(--display); color: var(--text); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.2); }
:root:not([data-theme="light"]) .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6); }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 24px; color: var(--text-2); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { font-family: var(--font); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 12px; }
.brand-foot { margin-bottom: 14px; }
.foot-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.foot-links a, .foot a { color: var(--text-2); }
.foot-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; font-size: .82rem; color: var(--muted); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(3, 6, 14, .94); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; max-height: 92vh; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 84vh; object-fit: contain; border-radius: 10px; }
.lightbox figcaption { color: #cfd8ea; font-size: .92rem; }
.lightbox button { background: rgba(255, 255, 255, .08); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; justify-self: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .18); }
.lb-close { position: absolute; top: 16px; right: 16px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .orbit::before, .scroll-cue span { animation: none; }
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .prof-grid { grid-template-columns: 1fr 1fr; }
  .prof-grid .span2 { grid-column: span 2; }
}
@media (max-width: 960px) {
  .burger { display: flex; }
  #menu { position: fixed; inset: var(--nav-h) 0 auto 0; max-height: calc(100vh - var(--nav-h)); overflow: auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease; }
  .nav.open #menu { opacity: 1; visibility: visible; transform: none; }
  .nav.open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.open .burger span:nth-child(2) { opacity: 0; }
  .nav.open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  #menu > ul { flex-direction: column; }
  #menu > ul > li > a { padding: 12px 8px; font-size: 1.02rem; }
  #menu > ul > li.on > a { box-shadow: none; color: var(--cyan); }
  .sub { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 12px; min-width: 0; }
  .has-sub > a::after { display: none; }
  .theme { margin: 10px 0 0 8px; }
  .hero-in { grid-template-columns: 1fr; padding: 48px 0 96px; }
  .hero-mark { order: -1; }
  .orbit { width: min(240px, 60vw); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; gap: 20px; }
  .about-head { position: static; }
  .pub-cards, .moments { grid-template-columns: repeat(2, 1fr); }
  .area-row { grid-template-columns: 1fr; }
  .area-row:nth-child(even) .area-media { order: 0; }
  .prof { grid-template-columns: 1fr; }
  .prof-photo { max-width: 260px; }
  .hub, .hub-2 { grid-template-columns: 1fr; }
  .hub-card { min-height: 0; }
  .event { grid-template-columns: 1fr; gap: 16px; }
  .event-head { position: static; }
  .contact-grid, .terms { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(4) { border-left: 1px solid var(--line); }
  .stat:last-child { grid-column: span 2; }
  .area-grid, .pub-cards { grid-template-columns: 1fr; }
  .moments { grid-template-columns: 1fr 1fr; }
  .year-block, .tl-year { grid-template-columns: 1fr; gap: 12px; }
  .year { position: static; font-size: 1.5rem; }
  .jitem { grid-template-columns: 1fr; }
  .jthumb img { max-height: 220px; }
  .people-grid { grid-template-columns: 1fr; }
  .prof-grid { grid-template-columns: 1fr; }
  .prof-grid .span2 { grid-column: auto; }
  .photos-3 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .photos-3 a:first-child { grid-column: span 2; grid-row: auto; }
  .join-in { padding: 28px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > div:first-child { grid-column: auto; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .lightbox button { width: 40px; height: 40px; }
  .pub-tools { position: static; }
}

/* ── People cards v4: 한 줄 2명, 큰 사진 + 정보는 오른쪽에 그대로 (2026-10-29) ── */
.people-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.person { padding: 22px; gap: 14px; border-radius: 24px; position: relative; overflow: hidden; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.person::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .25s; }
.person:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.person:hover::before { opacity: 1; }
.person-top { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.avatar { width: 200px; height: 250px; border-radius: 20px; padding: 3px; font-size: 3rem;
  background: linear-gradient(140deg, rgba(61, 139, 255, .75), rgba(69, 212, 255, .35) 45%, rgba(255, 154, 61, .75)); }
.avatar a, .avatar img { display: block; width: 100%; height: 100%; border-radius: 17px; }
.avatar a { overflow: hidden; }
.avatar img { object-fit: cover; object-position: 50% 18%; background: var(--surface-2); transition: transform .5s ease; }
.person:hover .avatar img { transform: scale(1.04); }
.person-id { min-width: 0; padding-top: 4px; }
.person h3 { font-size: 1.45rem; margin: 0 0 8px; }
.person h3 span { font-size: .95rem; margin-top: 3px; }
.person .role { display: inline-block; margin: 0 0 8px; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--cyan); }
.person .meta { font-size: .84rem; }
.psec-first { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.psec-first li { color: var(--text); font-size: .88rem; }
@media (max-width: 1100px) {
  .person-top { grid-template-columns: 160px 1fr; gap: 18px; }
  .avatar { width: 160px; height: 200px; }
}
@media (max-width: 860px) {
  .people-grid { grid-template-columns: 1fr; }
  .person-top { grid-template-columns: 180px 1fr; }
  .avatar { width: 180px; height: 225px; }
}
@media (max-width: 520px) {
  .person { padding: 18px; }
  .person-top { grid-template-columns: 1fr; gap: 14px; }
  .avatar { width: 100%; max-width: 260px; height: auto; aspect-ratio: 4 / 5; margin-inline: auto; }
  .person-id { text-align: center; }
  .person .person-links { justify-content: center; }
  .psec-first { text-align: left; }
}

/* ── 첫 화면 3D 신경망 (2026-10-29) ── */
.hero3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero.has-3d .net { display: none; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 82%, transparent) 0%, color-mix(in srgb, var(--bg) 45%, transparent) 38%, transparent 62%),
              linear-gradient(0deg, var(--bg) 0%, transparent 22%); }
.hero-in { grid-template-columns: minmax(0, 640px) 1fr; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { text-shadow: 0 2px 30px rgba(5, 9, 20, .55); }
:root[data-theme="light"] .hero h1 { text-shadow: none; }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 42vh; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 45%, transparent 75%); }
}
.hero.has-3d { background: var(--bg); }
.hero.has-3d .hero-glow { display: none; }
@media (max-width: 1100px) and (min-width: 641px) { .jitem { grid-template-columns: 300px 1fr; } }

/* ── 첫 화면 v3: 가운데 3D, 좌우 이름, 아래 모토 (2026-10-29) ── */
.hero { display: block; }
.hero-shade { background: radial-gradient(ellipse 60% 70% at 50% 46%, transparent 40%, color-mix(in srgb, var(--bg) 55%, transparent) 100%),
                          linear-gradient(0deg, var(--bg) 0%, transparent 18%); }
.hero-stage { position: relative; z-index: 1; min-height: calc(100svh - var(--nav-h)); width: min(1320px, 100% - 64px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(200px, 1fr) minmax(360px, 1.5fr) minmax(200px, 1fr); grid-template-rows: 1fr auto; align-items: center; pointer-events: none; }
.hero-slot { grid-column: 2; grid-row: 1; align-self: stretch; min-height: 320px; }
.hero .hero-side { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0;
  font-size: clamp(1.45rem, 2.25vw, 2.35rem); color: var(--text); text-shadow: 0 2px 30px rgba(5, 9, 20, .6); }
:root[data-theme="light"] .hero-side { text-shadow: none; }
.hero-left { grid-column: 1; grid-row: 1; justify-self: start; display: flex; flex-direction: column; gap: 18px; }
.hero-right { grid-column: 3; grid-row: 1; justify-self: end; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.side-line { display: block; width: 56px; height: 2px; border-radius: 2px; background: var(--grad); }
.hero-motto { grid-column: 1 / -1; grid-row: 2; justify-self: center; text-align: center; margin: 0 0 96px;
  font-family: var(--display); font-weight: 500; font-size: clamp(1rem, 1.6vw, 1.35rem); color: var(--amber-2); letter-spacing: .005em;
  padding: 12px 26px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent);
  background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 960px) {
  .hero-stage { width: calc(100% - 32px); grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; text-align: center; padding: 32px 0 0; }
  .hero-left { grid-column: 1; grid-row: 1; justify-self: center; align-items: center; flex-direction: column-reverse; gap: 12px; }
  .hero-slot { grid-column: 1; grid-row: 2; min-height: 240px; }
  .hero-right { grid-column: 1; grid-row: 3; justify-self: center; align-items: center; text-align: center; gap: 12px; }
  .hero-motto { grid-row: 4; margin: 20px 0 84px; border-radius: 18px; padding: 12px 18px; }
  .hero .hero-side { font-size: clamp(1.35rem, 5.6vw, 1.9rem); }
  .hero-left br { display: none; }
}

/* ── 상단 메뉴 v2: 검은 단색 바 + 전체 폭 펼침 패널 (2026-10-29) ── */
.gnav { position: sticky; top: 0; z-index: 60; --gn-bg: #000; --gn-fg: #fff; --gn-dim: rgba(255, 255, 255, .6); --gn-faint: rgba(255, 255, 255, .45); --gn-pill: rgba(255, 255, 255, .12); --gn-pill-h: rgba(255, 255, 255, .2); }
:root[data-theme="light"] .gnav { --gn-bg: #fff; --gn-fg: #000; --gn-dim: rgba(0, 0, 0, .6); --gn-faint: rgba(0, 0, 0, .45); --gn-pill: rgba(0, 0, 0, .06); --gn-pill-h: rgba(0, 0, 0, .1); }
.gnav-bar { position: relative; z-index: 2; height: var(--nav-h); display: flex; align-items: center; gap: 36px; padding: 0 32px; background: var(--gn-bg); color: var(--gn-fg); }
.gnav-logo { display: flex; align-items: center; gap: 9px; color: var(--gn-fg); font-family: var(--display); font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; white-space: nowrap; }
.gnav-logo:hover { text-decoration: none; }
.gnav-logo img { border-radius: 50%; }
.gnav-menu ul { display: flex; list-style: none; gap: 30px; margin: 0; padding: 0; }
.gnav-menu a { display: block; padding: 22px 0; color: var(--gn-dim); font-size: .94rem; font-weight: 400; letter-spacing: -.01em; transition: color .15s ease; }
.gnav-menu a:hover, .gnav-menu a.on, .gnav-item.open > a { color: var(--gn-fg); text-decoration: none; }
.gnav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.gnav-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border: 0; border-radius: 40px; background: var(--gn-pill); color: var(--gn-fg); font: 500 .84rem var(--font); cursor: pointer; transition: background .15s; }
.gnav-pill:hover { background: var(--gn-pill-h); }
.gnav-cta { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 18px; border-radius: 40px; background: var(--gn-fg); color: var(--gn-bg); font-size: .88rem; font-weight: 500; }
.gnav-cta:hover { text-decoration: none; opacity: .88; }
.gnav-burger { display: none; width: 38px; height: 38px; border: 0; background: transparent; color: var(--gn-fg); cursor: pointer; border-radius: 10px; }
.gnav-burger:hover { background: var(--gn-pill); }
.gnav-theme .i-sun, .gnav-theme .i-moon { flex: none; }

.gnav-panel { position: absolute; left: 0; right: 0; top: var(--nav-h); z-index: 1; background: var(--gn-bg); color: var(--gn-fg);
  clip-path: inset(0 0 100% 0); transition: clip-path .32s cubic-bezier(.2, .7, .2, 1); }
.gnav-panel.show { clip-path: inset(0 0 0 0); }
.gnav-panel-in { padding: 26px 32px 64px; min-height: 236px; display: flex; gap: 80px; }
.gnav-col-h { margin: 0 0 14px; font-size: .82rem; color: var(--gn-faint); }
.gnav-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gnav-col a { display: inline-block; padding: 5px 0; color: var(--gn-fg); font-family: var(--display); font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; }
.gnav-col a:hover { text-decoration: none; color: var(--gn-dim); }
.gnav-col li { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; transition-delay: calc(var(--i) * 40ms + 60ms); }
.gnav-panel.show .gnav-col li { opacity: 1; transform: none; }
.gnav-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .25); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .25s ease; }
.gnav-scrim.show { opacity: 1; }

.gnav-mobile { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 3; background: var(--gn-bg); color: var(--gn-fg); overflow-y: auto; padding: 18px 24px 40px; }
.gnav-mobile ul { list-style: none; margin: 0; padding: 0; }
.gnav-mobile > ul > li { border-bottom: 1px solid var(--gn-pill); padding: 10px 0; }
.gnav-mobile > ul > li > a { display: block; padding: 8px 0; color: var(--gn-fg); font-family: var(--display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; }
.gnav-mobile li ul a { display: block; padding: 6px 0 6px 2px; color: var(--gn-dim); font-size: 1rem; }
.gnav-mobile a:hover { text-decoration: none; }

@media (max-width: 960px) {
  .gnav-bar { padding: 0 20px; gap: 16px; }
  .gnav-menu, .gnav-cta, .gnav-pill-label { display: none; }
  .gnav-pill { padding: 0; width: 38px; justify-content: center; background: transparent; }
  .gnav-burger { display: grid; place-items: center; }
  .gnav-panel { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gnav-panel, .gnav-col li, .gnav-scrim { transition: none; } }

/* People 허브: 얼굴은 6명까지 겹쳐 놓고 나머지는 +N — 카드 밖으로 넘치지 않게 (2026-10-29) */
.faces { flex-wrap: nowrap; overflow: hidden; max-width: 100%; align-items: center; }
.faces img { flex: none; }
.faces-more { flex: none; display: grid; place-items: center; width: 56px; height: 56px; margin-left: -12px; border-radius: 50%;
  background: var(--surface-2); border: 2px solid var(--surface); color: var(--text-2); font-size: .85rem; font-weight: 600; }

/* 저널·학회 이름 강조 (2026-10-29) */
.venue-name { color: var(--amber-2); font-weight: 600; font-style: italic; }
.ctitle { color: var(--text); font-weight: 600; }
.venue .venue-name { font-size: .95rem; }

/* ── Lab overview: 움직이는 다이어그램 (원래 그림 대체, 2026-10-29) ── */
.ov { position: relative; overflow: hidden; }
.ov-bg { position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background: radial-gradient(900px 420px at 15% 10%, rgba(61, 139, 255, .12), transparent 60%), radial-gradient(800px 400px at 90% 85%, rgba(255, 154, 61, .09), transparent 60%);
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.ov-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(148, 170, 220, .18) 1px, transparent 1.2px); background-size: 28px 28px; animation: ov-drift 40s linear infinite; }
@keyframes ov-drift { to { background-position: 280px 140px; } }
.ov .wrap { position: relative; }
.ov-head { text-align: center; max-width: 920px; margin: 0 auto 56px; }
.ov-title { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 22px; }
.ov-word { display: inline-block; background: var(--grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: ov-shine 8s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s); }
@keyframes ov-shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.ov-intro { color: var(--text-2); font-size: 1.05rem; margin: 0 auto 8px; }
.ov-mottos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.ov-mottos span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .84rem; font-weight: 600; color: var(--text);
  background: color-mix(in srgb, var(--surface) 70%, transparent); animation: ov-pop 6s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes ov-pop { 0%, 70%, 100% { border-color: var(--line-2); box-shadow: none; } 80% { border-color: var(--cyan); box-shadow: 0 0 22px -4px rgba(69, 212, 255, .55); } }

.ov-ic { display: inline-grid; place-items: center; color: var(--cyan); }
.ov-ic .ic, .ov-orb .ic, .ov-jic .ic { width: 100%; height: 100%; }
.draw { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.4s ease; }
.in .draw, .ov-flow.in .draw, .ov-journey.in .draw, .ov-foot.in .draw { stroke-dashoffset: 0; }
.blink { animation: ov-blink 3.2s ease-in-out infinite; }
@keyframes ov-blink { 0%, 92%, 100% { opacity: 1; } 95% { opacity: .1; } }
.twinkle { transform-box: fill-box; transform-origin: center; animation: ov-twinkle 2.4s ease-in-out infinite; }
.twinkle.d2 { animation-delay: -1.2s; }
@keyframes ov-twinkle { 0%, 100% { transform: scale(.6); opacity: .5; } 50% { transform: scale(1.15); opacity: 1; } }
.spin-slow { transform-box: fill-box; transform-origin: center; animation: spin 14s linear infinite; }
.swing { transform-box: view-box; transform-origin: 8.5px 17.5px; animation: ov-swing 4s ease-in-out infinite; }
@keyframes ov-swing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg); } }
.beat { transform-box: fill-box; transform-origin: center; animation: ov-beat 1.6s ease-in-out infinite; }
@keyframes ov-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.1); } 30% { transform: scale(.98); } }
.pulse-a { animation: ov-pulse 2s ease-in-out infinite; } .pulse-b { animation: ov-pulse 2s ease-in-out infinite .5s; }
@keyframes ov-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.grow { transform-box: fill-box; transform-origin: bottom; animation: ov-grow 3s ease-in-out infinite; }
@keyframes ov-grow { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.loop { stroke-dasharray: 18 6; animation: ov-loop 2.4s linear infinite; }
@keyframes ov-loop { to { stroke-dashoffset: -48; } }
.dash { stroke-dasharray: 3 3; animation: ov-loop 3s linear infinite; }

/* 6 pillars */
.ov-pillars { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 28px; }
.ov-pillar { position: relative; padding: 22px 16px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: center; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; transition-delay: calc(var(--i) * 60ms); }
.ov-pillar::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); opacity: 0; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ov-pillar:hover { transform: translateY(-5px); box-shadow: 0 16px 40px -20px rgba(69, 160, 255, .55); }
.ov-pillar:hover::before { opacity: 1; }
.ov-pillar .ov-ic { width: 52px; height: 52px; padding: 12px; border-radius: 16px; margin-bottom: 12px;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--cyan) 25%, transparent), color-mix(in srgb, var(--blue) 12%, transparent)); }
.ov-pillar:nth-child(n+4) .ov-ic { color: var(--amber-2); background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--amber) 25%, transparent), color-mix(in srgb, var(--amber) 8%, transparent)); }
.ov-pillar h3 { font-size: .98rem; margin: 0 0 8px; }
.ov-pillar p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* 흐름도 */
.ov-flow { position: relative; display: grid; align-items: center; gap: 0 0;
  grid-template-columns: minmax(0, 1.08fr) 26px minmax(0, .56fr) 26px minmax(0, 1.8fr) 26px minmax(0, .56fr) 26px minmax(0, 1.3fr);
  padding: 26px; border-radius: 26px; background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line); margin-bottom: 28px; }
.ov-col { align-self: stretch; padding: 16px 14px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.ov-col-h { font-family: var(--font); font-size: .82rem; font-weight: 700; color: var(--text); margin: 0 0 12px; text-align: center; }
.ov-col ul { list-style: none; display: grid; gap: 8px; }
.ov-col li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  font-size: .82rem; color: var(--text-2); line-height: 1.35; animation: ov-lit 5s ease-in-out infinite; animation-delay: calc(var(--i) * .7s); }
@keyframes ov-lit { 0%, 75%, 100% { border-color: var(--line); } 85% { border-color: color-mix(in srgb, var(--cyan) 60%, transparent); } }
.ov-ind li { align-items: flex-start; animation-name: ov-lit-w; }
@keyframes ov-lit-w { 0%, 75%, 100% { border-color: var(--line); } 85% { border-color: color-mix(in srgb, var(--amber) 60%, transparent); } }
.ov-ind li b { display: block; color: var(--text); font-size: .86rem; }
.ov-ind .ov-ic { color: var(--amber-2); }
.ov-ic.sm { flex: none; width: 22px; height: 22px; }
.ov-more { justify-content: center; border: 0 !important; background: transparent !important; animation: none !important; padding: 0 !important; color: var(--muted); }
.ov-node { text-align: center; padding: 6px; }
.ov-orb { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 12px; padding: 24px; border-radius: 50%; color: var(--cyan);
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 22%, var(--surface)) 0%, var(--surface) 70%); border: 1px solid var(--line-2);
  box-shadow: 0 0 0 0 rgba(69, 212, 255, .4); animation: ov-halo 2.8s ease-out infinite; }
.ov-orb.warm { color: var(--amber-2); background: radial-gradient(circle, color-mix(in srgb, var(--amber) 20%, var(--surface)) 0%, var(--surface) 70%); animation-name: ov-halo-w; }
@keyframes ov-halo { 0% { box-shadow: 0 0 0 0 rgba(69, 212, 255, .45); } 100% { box-shadow: 0 0 0 22px rgba(69, 212, 255, 0); } }
@keyframes ov-halo-w { 0% { box-shadow: 0 0 0 0 rgba(255, 154, 61, .45); } 100% { box-shadow: 0 0 0 22px rgba(255, 154, 61, 0); } }
.ov-node h3 { font-family: var(--font); font-size: .9rem; font-weight: 700; margin: 0 0 4px; }
.ov-node p { font-size: .78rem; color: var(--muted); margin: 0; }
.ov-link { position: relative; height: 2px; align-self: center; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.ov-link::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--line-2); }
.ov-link i { position: absolute; top: -2px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px 2px rgba(69, 212, 255, .8);
  animation: ov-flow 1.8s linear infinite; }
.ov-link i:nth-child(2) { animation-delay: .6s; } .ov-link i:nth-child(3) { animation-delay: 1.2s; }
.ov-link:nth-of-type(n+4) i { background: var(--amber-2); box-shadow: 0 0 10px 2px rgba(255, 154, 61, .8); }
@keyframes ov-flow { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 6px); opacity: 0; } }

.ov-core { text-align: center; }
.ov-core-h { display: inline-block; margin: 0 0 16px; padding: 6px 16px; border-radius: 999px; font-family: var(--font); font-size: .84rem; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, #1d3f8f, #2457c5); box-shadow: 0 6px 20px -8px rgba(61, 139, 255, .8); }
.ov-cycle { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1.42; margin: 0 auto; }
.ov-ring { position: absolute; left: 50%; top: 50%; width: 58%; transform: translate(-50%, -50%); overflow: visible; }
.ov-ring-base { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 6; }
.ov-ring-arc { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 110 380; transform-origin: 100px 100px; transform: rotate(-135deg);
  transition: transform .9s cubic-bezier(.6, 0, .2, 1); filter: drop-shadow(0 0 6px rgba(69, 212, 255, .8)); }
.ov-center { position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-content: center;
  font-family: var(--display); font-weight: 700; font-size: .9rem; line-height: 1.15; color: #fff; text-align: center;
  background: radial-gradient(circle at 35% 30%, #5b8cff, #2a3fbf 60%, #1a237e); box-shadow: 0 0 36px -4px rgba(61, 139, 255, .75), inset 0 0 20px rgba(255, 255, 255, .15);
  animation: ov-breathe 3.2s ease-in-out infinite; }
.ov-center span { display: block; font-size: 1.25rem; }
@keyframes ov-breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.06); } }
.ov-step { position: absolute; width: 30%; padding: 7px 8px; border-radius: 10px; font-size: .72rem; font-weight: 600; line-height: 1.25; color: #dfe8ff;
  background: #16244a; border: 1px solid rgba(120, 160, 255, .25); transform: translate(-50%, -50%); transition: background .4s, box-shadow .4s, color .4s, transform .4s; }
.ov-step-1 { left: 50%; top: 9%; } .ov-step-2 { left: 85%; top: 50%; } .ov-step-3 { left: 50%; top: 91%; } .ov-step-4 { left: 15%; top: 50%; }
.ov-step.on { background: linear-gradient(135deg, #2b6bff, #19b7e8); color: #fff; box-shadow: 0 0 26px -2px rgba(69, 212, 255, .75); transform: translate(-50%, -50%) scale(1.06); }
:root[data-theme="light"] .ov-step { color: #1c2b52; background: #e8eefc; border-color: rgba(31, 107, 255, .25); }
:root[data-theme="light"] .ov-step.on { color: #fff; }
.ov-value { grid-column: 5; grid-row: 2; justify-self: center; margin-top: 10px; position: relative; }
.ov-value::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 12px; background: var(--line-2); }
.ov-value span { display: inline-block; padding: 9px 20px; border-radius: 999px; font-size: .86rem; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, #1d3f8f, #2457c5, #c76a1c); background-size: 200% 100%; animation: ov-shine 6s ease-in-out infinite; box-shadow: 0 8px 26px -10px rgba(61, 139, 255, .9); }

/* 7단계 여정 */
.ov-journey { position: relative; padding: 30px 26px 26px; border-radius: 26px; margin-bottom: 28px; overflow: hidden;
  background: radial-gradient(700px 240px at 50% 0%, rgba(61, 139, 255, .22), transparent 70%), linear-gradient(180deg, #0b1a3d, #081129); border: 1px solid rgba(120, 160, 255, .2); color: #e8eefc; }
.ov-journey-h { text-align: center; font-size: 1.25rem; margin: 0 0 26px; color: #fff; }
.ov-track { position: absolute; left: 7%; right: 7%; top: 112px; height: 2px; background: rgba(150, 180, 255, .18); }
.ov-track-glow { position: absolute; top: -3px; left: 0; width: 120px; height: 8px; border-radius: 8px; background: linear-gradient(90deg, transparent, #45d4ff, #ff9a3d, transparent);
  filter: blur(2px); animation: ov-run 7s linear infinite; }
@keyframes ov-run { from { left: -120px; } to { left: 100%; } }
.ov-journey ol { list-style: none; position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.ov-journey li { text-align: center; padding: 0 4px; }
.ov-jic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; padding: 15px; border-radius: 50%; color: #7fd8ff;
  background: radial-gradient(circle, #13306b, #0a1736 70%); border: 1px solid rgba(120, 170, 255, .3); transition: all .5s ease; position: relative; z-index: 1; }
.ov-journey li:nth-child(n+5) .ov-jic { color: #ffc27d; }
.ov-journey li.on .ov-jic { transform: translateY(-4px) scale(1.1); border-color: #45d4ff; box-shadow: 0 0 30px -2px rgba(69, 212, 255, .8); color: #fff; }
.ov-journey li:last-child.on .ov-jic { border-color: #ff9a3d; box-shadow: 0 0 34px 0 rgba(255, 154, 61, .85); }
.ov-journey li b { display: block; font-size: .86rem; line-height: 1.3; margin-bottom: 6px; color: #fff; }
.ov-journey li p { font-size: .76rem; color: #9fb2d8; margin: 0; line-height: 1.45; }
.ov-journey li.on b { color: #7fe3ff; }

/* 마무리 */
.ov-foot { display: grid; grid-template-columns: 1fr 1.4fr 1.5fr; gap: 24px; align-items: center; padding: 22px 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.ov-chain { margin: 0; display: grid; gap: 2px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.ov-chain span { opacity: .45; animation: ov-chain 6s ease-in-out infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes ov-chain { 0%, 40%, 100% { opacity: .45; color: var(--text); } 8%, 30% { opacity: 1; color: var(--cyan); } }
.ov-mission { margin: 0; padding: 0 22px; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); text-align: center; color: var(--text-2); font-size: .96rem; }
.ov-outcomes { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.ov-outcomes li { font-size: .76rem; font-weight: 600; color: var(--text-2); display: grid; justify-items: center; gap: 6px; }
.ov-outcomes .ov-ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; border: 1px solid var(--line-2); animation: ov-halo 3s ease-out infinite; animation-delay: calc(var(--i) * .75s); }

@media (max-width: 1180px) {
  .ov-pillars { grid-template-columns: repeat(3, 1fr); }
  .ov-flow { grid-template-columns: 1fr; gap: 0; padding: 20px; }
  .ov-flow > * { grid-column: 1 !important; grid-row: auto !important; }
  .ov-link { width: 2px; height: 34px; justify-self: center; background: linear-gradient(180deg, transparent, var(--line-2), transparent); }
  .ov-link::after { right: -4px; top: auto; bottom: -6px; border-left-color: transparent; border-top-color: var(--line-2); }
  .ov-link i { left: -2px; animation-name: ov-flow-v; }
  @keyframes ov-flow-v { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 6px); opacity: 0; } }
  .ov-col ul { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .ov-cycle { max-width: 480px; }
  .ov-value { order: 0; }
  .ov-journey ol { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
  .ov-track { display: none; }
  .ov-foot { grid-template-columns: 1fr; text-align: center; }
  .ov-mission { border: 0; padding: 0; }
}
@media (max-width: 640px) {
  .ov-pillars { grid-template-columns: repeat(2, 1fr); }
  .ov-journey ol { grid-template-columns: repeat(2, 1fr); }
  .ov-outcomes { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .ov-step { font-size: .64rem; width: 33%; padding: 5px 6px; }
  .ov-center { font-size: .7rem; } .ov-center span { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .ov *, .ov *::before, .ov *::after { animation: none !important; } .draw { stroke-dashoffset: 0; } }
.ov-orbit { transform-origin: 100px 100px; animation: spin 6s linear infinite; }
.ov-orbit.o2 { animation-duration: 9s; animation-direction: reverse; }
.ov-orbit circle { filter: drop-shadow(0 0 5px rgba(69, 212, 255, .95)); }

/* ── 교수 페이지 v2: 왼쪽 사진·이름·연락처·링크 고정, 오른쪽 내용만 스크롤 (2026-10-29) ── */
.fac { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; }
.fac-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.fac-card { padding: 18px 18px 22px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.fac-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--surface-2); padding: 3px;
  background: linear-gradient(140deg, rgba(61, 139, 255, .8), rgba(69, 212, 255, .35) 45%, rgba(255, 154, 61, .8)); }
.fac-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 15px; }
.fac-role { margin: 16px 4px 2px; }
.fac-name { margin: 0 4px 12px; font-family: var(--font); font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; }
.fac-name span { display: block; font-size: 1.02rem; font-weight: 500; color: var(--text-2); margin-top: 2px; }
.fac-contact { list-style: none; display: grid; gap: 8px; margin: 0 4px 14px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.fac-contact li { display: grid; gap: 2px; font-size: .86rem; }
.fac-k { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.fac-v { color: var(--text-2); display: grid; gap: 1px; word-break: break-word; }
.fac-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fac-links a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 11px; border-radius: 11px; font-size: .78rem; font-weight: 600;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.fac-links a span { color: var(--muted); font-size: .8rem; }
.fac-links a:hover { text-decoration: none; border-color: var(--cyan); }
.fac-links a:hover span { color: var(--cyan); }
.fac-links a.wide { grid-column: 1 / -1; }
.fac-main { display: grid; gap: 18px; }
.fac-block { padding: 26px 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.fac-h { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin: 0 0 16px; }
.fac-h::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--grad); }
.fac-bio { margin: 0; color: var(--text-2); font-size: 1.04rem; line-height: 1.8; }
.fac-tl { list-style: none; display: grid; gap: 0; position: relative; }
.fac-tl li { position: relative; padding: 0 0 16px 26px; display: grid; gap: 2px; }
.fac-tl li:last-child { padding-bottom: 0; }
.fac-tl li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 18%, transparent); }
.fac-tl li::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: 2px; width: 1px; background: var(--line-2); }
.fac-tl li:last-child::after { display: none; }
.fac-tl b { color: var(--text); font-weight: 600; }
.fac-tl span, .fac-tl a { color: var(--text-2); font-size: .93rem; }
.fac-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.fac-chips span { padding: 6px 13px; border-radius: 999px; font-size: .86rem; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); }
.fac-awards { list-style: none; display: grid; gap: 10px; }
.fac-awards li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.fac-badge { white-space: nowrap; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: var(--amber-2); background: color-mix(in srgb, var(--amber) 16%, transparent); }
.fac-aw { font-size: .92rem; color: var(--text-2); }
@media (max-width: 960px) {
  .fac { grid-template-columns: 1fr; gap: 20px; }
  .fac-side { position: static; }
  .fac-card { display: grid; grid-template-columns: 200px 1fr; gap: 0 22px; align-items: start; }
  .fac-photo { grid-row: span 4; }
  .fac-role { margin-top: 4px; }
  .fac-links { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
}
@media (max-width: 600px) {
  .fac-card { grid-template-columns: 1fr; }
  .fac-photo { grid-row: auto; max-width: 300px; }
  .fac-links { grid-template-columns: 1fr 1fr; }
  .fac-block { padding: 22px 20px; }
  .fac-awards li { grid-template-columns: 1fr; gap: 6px; }
  .fac-badge { justify-self: start; }
}
@media (min-width: 961px) and (max-height: 860px) { .fac-photo { aspect-ratio: 4 / 2.85; } .fac-name { font-size: 1.55rem; } }
.fac-addr { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .92rem; display: grid; gap: 2px; }

/* 교수 이름 한 줄, 이메일 한 줄, 기관 고유색 강조 (2026-10-29) */
.fac-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; }
.fac-name span { display: inline; margin: 0; font-size: 1.05rem; }
.fac-mails { display: block; white-space: nowrap; font-size: .8rem; letter-spacing: -.01em; }
.fac-mails i { font-style: normal; color: var(--muted); margin: 0 5px; }
.inst { font-weight: 800; }
.inst.inst-ku { color: #c4666e; }        /* 고려대 크림슨 → 밝은 붉은색 */
.inst.inst-dongguk { color: #ff9f2e; }   /* 동국대 주황 */
.inst.inst-aimtory { color: #4d8dff; }   /* 아임토리 파랑 */
.inst.inst-basbai { color: #4fd3ff; }    /* 바스바이 하늘색 */
.inst.inst-kaist { color: #3aa6ff; }     /* KAIST 블루 */
.inst.inst-yonsei { color: #7b9cff; }    /* 연세 블루 */
:root[data-theme="light"] .inst.inst-ku { color: #b63a46; }
:root[data-theme="light"] .inst.inst-dongguk { color: #e2740a; }
:root[data-theme="light"] .inst.inst-aimtory { color: #1f5fe0; }
:root[data-theme="light"] .inst.inst-basbai { color: #0a98cf; }
:root[data-theme="light"] .inst.inst-kaist { color: #00519e; }
:root[data-theme="light"] .inst.inst-yonsei { color: #1a3f9c; }
.fac-contact .fac-v { font-size: .84rem; }
@media (max-width: 960px) { .fac { grid-template-columns: minmax(0, 1fr); } .fac-card { grid-template-columns: 200px minmax(0, 1fr); } }
@media (max-width: 600px) { .fac-card { grid-template-columns: minmax(0, 1fr); } .fac-mails { white-space: normal; } }
.inst-link:hover { text-decoration: none; }
.inst-link:hover .inst { text-decoration: underline; text-underline-offset: 3px; }

/* 산업 적용 목록: 제목은 밝게, 설명은 작게 — 높이를 줄여 깔끔하게 (2026-10-29) */
.ov-ind ul { gap: 6px; }
.ov-ind li { display: grid; grid-template-columns: 26px 1fr; gap: 2px 10px; align-items: center; padding: 8px 11px; }
.ov-ind li .ov-ic.sm { grid-row: span 2; width: 26px; height: 26px; padding: 4px; border-radius: 8px; align-self: center;
  background: color-mix(in srgb, var(--amber) 14%, transparent); }
.ov-ind li b { grid-column: 2; font-size: .86rem; font-weight: 700; color: #fff; letter-spacing: -.005em; line-height: 1.2; }
:root[data-theme="light"] .ov-ind li b { color: var(--text); }
.ov-ind-d { grid-column: 2; font-size: .7rem; line-height: 1.35; color: var(--muted); }
.ov-more { display: block !important; text-align: center; padding: 0 !important; line-height: 1; }
.ov-data ul { gap: 6px; }
.ov-data li { padding: 7px 8px; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--text); }
.ov-data li .ov-ic.sm { width: 24px; height: 24px; padding: 4px; border-radius: 8px; background: color-mix(in srgb, var(--cyan) 14%, transparent); }
.ov-col { padding: 14px 12px; }
.ov-col-h { font-size: .8rem; }
@media (max-width: 1180px) { .ov-data li { white-space: normal; } }
.ov-data { align-self: center; }
.ov .wrap { width: min(1340px, 100% - 32px); }
.ov-node h3 { font-size: .84rem; }
.ov-node p { font-size: .74rem; }
.ov-orb { width: 84px; height: 84px; padding: 22px; }
.ov-step { font-size: .7rem; }

/* 고려대 강조색(크림슨) — 어두운 화면은 밝게 (2026-10-29) */
.ku { color: #c4666e; font-weight: 800; }
:root[data-theme="light"] .ku { color: #b63a46; }
.hero .hero-side .ku { color: #c4666e; }
:root[data-theme="light"] .hero .hero-side .ku { color: #b63a46; }
.hero-left .side-line { background: linear-gradient(90deg, #c4666e, #9e4a52); }
@media (max-width: 960px) { .hero-right br { display: none; } }

/* ── 연구 분야 움직이는 일러스트 (2026-10-29) ── */
.rs-media { position: relative; background: #070d1e; border-color: rgba(120, 170, 255, .25); }
.rs-scene { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.rs-fig { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #fff;
  background: rgba(7, 13, 30, .72); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.rs-fig:hover { text-decoration: none; border-color: #45d4ff; }
.rs-t { font: 600 13px var(--font); fill: #dfe8ff; }
.rs-t.sm { font-size: 11px; } .rs-t.dim { fill: #9fb0cf; }
.rs-tb { font: 700 15px var(--display); fill: #fff; }
.rs-cap { font: 600 11px var(--font); fill: #8fa6d6; letter-spacing: .08em; text-transform: uppercase; }
.rs-star { font-size: 16px; fill: #ffc46b; }
.rs-link { fill: none; stroke: rgba(120, 170, 255, .35); stroke-width: 1.6; }
.rs-edge { fill: none; stroke: rgba(120, 170, 255, .16); stroke-width: 1.2; }
.rs-grid { stroke: rgba(120, 170, 255, .1); }
.rs-axis line { stroke: rgba(150, 180, 230, .4); stroke-width: 1.5; }
.rs-base { fill: none; stroke: rgba(160, 175, 205, .55); stroke-width: 2.4; stroke-dasharray: 6 6; }
.rs-attn { stroke: #ffb466; stroke-width: 1.4; opacity: 0; animation: rs-attn 2.4s ease-in-out infinite; }
@keyframes rs-attn { 0%, 100% { opacity: 0; } 40% { opacity: .85; } }
.rs-draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: rs-draw 4s ease-in-out infinite; }
@keyframes rs-draw { 0% { stroke-dashoffset: 900; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -900; } }
.rs-flow { animation: rs-flow 1.2s linear infinite; }
@keyframes rs-flow { to { stroke-dashoffset: -30; } }
.rs-scroll { animation: rs-scroll 9s linear infinite; }
@keyframes rs-scroll { to { transform: translateX(-360px); } }
.rs-spin { animation: spin 7s linear infinite; }
.rs-radar { animation: spin 4.5s linear infinite; transform-origin: 0 0; }
.rs-rec { fill: none; stroke: #ff9a3d; stroke-width: 2; stroke-dasharray: 260; stroke-dashoffset: 260; animation: rs-rec 3s ease-in-out infinite; }
@keyframes rs-rec { 0% { stroke-dashoffset: 260; opacity: 1; } 40% { stroke-dashoffset: 0; opacity: 1; } 80% { opacity: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.rs-badge { animation: rs-bob 2.6s ease-in-out infinite; }
@keyframes rs-bob { 0%, 100% { transform: translate(470px, 92px); } 50% { transform: translate(470px, 84px); } }
@media (prefers-reduced-motion: reduce) { .rs-scene * { animation: none !important; } .rs-draw { stroke-dashoffset: 0; } }

/* ── 갤러리 v2: 같은 비율의 카드 격자 + 연도 필터 (2026-10-29) ── */
.gal-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.gal-tools i { font-style: normal; opacity: .6; margin-left: 4px; }
.gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gcard { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.gcard:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.gcover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.gcover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .7s ease; }
.gcard:hover .gcover img { transform: scale(1.05); }
.gcover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 30%, transparent 70%, rgba(0, 0, 0, .25)); pointer-events: none; }
.gdate { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; color: #fff;
  background: rgba(10, 16, 32, .6); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .18); }
.gcount { position: absolute; right: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; color: #fff; background: rgba(10, 16, 32, .6); backdrop-filter: blur(6px); }
.gbody { padding: 16px 18px 12px; }
.gbody h2 { font-family: var(--font); font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; letter-spacing: -.01em; }
.gbody p { font-size: .88rem; color: var(--text-2); margin: 0 0 8px; }
.gthumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 12px 14px; margin-top: auto; }
.gthumbs a { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.gthumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s; }
.gthumbs a:hover img { transform: scale(1.08); }
.gthumbs .ghide { display: none; }
.gthumbs .gmore::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5, 10, 24, .6); color: #fff; font-weight: 700; }
.gcard.is-hidden { display: none; }
@media (max-width: 1060px) { .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gal-grid { grid-template-columns: 1fr; } }
/* 첫 화면 좌우 이름은 한 줄로 */
.hero .hero-side { white-space: nowrap; }
@media (min-width: 961px) { .hero-stage { grid-template-columns: minmax(240px, 1fr) minmax(360px, 1.4fr) minmax(240px, 1fr); } }

/* 갤러리: 화면 폭을 최대한 쓰고, 넓은 모니터일수록 한 줄에 더 많이 (2026-10-29) */
.gal-wrap { width: calc(100% - 48px); max-width: none; }
.gal-sec .gal-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
@media (min-width: 1800px) { .gal-sec .gal-grid { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); } }
@media (max-width: 640px) { .gal-wrap { width: calc(100% - 32px); } .gal-sec .gal-grid { grid-template-columns: 1fr; } }
/* 갤러리: 넓은 화면은 한 줄 3개로 고정 — 사진을 크게 (2026-10-29) */
.gal-sec .gal-grid, .gal-sec .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (min-width: 1800px) { .gal-sec .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
@media (max-width: 1024px) { .gal-sec .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gal-sec .gal-grid { grid-template-columns: 1fr; } }
.gal-sec .gbody h2 { font-size: 1.15rem; }

/* 본문 폭을 조금 넓게 — 1200 → 1400px, 좌우 여백 24px (2026-10-30) */
.wrap { width: min(1400px, 100% - 48px); }
.ov .wrap { width: min(1440px, 100% - 48px); }
.hero-stage { width: min(1440px, 100% - 64px); }
@media (max-width: 640px) { .wrap, .ov .wrap { width: calc(100% - 32px); } }

/* 교수 사진: 크게 + 누르면 확대 (2026-10-30) */
@media (min-width: 961px) {
  .fac { grid-template-columns: 390px minmax(0, 1fr); gap: 44px; }
  .fac-links { grid-template-columns: repeat(3, 1fr); }
  .fac-links a.wide { grid-column: 1 / -1; }
}
.fac-photo a { position: relative; display: block; width: 100%; height: 100%; border-radius: 15px; overflow: hidden; cursor: zoom-in; }
.fac-photo img { transition: transform .5s ease; }
.fac-photo a:hover img { transform: scale(1.04); }
.fac-zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  color: #fff; background: rgba(5, 10, 24, .6); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(4px); opacity: .85; transition: opacity .2s, transform .2s; }
.fac-photo a:hover .fac-zoom { opacity: 1; transform: scale(1.08); }
/* 링크 버튼: 글자 길이에 맞춘 알약 — 꺾이지 않게 */
.fac-links { display: flex; flex-wrap: wrap; gap: 6px; }
.fac-links a { flex: 0 0 auto; white-space: nowrap; gap: 8px; padding: 7px 12px; border-radius: 999px; }
.fac-links a.wide { flex-basis: 100%; justify-content: space-between; border-radius: 12px; }
/* 첫 화면만 한 단계 더 넓게: 좌우 이름은 화면 가장자리 쪽으로, 가운데 3D 는 더 크게 (2026-10-30) */
@media (min-width: 961px) {
  .hero-stage { width: calc(100% - 96px); max-width: 2200px; grid-template-columns: minmax(240px, 1fr) minmax(420px, 2fr) minmax(240px, 1fr); }
  .hero .hero-side { font-size: clamp(1.6rem, 2.4vw, 2.8rem); }
}
/* 갤러리 연도 필터: 스크롤해도 상단 메뉴 바로 아래에 고정 (2026-10-30) */
.gal-tools { position: sticky; top: var(--nav-h); z-index: 20; margin: 0 -24px 26px; padding: 12px 24px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.gal-tools.stuck { border-bottom-color: var(--line); box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .7); }
@media (max-width: 640px) { .gal-tools { margin: 0 -16px 20px; padding: 10px 16px; } }
.pwrap { display: contents; }
.pwrap.is-hidden { display: none; }

/* ── 상단 고정 하위 메뉴 (모든 페이지 공통, 2026-10-30) ── */
:root { --sub-h: 0px; }
.stickbar { position: sticky; top: var(--nav-h); z-index: 22; margin-left: -24px; margin-right: -24px; padding: 12px 24px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.stickbar2 { position: sticky; top: calc(var(--nav-h) + var(--sub-h)); z-index: 21; margin-left: -24px; margin-right: -24px; padding: 10px 24px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.stickbar.stuck, .stickbar2.stuck { border-bottom-color: var(--line); box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .7); }
.subnav.stickbar { margin-bottom: 30px; }
.chips.stickbar { margin-bottom: 40px; }
/* 고정 막대 아래로 오는 것들은 그만큼 내려서 붙는다 */
.year, .fac-side { top: calc(var(--nav-h) + var(--sub-h) + 20px); }
.pub-tools.stickbar2 { margin-bottom: 30px; }
html { scroll-padding-top: calc(var(--nav-h) + var(--sub-h) + 16px); }
@media (max-width: 760px) {
  .stickbar, .stickbar2 { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  /* 좁은 화면: 한 줄로 두고 옆으로 밀어서 본다 — 고정 막대가 화면을 덮지 않게 */
  .subnav.stickbar, .chips.stickbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .subnav.stickbar::-webkit-scrollbar, .chips.stickbar::-webkit-scrollbar { display: none; }
  .subnav.stickbar a, .chips.stickbar a { flex: none; white-space: nowrap; }
  .pub-tools.stickbar2 { position: static; }
}

/* ── Projects 첫 페이지 ── */
.pj-hub { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; margin-bottom: 26px; }
.pj-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: 26px; color: var(--text); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.pj-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background: radial-gradient(600px 220px at 0% 0%, rgba(61, 139, 255, .16), transparent 70%); }
.pj-nat::before { background: radial-gradient(600px 220px at 100% 0%, rgba(255, 154, 61, .14), transparent 70%); }
.pj-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); text-decoration: none; }
.pj-top { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; }
.pj-kicker { grid-column: 1 / -1; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.pj-nat .pj-kicker { color: var(--amber-2); }
.pj-num { font-family: var(--display); font-size: 1.1rem; color: var(--text-2); }
.pj-num b { font-size: 3.2rem; line-height: 1; color: var(--text); margin-right: 6px; letter-spacing: -.03em; }
.pj-span { font-weight: 600; color: var(--muted); font-size: .92rem; padding-bottom: 8px; }
.pj-logos { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pj-logo { display: grid; place-items: center; height: 58px; padding: 8px 12px; border-radius: 12px; background: #fff; }
.pj-logo img { max-height: 38px; width: auto; object-fit: contain; }
.pj-orgs { position: relative; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pj-orgs li { padding: 7px 13px; border-radius: 999px; font-size: .84rem; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); }
.pj-desc { position: relative; margin: 0; color: var(--text-2); font-size: .95rem; }
.pj-go { position: relative; margin-top: auto; font-weight: 700; color: var(--cyan); }
.pj-nat .pj-go { color: var(--amber-2); }
.pj-go i { font-style: normal; display: inline-block; transition: transform .2s; }
.pj-card:hover .pj-go i { transform: translateX(4px); }
.pj-chart { padding: 26px 30px 22px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.pj-chart-h { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pj-chart-h h2 { font-size: 1.25rem; margin: 0; }
.pj-legend { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--text-2); }
.pj-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 8px; }
.li { background: linear-gradient(180deg, #45d4ff, #3d8bff); }
.ln { background: linear-gradient(180deg, #ffc46b, #ff9a3d); }
.pj-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; align-items: end; height: 220px; }
.pj-bar { display: grid; grid-template-rows: 1fr auto auto; justify-items: center; height: 100%; gap: 4px; }
.pj-stack { align-self: end; width: min(42px, 70%); height: var(--h); display: flex; flex-direction: column; border-radius: 8px 8px 4px 4px; overflow: hidden;
  transform-origin: bottom; transform: scaleY(0); transition: transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 50ms); }
.pj-chart.in .pj-stack { transform: none; }
.pj-seg { display: block; min-height: 4px; }
.pj-bar b { font-size: .8rem; color: var(--text); }
.pj-bar small { font-size: .74rem; color: var(--muted); }
.pj-bar:hover .pj-stack { filter: brightness(1.2); }
@media (max-width: 900px) { .pj-hub { grid-template-columns: 1fr; } .pj-logos { grid-template-columns: repeat(3, 1fr); } .pj-bars { height: 180px; gap: 4px; } }
/* 교수 페이지: 하위 메뉴가 고정되는 만큼 왼쪽 카드가 화면에 다 들어오게 */
.fac-side { top: calc(var(--nav-h) + var(--sub-h) + 12px); }
@media (min-width: 961px) and (max-height: 960px) { .fac-photo { aspect-ratio: 4 / 3.4; } }
@media (min-width: 961px) and (max-height: 860px) { .fac-photo { aspect-ratio: 4 / 2.4; } .fac-contact { gap: 4px; margin-bottom: 10px; } }

/* ── 첫 화면 좌우 이름 효과: 쓸리듯 등장 · 빛 훑기 · 선 위 빛 · 구체로 이어지는 빔 (2026-10-31) ── */
.hero-side { position: relative; }
.hero .hx { display: inline-block; animation: hx-in 1.3s cubic-bezier(.2, .7, .2, 1) .25s both; }
@keyframes hx-in { from { clip-path: inset(0 100% 0 0); opacity: .2; transform: translateX(-8px); } to { clip-path: inset(0 0 0 0); opacity: 1; transform: none; } }
.hero-right .hx { animation-delay: .55s; }
/* 빛 훑기: 글자 모양 그대로 흰 빛 띠가 지나간다 */
.hero .ku.hx { background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .75) 50%, transparent 62%) 160% 0 / 250% 100% no-repeat, linear-gradient(#c4666e, #c4666e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hx-in 1.3s cubic-bezier(.2, .7, .2, 1) .25s both, hx-shine 6s ease-in-out 2s infinite; }
.hero .grad.hx { background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .8) 50%, transparent 62%) 160% 0 / 250% 100% no-repeat, var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hx-in 1.3s cubic-bezier(.2, .7, .2, 1) .55s both, hx-shine 6s ease-in-out 5s infinite; }
@keyframes hx-shine { 0%, 70% { background-position: 160% 0, 0 0; } 100% { background-position: -60% 0, 0 0; } }
:root[data-theme="light"] .hero .ku.hx { background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .9) 50%, transparent 62%) 160% 0 / 250% 100% no-repeat, linear-gradient(#b63a46, #b63a46);
  -webkit-background-clip: text; background-clip: text; }
/* 장식 선 위를 흐르는 작은 빛 */
.hero-side .side-line { position: relative; overflow: hidden; }
.hero-side .side-line::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: hx-run 3.2s ease-in-out infinite; }
.hero-right .side-line::after { animation-delay: 1.6s; }
@keyframes hx-run { 0% { left: -40%; } 60%, 100% { left: 100%; } }
/* 구체 쪽으로 이어지는 빔: 글자 옆에서 가운데로 가는 가는 빛줄기와 그 위를 달리는 신호 */
.beam { position: absolute; top: 50%; width: clamp(60px, 9vw, 190px); height: 1px; pointer-events: none; opacity: 0; animation: beam-in 1s ease 1.4s forwards; }
.beam-r { left: calc(100% + 18px); background: linear-gradient(90deg, rgba(196, 102, 110, .55), rgba(69, 212, 255, .0)); }
.beam-l { right: calc(100% + 18px); background: linear-gradient(270deg, rgba(255, 154, 61, .55), rgba(69, 212, 255, 0)); }
.hero-right .beam { top: calc(50% - 10px); }
.beam i { position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; }
.beam-r i { left: 0; background: #f3a3aa; box-shadow: 0 0 10px 2px rgba(236, 138, 146, .8); animation: beam-go-r 2.6s ease-in infinite 2s; }
.beam-l i { right: 0; background: #ffc46b; box-shadow: 0 0 10px 2px rgba(255, 154, 61, .8); animation: beam-go-l 2.6s ease-in infinite 3.3s; }
@keyframes beam-in { to { opacity: 1; } }
@keyframes beam-go-r { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes beam-go-l { 0% { right: 0; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { right: 100%; opacity: 0; } }
@media (max-width: 960px) { .beam { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero .hx, .hero-side .side-line::after, .beam i { animation: none !important; } .hero .hx { clip-path: none; opacity: 1; } .beam { opacity: 1; animation: none; } }

/* ── 첫 화면 모토: 단어별 등장 · 핵심어 강조 · 빛 훑기 · 테두리를 도는 빛 (2026-10-31) ── */
@property --mang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.hero-motto { position: relative; isolation: isolate; border-color: color-mix(in srgb, var(--amber) 22%, transparent); }
.hero-motto::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--mang), transparent 0deg 250deg, rgba(255, 196, 107, .95) 300deg, rgba(69, 212, 255, .95) 340deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: motto-spin 5.5s linear infinite; }
.hero-motto::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -2; pointer-events: none;
  box-shadow: 0 0 28px -6px rgba(255, 154, 61, .45), inset 0 0 18px -8px rgba(255, 196, 107, .4); animation: motto-breathe 4s ease-in-out infinite; }
@keyframes motto-spin { to { --mang: 360deg; } }
@keyframes motto-breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.motto-tx { position: relative; color: var(--amber-2); }
/* 빛 훑기: 글자 위를 지나가는 빛 띠 (글자를 밝게 겹쳐 칠한다) */
.hero-motto { overflow: hidden; }
.motto-tx::after { content: ""; position: absolute; inset: -14px -30px; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%) 180% 0 / 260% 100% no-repeat;
  animation: motto-shine 7s ease-in-out 3.4s infinite; }
.motto-tx .mw { display: inline-block; opacity: 0; transform: translateY(10px); filter: blur(6px);
  animation: motto-word .7s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(1.2s + var(--i) * .11s); }
.motto-tx .mw.key { font-weight: 700; }
@keyframes motto-word { to { opacity: 1; transform: none; filter: none; } }
@keyframes motto-shine { 0%, 65% { background-position: 180% 0, 0 0; } 100% { background-position: -80% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero-motto::before, .hero-motto::after, .motto-tx, .motto-tx .mw { animation: none !important; } .motto-tx .mw { opacity: 1; transform: none; filter: none; } }



/* 교수 사진: 세로로 길게, 모서리는 각지게 (2026-10-31) */
.fac-photo { aspect-ratio: 4 / 5 !important; border-radius: 0; }
.fac-photo a, .fac-photo img { border-radius: 0; }
.fac-photo img { object-position: 50% 30%; }
/* 화면 높이에 맞춰 세로로 최대한 길게 — 고정 카드가 화면 안에 다 들어오는 만큼 */
@media (min-width: 961px) { .fac-photo { aspect-ratio: auto !important; height: clamp(352px, calc(100vh - 540px), 460px); } }
@media (max-width: 960px) { .fac-photo { aspect-ratio: 4 / 5 !important; } }
/* 사진을 더 길게 쓰도록 카드 안 여백을 조금 줄인다 */
@media (min-width: 961px) {
  .fac-card { padding: 14px 14px 16px; }
  .fac-role { margin: 12px 4px 0; }
  .fac-name { margin: 0 4px 8px; font-size: 1.6rem; }
  .fac-contact { gap: 3px; margin: 0 4px 10px; padding-top: 8px; }
  .fac-links { gap: 5px; }
  .fac-links a { padding: 6px 11px; }
  .fac-photo { height: clamp(380px, calc(100vh - 470px), 480px) !important; }
}
@media (min-width: 961px) { .fac-photo { height: clamp(380px, calc(100vh - 488px), 480px) !important; } }
/* 낮은 노트북 화면도 왼쪽 카드는 고정 — 사진 높이를 화면 높이에 맞춰 줄여 카드 전체가 화면에 들어오게 (2026-11-03) */
@media (min-width: 961px) and (max-height: 880px) { .fac-photo { height: clamp(200px, calc(100vh - 480px), 450px) !important; } }
/* 재학생·졸업생 사진: 직사각형, 모서리 각지게 (2026-10-31) */
.person .avatar, .person .avatar a, .person .avatar img { border-radius: 0; }
/* 교수 사진: 가장자리가 점점 흐려지며 배경에 녹아든다 (색 테두리는 흐림과 어울리지 않아 뺀다, 2026-10-31) */
.fac-photo { background: transparent !important; padding: 0 !important; }
.fac-photo a {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 88%, transparent 100%);
  mask-composite: intersect; }
.fac-zoom { right: 11%; bottom: 13%; opacity: .7; }
/* 가장자리 흐림: 교수 사진은 조금 덜, 학생 사진도 같은 방식 (2026-10-31) */
.fac-photo a {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 4%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 4%, #000 93%, transparent 100%); }
.fac-zoom { right: 8%; bottom: 9%; }


/* 첫 화면 이름: SVG 로 다시 그린 글자 + 윤곽선 빛 + 궤도 고리 (heroText.js, 2026-10-31) */
.hero-side { position: relative; }
.hx-svg { position: absolute; pointer-events: none; overflow: visible; z-index: 1; }
.hero-pt { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-stage { z-index: 2; }
.hero.pt-on .hero-side .hx { color: transparent !important; -webkit-text-fill-color: transparent; background: none !important; animation: none !important; text-shadow: none; }

/* ── 강의: 과목별 카드 + 움직이는 학문 일러스트 (2026-10-31) ── */
.lec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lec { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s; }
.lec:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.lec-media { background: #070d1e; border-bottom: 1px solid var(--line); }
.lec-body { padding: 20px 22px 22px; display: grid; gap: 10px; }
.lec-no { font-family: var(--display); font-size: .82rem; color: var(--amber-2); letter-spacing: .08em; }
.lec-body h3 { font-size: 1.2rem; margin: 0 0 4px; line-height: 1.3; }
.lec-term { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lec-sem { font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 6px; min-width: 62px; text-align: center; }
.lec-spring { background: rgba(110, 200, 140, .14); color: #8fe0a8; }
.lec-fall { background: rgba(255, 154, 61, .14); color: var(--amber-2); }
:root[data-theme="light"] .lec-spring { color: #1f8a4c; }
.lec-eq { font: italic 600 15px "Times New Roman", Georgia, serif; fill: #cfe3ff; letter-spacing: .02em; }
.lec-p { font: 600 11px var(--font); fill: #ffc46b; }
.lec-v { font: 700 12px var(--font); fill: #bff6ff; }
.lec-tag { font: 700 12px var(--font); fill: #ffb466; }
.lec-tag.dim { fill: #8fa6d6; }
.lec-cap { font: 600 10px var(--font); fill: #8fa6d6; letter-spacing: .1em; text-transform: uppercase; }
.lec-axis { stroke: rgba(150, 180, 230, .45); stroke-width: 1.4; }
.lec-grid line, line.lec-grid { stroke: rgba(150, 180, 230, .16); stroke-dasharray: 3 4; }
.lec-edge { fill: none; stroke: rgba(150, 180, 255, .4); stroke-width: 1.6; }
.lec-hot { fill: none; stroke: #ffb466; stroke-width: 2.6; stroke-dasharray: 160; stroke-dashoffset: 160; animation: lec-hot 3.6s ease-in-out infinite; filter: drop-shadow(0 0 4px rgba(255, 154, 61, .8)); }
@keyframes lec-hot { 0% { stroke-dashoffset: 160; } 40%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -160; } }
@media (max-width: 1100px) { .lec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .lec-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .lec-hot { animation: none; stroke-dashoffset: 0; } }
.lec-code { font: 500 10.5px ui-monospace, "SFMono-Regular", Menlo, monospace; fill: #cfe3ff; }
.lec-code .kw { fill: #ff9a3d; font-weight: 700; }
.lec-badge { font: 700 10.5px var(--font); fill: #fff; }
.lec-kpi { font: 600 10px var(--font); fill: #8fa6d6; }
.lec-kpi .kpi-v { font: 700 12px var(--display); fill: #7fe3ff; }

/* 사진 크게 보기: 가운데 칸이 사진 크기에 밀려 넓어지지 않게(버튼이 화면 밖으로 밀리던 문제), 휴대폰은 버튼을 사진 위에 (2026-11-01) */
.lightbox { grid-template-columns: 64px minmax(0, 1fr) 64px; }
.lightbox figure { min-width: 0; }
.lightbox img { max-width: 100%; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: minmax(0, 1fr); }
  .lightbox figure { grid-column: 1; grid-row: 1; padding: 0 8px; }
  .lightbox img { max-width: 100%; max-height: 78vh; }
  .lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px !important; height: 44px !important;
    background: rgba(5, 10, 24, .55) !important; border: 1px solid rgba(255, 255, 255, .25) !important; backdrop-filter: blur(4px); }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
}

/* 첫 화면 연구 분야: 9개 → 3×3 (2026-11-01) */
.area-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .area-grid { grid-template-columns: 1fr; } }
/* 학술지 색인 표지 — 연도 표지와 같은 꼴, 색만 구분 (2026-11-01) */
.tag-idx { --idx: #34d399; background: color-mix(in srgb, var(--idx) 18%, transparent); color: var(--idx); letter-spacing: .04em; }
:root[data-theme="light"] .tag-idx { --idx: #0d8a5c; }
.litem .jacts { margin-top: 10px; }

/* ── 교수 페이지: 현재 직함 반짝임 · 연구 관심 카드 · 분야 이모지 (2026-11-01) ── */
.fac-tl li.now::before { background: var(--cyan); animation: fac-now 2.2s ease-in-out infinite; }
.fac-tl li.now b:not(.inst) { color: var(--text); }
@keyframes fac-now {
  0%, 100% { opacity: .35; box-shadow: 0 0 0 2px color-mix(in srgb, var(--cyan) 12%, transparent); transform: scale(.85); }
  50% { opacity: 1; box-shadow: 0 0 0 5px color-mix(in srgb, var(--cyan) 30%, transparent), 0 0 16px 3px color-mix(in srgb, var(--cyan) 70%, transparent); transform: scale(1.15); }
}
.ri-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ri { position: relative; display: flex; gap: 12px; align-items: center; padding: 9px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s; }
.ri::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--cyan) 10%, transparent) 50%, transparent 70%); transform: translateX(-100%); animation: ri-sweep 7s ease-in-out infinite; animation-delay: var(--d); pointer-events: none; }
@keyframes ri-sweep { 0%, 70% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.ri:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cyan) 55%, transparent); box-shadow: 0 10px 26px -14px color-mix(in srgb, var(--cyan) 60%, transparent); }
.ri-wide { grid-column: 1 / -1; }
.ri-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 1.1rem; line-height: 1;
  background: color-mix(in srgb, var(--blue) 14%, transparent); border: 1px solid color-mix(in srgb, var(--cyan) 25%, transparent); }
.ri:hover .ri-ic { animation: ri-pop .5s ease; }
@keyframes ri-pop { 40% { transform: scale(1.18) rotate(-6deg); } }
.ri-body { min-width: 0; }
.ri-t { margin: 0; font-weight: 700; font-size: .97rem; color: var(--text); line-height: 1.3; }
.ri-n { margin: 1px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.ri-subs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.ri-subs span { font-size: .76rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--cyan); }
.fld-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.fld { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; color: var(--text); transition: transform .25s, border-color .25s; }
.fld:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--amber) 55%, transparent); }
.fld-ic { font-size: 1.6rem; line-height: 1; }
.fld:hover .fld-ic { animation: ri-pop .5s ease; }
@media (max-width: 640px) { .ri-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fac-tl li.now::before, .ri::after { animation: none; } .fac-tl li.now::before { opacity: 1; } }
/* 넓은 박스: 제목 옆에 칩·풀이를 한 줄로 */
@media (min-width: 641px) { .ri-wide .ri-body { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px; } .ri-wide .ri-subs, .ri-wide .ri-n { margin: 0; } }
.fld-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.fld { flex: 0 0 auto; white-space: nowrap; gap: 10px; padding: 8px 16px 8px 9px; border-radius: 999px; line-height: 1.3; font-size: .95rem; }
.fld-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; font-size: 1.1rem; background: color-mix(in srgb, var(--amber) 13%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 25%, transparent); }

/* ── 스크롤 위치 표시 (2026-11-02) ── */
.sprog { position: fixed; right: 6px; bottom: 7vh; z-index: 55; height: min(34vh, 300px); width: 22px;
  display: flex; flex-direction: column; align-items: center; opacity: .38; transition: opacity .6s ease; pointer-events: none; }
.sprog.live, .sprog:hover, .sprog:focus-within { opacity: 1; }
.sprog-track { position: relative; flex: 1; width: 2px; border-radius: 2px; background: var(--line); pointer-events: auto; }
.sprog-track::before { content: ""; position: absolute; inset: -6px -10px; }               /* 손가락·마우스로 잡기 쉽게 */
.sprog-fill { position: absolute; inset: 0; border-radius: inherit; transform-origin: top; transform: scaleY(0);
  background: linear-gradient(180deg, var(--blue), var(--cyan) 55%, var(--amber)); box-shadow: 0 0 10px color-mix(in srgb, var(--cyan) 45%, transparent); }
.sprog-dot { position: absolute; left: 50%; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 30%, transparent), 0 0 14px 2px color-mix(in srgb, var(--cyan) 70%, transparent);
  animation: sprog-breathe 2.6s ease-in-out infinite; }
:root[data-theme="light"] .sprog-dot { background: var(--blue); }
@keyframes sprog-breathe { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--cyan) 14%, transparent), 0 0 20px 4px color-mix(in srgb, var(--cyan) 55%, transparent); } }
.sprog-tick { position: absolute; left: 50%; width: 9px; height: 1px; margin: 0 0 0 -4.5px; padding: 0; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--muted) 70%, transparent); transition: background .3s, width .3s, margin .3s; }
.sprog-tick::after { content: ""; position: absolute; inset: -5px -6px; }
.sprog-tick.on { background: var(--cyan); }
.sprog-tick:hover, .sprog-tick:focus-visible { width: 15px; margin-left: -7.5px; background: var(--amber); outline: none; }
.sprog-tick span { position: absolute; right: 22px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; pointer-events: none;
  font: 500 12px/1 var(--font); color: var(--text); background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line);
  padding: 6px 9px; border-radius: 8px; opacity: 0; transition: opacity .25s, transform .25s; backdrop-filter: blur(6px); }
.sprog-tick:hover span, .sprog-tick:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.sprog-more { margin-top: 12px; width: 9px; height: 9px; border-right: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan);
  transform: rotate(45deg); opacity: .85; animation: sprog-bob 2.2s ease-in-out infinite; transition: opacity .5s; }
.sprog.end .sprog-more { opacity: 0; }
@keyframes sprog-bob { 0%, 100% { translate: 0 -2px; opacity: .35; } 50% { translate: 0 3px; opacity: .95; } }
@media (max-width: 700px) { .sprog { right: 8px; bottom: 10vh; height: 24vh; } .sprog-tick span { display: none; } }
@media (prefers-reduced-motion: reduce) { .sprog-dot, .sprog-more { animation: none; } }
@media print { .sprog { display: none; } }

/* 크게 보기: 큰 사진을 받는 동안 — 작은 사진을 먼저 크게 보여 주고 아래에 가는 빛 막대가 흐른다 (2026-11-02) */
.lightbox img { background: rgba(255, 255, 255, .03); }
.lightbox figure { position: relative; }
.lightbox.loading figure::after { content: ""; position: absolute; left: 50%; bottom: 34px; width: 120px; height: 2px; margin-left: -60px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent); background-size: 200% 100%; animation: lb-load 1s linear infinite; }
@keyframes lb-load { from { background-position: 100% 0; } to { background-position: -100% 0; } }
/* 재학생·졸업생: 한 사람의 'Experience & education' 을 펼쳐도 옆 사람 카드는 늘어나지 않게 (2026-11-03).
   닫힌 상태의 줄 높이 맞춤은 site.js 가 min-height 로 한다 */
.people-grid { align-items: start; }
.person.pmeasure .more-info > :not(summary) { display: none; }
.person.pmeasure .more-info[open] summary { margin-bottom: 0; }
/* People 첫 화면 Faculty 카드: 교수 캐리커처가 카드 오른쪽 아래에서 손을 흔든다 (2026-11-05) */
.hub-fac { position: relative; overflow: hidden; }
.hub-fac > :not(.cari) { position: relative; z-index: 1; }
.cari { position: absolute; right: 14px; bottom: -2px; width: 168px; pointer-events: none; z-index: 0; }
.cari-svg { display: block; width: 100%; height: auto; overflow: visible; transform-origin: 50% 100%; animation: cari-rise .9s cubic-bezier(.34, 1.56, .64, 1) both .2s; }
.cari-body { transform-box: view-box; transform-origin: 100px 215px; animation: cari-bob 3.2s ease-in-out infinite 1.1s; }
.cari-head { transform-box: view-box; transform-origin: 100px 136px; animation: cari-tilt 3.2s ease-in-out infinite 1.1s; }
.cari-wave { transform-box: view-box; transform-origin: 138px 158px; animation: cari-wave 1.6s ease-in-out infinite 1s; }
.cari-eyes { transform-box: fill-box; transform-origin: center; animation: cari-blink 4.5s infinite; }
.cari-spark > * { transform-box: fill-box; transform-origin: center; animation: cari-twinkle 2.4s ease-in-out infinite; }
.cari-spark > :nth-child(2) { animation-delay: .8s; } .cari-spark > :nth-child(3) { animation-delay: 1.6s; }
.cari-bubble { position: absolute; right: 118px; top: 6px; padding: 7px 12px; border-radius: 14px 14px 4px 14px; background: #fff; border: 1px solid rgba(16, 23, 42, .1); color: #10172a; font-size: .8rem; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .6); animation: cari-pop .5s cubic-bezier(.34, 1.56, .64, 1) both 1.1s; transform-origin: 100% 100%; display: grid; }
.cari-bubble span { grid-area: 1 / 1; text-align: right; animation: cari-swap 6s ease-in-out infinite 1.6s; }
.cari-bubble .b2 { opacity: 0; animation-name: cari-swap2; }
.hub-fac:hover .cari-svg { animation: cari-hop .6s ease; }
.hub-fac:hover .cari-wave { animation-duration: .7s; }
@keyframes cari-rise { from { transform: translateY(70%); } to { transform: none; } }
@keyframes cari-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes cari-tilt { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes cari-wave { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(16deg); } }
@keyframes cari-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes cari-twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes cari-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes cari-swap { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes cari-swap2 { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cari-hop { 0%, 100% { transform: none; } 35% { transform: translateY(-10px) scale(1.03, .98); } 70% { transform: translateY(0) scale(.98, 1.02); } }
@media (max-width: 640px) { .cari { width: 128px; right: 8px; } .cari-bubble { right: 92px; font-size: .74rem; } }
@media (prefers-reduced-motion: reduce) { .cari *, .cari-svg, .cari-bubble { animation: none !important; } .cari-bubble .b2 { display: none; } }
@media (max-width: 640px) { .cari-bubble { right: 6px; top: -40px; border-radius: 14px 14px 4px 14px; } }
/* 말풍선은 문구마다 제 폭으로 (영어·한국어 번갈아) */
.cari-bubble { padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
.cari-bubble span { justify-self: end; padding: 7px 12px; border-radius: 14px 14px 4px 14px; background: #fff; border: 1px solid rgba(16, 23, 42, .1); box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .6); }
/* International Conference: 논문마다 제목을 표현하는 학술 그림 (site/conf_figs.py, 2026-11-05) */
.litem.has-fig { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: center; padding: 14px 20px 14px 14px; }
.cfig-wrap { border-radius: 12px; background: #fff; padding: 6px 4px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(16, 23, 42, .06); }
.cfig { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.litem.has-fig:hover .cfig { transform: scale(1.03); }
.cfig text { font-family: var(--font); }
.cfig .t { font-size: 11px; font-weight: 650; }
.cfig .m { font-size: 9.5px; font-weight: 500; }
.cfig text.t:not([fill]) { fill: #24324a; }
.cfig text.m:not([fill]) { fill: #6b7385; }
.cfig .ax { stroke: #4b5568; stroke-width: 1.2; fill: none; }
.cfig .gr { stroke: #e6eaf1; stroke-width: 1; fill: none; }
@media (max-width: 720px) { .litem.has-fig { grid-template-columns: 1fr; gap: 14px; padding: 14px; } .cfig-wrap { max-width: 440px; } }
.cfig text { paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.litem.has-fig { grid-template-columns: 290px minmax(0, 1fr); }
@media (max-width: 720px) { .litem.has-fig { grid-template-columns: 1fr; } }
/* 그림 칸 높이 3/4 로 (2026-11-05) — 폭은 그대로, 그림은 비율 유지한 채 가운데 */
.cfig { aspect-ratio: 320 / 150; height: auto; }
.cfig-wrap { padding: 4px; }
/* Patents: 어두운 청사진 바탕의 움직이는 도면 (site/pat_figs.py, 2026-11-05) */
.cfig-wrap.dark { background: radial-gradient(120% 140% at 20% 0%, #13284f 0%, #0c1830 55%, #091226 100%); box-shadow: inset 0 0 0 1px rgba(90, 209, 255, .16); padding: 0; }
.pfig .pg { stroke: rgba(90, 209, 255, .07); stroke-width: 1; }
.pfig text { stroke: #0c1830; stroke-width: 3px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .04em; }
.pfig .pl { font-size: 8.5px; font-weight: 700; fill: #5ad1ff; letter-spacing: .14em; }
.pfig .pt { font-weight: 600; }
.pitem.has-fig .ltitle { margin-bottom: 6px; }

/* ===== 첫 화면 효과 (static/js/home-fx.js, 2026-11-06) ===== */
/* About: 제목 낱말이 아래에서 올라오고, 본문 낱말은 스크롤한 만큼 밝아진다 */
.about-head .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.about-head .eyebrow::before { content: ""; height: 2px; width: 0; background: var(--grad); border-radius: 2px; transition: width .9s cubic-bezier(.2, .8, .2, 1) .2s; }
.about-head.in .eyebrow::before { width: 34px; }
.fx-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.fx-wi { display: inline-block; transform: translateY(110%); transition: transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--wi) * 70ms + .1s); }
.about-head.in .fx-wi { transform: none; }
.about-head .ku .fx-wi { background: linear-gradient(90deg, #c4666e, #ff9a7a, #f2b134, #c4666e) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ku-shine 6s linear infinite; }
@keyframes ku-shine { to { background-position: 300% 0; } }
.fx-s { opacity: .2; transition: opacity .45s ease, filter .45s ease; filter: blur(.4px); }
.fx-s.lit { opacity: 1; filter: none; }
.about-body .hl-c, .about-body .hl-w { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 2px; transition: background-size .9s cubic-bezier(.2, .8, .2, 1); padding-bottom: 1px; }
.about-body .hl-c.on, .about-body .hl-w.on { background-size: 100% 2px; }

/* What we work on: 차례로 솟아오르고, 마우스를 따라 기울며 그 자리에 빛 */
.area.reveal { transform: translateY(36px) scale(.96); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s; transition-delay: calc(var(--i) * 80ms); }
.area.reveal.in { transform: none; transition-delay: 0s, calc(var(--i) * 80ms), 0s, 0s; }
.fx .area { overflow: hidden; will-change: transform; }
.fx .area::before { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 80ms + .4s); }
.fx .area.in::before { transform: scaleX(.35); }
.fx .area:hover::before { transform: scaleX(1); transition-delay: 0s; }
.fx .area::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(90, 209, 255, .16), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fx .area:hover::after { opacity: 1; }
.fx .area:hover { box-shadow: 0 22px 44px -26px rgba(61, 139, 255, .55); }
.fx .area-no { display: inline-block; font-size: 1.5rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--amber-2); transition: color .35s, transform .35s; }
.fx .area:hover .area-no { color: var(--amber-2); transform: translateX(4px); }

/* Recent journal papers: 한 편씩 돌아가며 강조(아래 막대가 다음 차례까지 찬다) */
.pub-card.reveal { transform: translateY(30px); transition: opacity .8s ease, transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .5s, border-color .5s; transition-delay: calc(var(--i) * 120ms), calc(var(--i) * 120ms), 0s, 0s; }
.pub-card { position: relative; }
.fx .pub-thumb { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i) * 140ms + .25s); }
.fx .pub-card.in .pub-thumb { clip-path: inset(0 0 0 0); }
.pub-thumb img { transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.pub-card.in.is-dim { opacity: .5; transform: scale(.975); }
.pub-card.in.is-focus { transform: translateY(-10px); border-color: color-mix(in srgb, var(--cyan) 60%, transparent); box-shadow: 0 26px 50px -24px rgba(61, 139, 255, .6), 0 0 0 1px color-mix(in srgb, var(--cyan) 30%, transparent); }
.pub-card.is-focus .pub-thumb img { transform: scale(1.06); }
.pub-card.is-focus h3 a { color: var(--cyan); }
.pc-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; z-index: 2; }
.pub-card.is-focus:not(.is-hold) .pc-bar { animation: pc-fill 3.6s linear forwards; }
.pub-card.is-hold .pc-bar { transform: scaleX(1); }
@keyframes pc-fill { to { transform: scaleX(1); } }

/* Partners: 흐르는 띠 — 가운데 가까운 로고가 가장 크게(크기·선명도는 home-fx.js) */
.marquee.fx-center { padding: 30px 0; }
.marquee.fx-center .marquee-track { animation: none; gap: 70px; will-change: transform; }
.marquee.fx-center .logo-tile { transition: box-shadow .4s, border-color .4s; will-change: transform; position: relative; }
.marquee.fx-center .logo-tile.is-center { box-shadow: 0 16px 40px -18px rgba(90, 209, 255, .7); border-color: color-mix(in srgb, var(--cyan) 55%, transparent); }

/* Gallery: 사진이 창처럼 열리며 차례로 등장, 스크롤 시차, 마우스를 올리면 빛이 지나간다 */
.moment.reveal { clip-path: inset(18% 8% 18% 8% round 22px); transform: none; transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1), opacity .9s ease; transition-delay: calc(var(--i) * 120ms); }
.moment.reveal.in { clip-path: inset(0 0 0 0 round 0px); }
.fx .moment img { transform: translateY(var(--py, 0%)) scale(1.16); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.fx .moment:hover img { transform: translateY(var(--py, 0%)) scale(1.24); }
.fx .moment span { transform: translateY(14px); opacity: 0; transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .7s; transition-delay: calc(var(--i) * 120ms + .5s); }
.fx .moment.in span { transform: none; opacity: 1; }
.fx .moment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.fx .moment:hover::after { transform: translateX(120%); transition: transform .9s ease; }

/* Get in touch: 떠다니는 빛, 테두리를 도는 빛, 글자 물결, 종이비행기, 버튼 반짝임 */
.join-in { position: relative; overflow: hidden; isolation: isolate; }
.join-orb { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(60px); opacity: .32; z-index: -1; pointer-events: none; }
.join-orb.a { background: #3d8bff; left: -60px; top: -120px; animation: orb-a 14s ease-in-out infinite alternate; }
.join-orb.b { background: #ff9a3d; right: -60px; bottom: -140px; opacity: .24; animation: orb-b 16s ease-in-out infinite alternate; }
@keyframes orb-a { to { transform: translate(380px, 60px) scale(1.2); } }
@keyframes orb-b { to { transform: translate(-420px, -40px) scale(1.15); } }
.join-in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ja, 0deg), transparent 0 70%, #5ad1ff 80%, #ff9a3d 88%, transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: join-spin 6s linear infinite; pointer-events: none; }
@property --ja { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes join-spin { to { --ja: 360deg; } }
.fx-ch { display: inline-block; transform: translateY(.6em); opacity: 0; transition: transform .6s cubic-bezier(.2, 1.4, .4, 1), opacity .5s; transition-delay: calc(var(--ci) * 45ms + .15s); }
.join-in.in .fx-ch { transform: none; opacity: 1; }
.join-in.in .fx-ch { animation: ch-wave 5s ease-in-out infinite; animation-delay: calc(var(--ci) * 80ms + 1.5s); }
@keyframes ch-wave { 0%, 12%, 100% { transform: none; } 6% { transform: translateY(-5px); } }
.join-plane { position: absolute; width: 26px; height: 26px; color: var(--cyan); left: 0; top: 0; opacity: 0; pointer-events: none; }
.join-in.in .join-plane { animation: plane 9s ease-in-out infinite 1s; }
@keyframes plane { 0% { opacity: 0; transform: translate(380px, 118px) rotate(14deg); } 8% { opacity: .85; } 45% { opacity: .85; transform: translate(min(52vw, 700px), 40px) rotate(-6deg); } 58%, 100% { opacity: 0; transform: translate(min(64vw, 900px), -30px) rotate(-16deg); } }
.join .btn { position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.join .btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-130%); animation: btn-shine 3.4s ease-in-out infinite 1.2s; }
@keyframes btn-shine { 0%, 55% { transform: translateX(-130%); } 85%, 100% { transform: translateX(130%); } }
.join .btn:hover { box-shadow: 0 14px 34px -12px rgba(61, 139, 255, .7); }
.join p a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1.5px; transition: background-size .5s; }
.join p a:hover { background-size: 100% 1.5px; text-decoration: none; }

/* 움직임 줄이기 */
.fx-still .fx-s, .fx-still .fx-wi, .fx-still .fx-ch { opacity: 1 !important; transform: none !important; filter: none !important; }
@media (prefers-reduced-motion: reduce) {
  .about-head .ku .fx-wi, .join-orb, .join-in::after, .join-plane, .join .btn::after, .pc-bar, .fx-ch { animation: none !important; }
  .moment.reveal, .moment.reveal.in { clip-path: none; }
  .fx .pub-thumb { clip-path: none; }
}
@media (max-width: 760px) { .pub-card.is-focus .pc-bar { animation: none; transform: scaleX(1); } }
/* 재학생·졸업생 'Experience & education': 부드럽게 펼치고 접기, 항목은 차례로 (2026-11-06) */
.more-info[open] summary { margin-bottom: 0; }
.more-body { padding-top: 14px; }
.more-info.animating .more-body { overflow: hidden; }
.more-info summary::after { content: "+"; display: inline-block; transition: transform .45s cubic-bezier(.2, .8, .2, 1), color .3s; }
.more-info[open] summary::after { content: "+"; transform: rotate(135deg); color: var(--cyan); }
.more-info summary:hover { color: var(--text); }
.more-info.opening .psec h4, .more-info.opening .psec li { animation: more-in .5s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--k, 0) * 45ms + 80ms); }
@keyframes more-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .more-info.opening .psec h4, .more-info.opening .psec li { animation: none; } }

/* ===== 프로젝트·출판·갤러리 효과 (site.js 'page fx', 2026-11-06) ===== */
/* 연도 타임라인: 세로 줄이 스크롤만큼 차오르고, 지금 보는 해의 점·숫자가 빛난다 */
.timeline { position: relative; --tp: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 131px; top: 28px; bottom: 0; width: 2px; border-radius: 2px; pointer-events: none; }
.timeline::before { background: var(--line); }
.timeline::after { background: linear-gradient(var(--cyan), var(--blue), var(--amber-2)); transform-origin: top; transform: scaleY(var(--tp)); }
.timeline > .tl-year, .timeline > .year-block { position: relative; }
.timeline > .tl-year::before, .timeline > .year-block::before { content: ""; position: absolute; left: 126px; top: 40px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); z-index: 1; transition: border-color .4s, box-shadow .4s, background .4s; }
.timeline > .is-active::before { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 0 6px color-mix(in srgb, var(--cyan) 22%, transparent); }
.timeline .year { transition: color .4s, transform .4s; transform-origin: left center; }
.timeline > .is-active .year { color: var(--text); transform: scale(1.06); }
.timeline > .is-active .year { background: linear-gradient(90deg, var(--cyan), var(--amber-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 960px) { .timeline::before, .timeline::after, .timeline > .tl-year::before, .timeline > .year-block::before { display: none; } }

/* 산업 과제 카드: 차례로 솟아오르며 로고가 흑백→컬러, 마우스 기울기·빛, 항목이 하나씩 */
.proj.reveal { transform: translateY(30px) scale(.97); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; transition-delay: calc(var(--i, 0) * 90ms); }
.proj.reveal.in { transform: none; }
.proj { position: relative; will-change: transform; }
.proj-logo img { filter: grayscale(1) blur(2px); opacity: .5; transform: scale(.92); transition: filter .9s ease, opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 90ms + .25s); }
.proj.in .proj-logo img { filter: none; opacity: 1; transform: none; }
.proj:hover .proj-logo img { transform: scale(1.06); transition-delay: 0s; }
.proj li { opacity: 0; transform: translateX(-8px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 90ms + var(--k, 0) * 70ms + .45s); }
.proj.in li { opacity: 1; transform: none; }
.proj li::before { transform: scaleX(0); transform-origin: left; transition: transform .5s ease, width .3s; transition-delay: inherit; }
.proj.in li::before { transform: none; }
.proj:hover li::before { width: 10px; }
.proj::after { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(90, 209, 255, .14), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.proj:hover::after { opacity: 1; }
.proj:hover { border-color: color-mix(in srgb, var(--cyan) 45%, transparent); box-shadow: 0 22px 44px -26px rgba(61, 139, 255, .55); }

/* 국가 과제: 오른쪽에서 미끄러져 들어오고 왼쪽 색 막대가 그려진다 */
.litem.nat { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: center; position: relative; overflow: hidden; }
.nat-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--cyan); background: color-mix(in srgb, var(--cyan) 12%, transparent); border: 1px solid color-mix(in srgb, var(--cyan) 28%, transparent); transition: transform .4s cubic-bezier(.2, .8, .2, 1), background .3s; }
.nat-org { color: var(--amber-2); font-weight: 600; }
.litem.nat.reveal { transform: translateX(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1), border-color .3s, background .3s; transition-delay: calc(var(--i, 0) * 90ms); }
.litem.nat.reveal.in { transform: none; }
.litem.nat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--cyan), var(--amber-2)); transform: scaleY(0); transform-origin: top; transition: transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 90ms + .35s); }
.litem.nat.in::before { transform: scaleY(1); }
.litem.nat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(90, 209, 255, .10) 50%, transparent 65%); transform: translateX(-110%); pointer-events: none; }
.litem.nat:hover::after { transform: translateX(110%); transition: transform .9s ease; }
.litem.nat:hover { border-color: color-mix(in srgb, var(--cyan) 40%, transparent); background: color-mix(in srgb, var(--cyan) 4%, var(--surface)); }
.litem.nat:hover .nat-ic { transform: rotate(-8deg) scale(1.08); background: color-mix(in srgb, var(--cyan) 20%, transparent); }

/* 출판(잔잔하게): 제목 밑줄이 그려지고, 항목은 짧게 차례로 떠오르며, 마우스를 올리면 살짝 들린다 */
.list-h { position: relative; padding-bottom: 10px; }
.list-h::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 48px; background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.list-h.in::after { transform: none; }
.jitem.reveal, .litem.reveal:not(.nat) { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; transition-delay: calc(min(var(--i, 0), 4) * 60ms); }
.jitem:hover, .litem:not(.nat):hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .6); }
.jthumb { position: relative; }
.jthumb::after { content: ""; position: absolute; inset: 0; background: var(--surface); transform-origin: right; transition: transform .9s cubic-bezier(.7, 0, .2, 1) .15s; pointer-events: none; }
.jitem.in .jthumb::after { transform: scaleX(0); }

/* 갤러리: 창처럼 열리며 차례로 등장, 사진 시차, 빛 지나감, 작은 사진 톡톡, 연도 바꿀 때 다시 등장 */
.gcard.reveal { clip-path: inset(10% 6% 10% 6% round 22px); transform: translateY(24px); transition: clip-path 1s cubic-bezier(.7, 0, .2, 1), opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; transition-delay: calc(var(--i, 0) * 110ms); }
.gcard.reveal.in { clip-path: inset(0 0 0 0 round 22px); transform: none; }
.gcard { will-change: transform; }
.gcover img { transform: translateY(var(--py, 0%)) scale(1.14); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.gcard:hover .gcover img { transform: translateY(var(--py, 0%)) scale(1.2); }
.gcover .gdate, .gcover .gcount { transform: translateY(-8px); opacity: 0; transition: transform .6s ease, opacity .6s; transition-delay: calc(var(--i, 0) * 110ms + .5s); }
.gcard.in .gcover .gdate, .gcard.in .gcover .gcount { transform: none; opacity: 1; }
.gcover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .26) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.gcard:hover .gcover::before { transform: translateX(120%); transition: transform 1s ease; }
.gthumbs a { opacity: 0; transform: scale(.85); transition: opacity .5s ease, transform .5s cubic-bezier(.2, 1.3, .4, 1); transition-delay: calc(var(--i, 0) * 110ms + var(--k, 0) * 80ms + .6s); }
.gcard.in .gthumbs a { opacity: 1; transform: none; }
.gcard.pop { animation: g-pop .7s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--j, 0) * 70ms); }
@keyframes g-pop { from { opacity: 0; transform: translateY(26px) scale(.96); } }

@media (prefers-reduced-motion: reduce) {
  .proj-logo img, .proj li, .gthumbs a, .gcover .gdate, .gcover .gcount { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .gcard.reveal, .gcard.reveal.in { clip-path: none; }
  .jthumb::after, .litem.nat::before, .list-h::after { display: none; }
  .gcard.pop { animation: none; }
}
/* 국가 과제 세부 정보(세부사업·과제번호·주관기관·연구기간) — 2026-11-06 */
.nat-det { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 10px 0 0; }
.nat-det div { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: .8rem; }
.nat-det dt { color: var(--muted); font-weight: 600; white-space: nowrap; }
.nat-det dd { margin: 0; color: var(--text-2); }

/* 교수 About 문단: 직함 → AI → 연구 키워드 → 학술지 → 기여 순서로 차례로 살아난다 (bio_mark.py, 2026-11-07) */
.fac-bio { position: relative; }
.bio-role { font-weight: 700; color: var(--text); }
.bio-ai { font-weight: 800; color: var(--amber-2); text-shadow: 0 0 0 transparent; transition: text-shadow 1s ease .7s; }
.fac-block.in .bio-ai { text-shadow: 0 0 18px color-mix(in srgb, var(--amber-2) 55%, transparent); animation: bio-glow 3.6s ease-in-out 1.8s infinite; }
@keyframes bio-glow { 50% { text-shadow: 0 0 6px color-mix(in srgb, var(--amber-2) 25%, transparent); } }
.bio-kw { display: inline-block; white-space: nowrap; margin: 2px 0; padding: 0 9px; border-radius: 999px; line-height: 1.75; font-size: .95em; font-weight: 600; color: var(--text-2); border: 1px solid transparent; transform: translateY(4px); opacity: .45;
  transition: color .5s, background .5s, border-color .5s, transform .5s cubic-bezier(.2, 1.3, .4, 1), opacity .5s, box-shadow .3s; transition-delay: calc(1s + var(--n) * 75ms); }
.fac-block.in .bio-kw { opacity: 1; transform: none; color: var(--cyan); background: color-mix(in srgb, var(--cyan) 10%, transparent); border-color: color-mix(in srgb, var(--cyan) 28%, transparent); }
.fac-block.in .bio-kw:hover { box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 18%, transparent); transform: translateY(-1px); transition-delay: 0s; }
.bio-jr { font-style: italic; font-weight: 600; color: var(--text-2); transition: color .6s; transition-delay: calc(2.4s + var(--n) * 140ms); }
.fac-block.in .bio-jr { color: var(--amber-2); }
.bio-badge { font-style: normal; font-size: .62em; font-weight: 800; letter-spacing: .04em; margin-left: 4px; padding: 1px 6px; border-radius: 999px; color: #fff; background: linear-gradient(90deg, #ff7a59, #f2b134); vertical-align: super; opacity: 0; transform: scale(.5); display: inline-block; transition: opacity .4s, transform .5s cubic-bezier(.2, 1.5, .4, 1); transition-delay: 2.7s; }
.fac-block.in .bio-badge { opacity: 1; transform: none; }
.bio-impact { font-weight: 700; color: var(--text); background: linear-gradient(90deg, var(--cyan), var(--amber-2)) no-repeat 0 100% / 0% 3px; padding-bottom: 2px; transition: background-size 1.2s cubic-bezier(.2, .8, .2, 1) 3.6s, text-shadow 1s ease 3.6s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.fac-block.in .bio-impact { background-size: 100% 3px; text-shadow: 0 0 16px color-mix(in srgb, var(--cyan) 35%, transparent); }
@media (max-width: 640px) { .bio-kw { display: inline; white-space: normal; padding: 0; margin: 0; border: 0; font-size: 1em; } .fac-block.in .bio-kw { background: none; } }
@media (prefers-reduced-motion: reduce) { .bio-role, .bio-ai, .bio-kw, .bio-jr, .bio-impact { transition: none !important; animation: none !important; } }

/* ── Publication: 검색창 + 종류 탭 한 줄 고정 막대, 모든 목록에 연도 타임라인 (2026-11-07) ── */
.pub-tools.stickbar { margin-bottom: 30px; padding-top: 12px; padding-bottom: 10px; }
.pub-tools .search { flex: 0 1 400px; }
.pub-tools .filters a.fbtn { text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.pub-tools .filters a.fbtn i { font-style: normal; opacity: .6; font-size: .85em; }
.pub-tools .filters a.fbtn:hover { color: var(--text); background: var(--surface-2); }
.pub-tools .filters a.fbtn.on:hover { color: var(--bg); background: var(--text); }
.pub-tools .result-count { width: auto; margin-left: auto; }
[data-pub-list] .timeline { margin-bottom: 18px; }
.timeline.is-hidden, .timeline > .year-block.is-hidden { display: none; }
@media (max-width: 960px) {
  .pub-tools .search { flex: 1 1 100%; }
  .pub-tools .result-count { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .pub-tools.stickbar { position: static; }
  .pub-tools .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: -16px; padding-inline: 16px; }
  .pub-tools .filters::-webkit-scrollbar { display: none; }
  .pub-tools .filters a.fbtn { flex: none; white-space: nowrap; }
}

/* 2026-11-07: 연구 분야 탭 한 줄(짧은 이름, 좁으면 가로로 밀기) · 졸업생 People 탭+연도 한 줄 · 출판 검색창은 남는 폭까지 */
.chips.stickbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; }
.chips.stickbar::-webkit-scrollbar { display: none; }
.chips.stickbar .chip { flex: none; white-space: nowrap; padding: 7px 13px; font-size: .85rem; }
.subnav-sep { width: 1px; align-self: stretch; margin: 6px 6px; background: var(--line-2); flex: none; }
.subnav-years { display: flex; gap: 6px; align-items: center; flex: none; }
.subnav-years .fbtn i { font-style: normal; opacity: .6; margin-left: 4px; font-size: .85em; }
.pub-tools .search { flex: 1 1 400px; }

/* 아래 정보(footer) — 상단 메뉴처럼 가로로 넓게, 두 줄로 낮게 (2026-11-07) */
.foot.foot2 { padding: 26px 0 18px; }
.foot2 .foot-row { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.foot2 .brand-foot img { width: 36px; height: 36px; }
.foot2 .brand-foot small { font-size: .72rem; }
.foot2 .foot-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot2 .foot-nav a { padding: 7px 12px; border-radius: 999px; color: var(--text-2); font-size: .9rem; transition: color .2s, background .2s; }
.foot2 .foot-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.foot2 .foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.foot2 .foot-bottom p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.foot2 .foot-info span { display: inline-flex; align-items: center; gap: 7px; }
.foot2 .foot-info svg { color: var(--cyan); flex: none; }
.foot2 .foot-copy a { color: var(--text-2); }
@media (max-width: 760px) {
  .foot2 .foot-row { justify-content: flex-start; }
  .foot2 .foot-nav { margin-left: -12px; }
  .foot2 .foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1180px) { .foot2 .brand-foot small { display: none; } }
@media (max-width: 760px) { .foot2 .foot-nav a { padding: 6px 10px; font-size: .86rem; } .foot2 .foot-nav { margin-left: -10px; } }

/* ===== 갤러리 연도 레일 — 필름 스트립 (2026-11-07) =====
   세로로 누운 큰 외곽선 연도가 묶음을 따라 내려오고, 필름 구멍 같은 점선을 빛나는 점이 앞장서 채우며,
   새 연도에 들어서면 셔터가 터지듯 연도가 번쩍이며 색으로 찬다 (site.js 'gallery year rail') */
.gal-sec .gal-grid { gap: 18px; }
.gyear { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; padding-bottom: 26px; }
.gyear.is-hidden { display: none; }
.gyear-rail { position: relative; }
.gyear-film { position: absolute; left: 50%; top: 4px; bottom: 0; width: 10px; transform: translateX(-50%); border-radius: 3px; background: color-mix(in srgb, var(--surface) 80%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.gyear-film::before, .gyear-film i { content: ""; position: absolute; left: 2px; right: 2px; top: 0; background: repeating-linear-gradient(to bottom, var(--line-2) 0 5px, transparent 5px 11px); border-radius: 1px; }
.gyear-film::before { bottom: 0; opacity: .7; }
.gyear-film i { height: calc(var(--gp, 0) * 100%); background: repeating-linear-gradient(to bottom, var(--cyan) 0 5px, transparent 5px 11px); }
.gyear-film i::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 45%, transparent), 0 0 18px 4px var(--cyan); opacity: 0; transition: opacity .3s; }
.gyear.is-active .gyear-film i::after { opacity: 1; }
.gyear-label { position: sticky; top: calc(var(--nav-h) + var(--sub-h, 0px) + 14px); display: block; z-index: 1; margin: 0 auto; width: 40px; padding: 8px 0; background: var(--bg); border-radius: 10px; text-align: center; }
.gyear-label span { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-size: 2.1rem; font-weight: 800; letter-spacing: .04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--line-2); transition: -webkit-text-stroke-color .4s; }
.gyear.is-active .gyear-label span { -webkit-text-stroke-color: transparent; background: linear-gradient(0deg, var(--cyan), var(--blue) 55%, var(--amber-2)); -webkit-background-clip: text; background-clip: text; }
.gyear.flash .gyear-label { animation: gy-shutter .7s ease-out; }
@keyframes gy-shutter { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .0); } 12% { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 40px 12px rgba(90, 209, 255, .55); background: color-mix(in srgb, var(--cyan) 22%, var(--bg)); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.gyear.flash .gyear-label span { animation: gy-pop .7s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes gy-pop { 0% { transform: rotate(180deg) scale(.82); } 100% { transform: rotate(180deg) scale(1); } }
@media (max-width: 640px) {
  .gyear { grid-template-columns: 30px minmax(0, 1fr); gap: 0 10px; }
  .gyear-label { width: 30px; } .gyear-label span { font-size: 1.5rem; }
  .gyear-film { width: 8px; }
}
@media (prefers-reduced-motion: reduce) { .gyear.flash .gyear-label, .gyear.flash .gyear-label span { animation: none; } }
/* 갤러리 폭 조금 넓게 (2026-11-07): 큰 화면 최대 1400→1520px, 양옆 여백 24→16px (휴대폰은 그대로) */
.wrap.gal-wrap { width: min(1520px, 100% - 32px); }

/* ── Publication 모바일: 검색창·탭 막대를 얇게 만들어 위에 고정, 연도도 막대 밑에 따라옴 (2026-11-08) ── */
@media (max-width: 960px) {
  .pub-tools.stickbar { position: sticky; top: var(--nav-h); gap: 8px; padding-top: 8px; padding-bottom: 8px; margin-bottom: 18px; }
  .pub-tools .search { flex: 1 1 100%; }
  .pub-tools .search input { padding: 9px 0; }
  .pub-tools .filters a.fbtn { padding: 6px 12px; font-size: .82rem; }
  .pub-tools .result-count { display: none; }
  .sec:has(.pub-tools) .timeline > .year-block > .year { position: sticky; top: calc(var(--nav-h) + var(--sub-h)); z-index: 4; margin: 0 -16px; padding: 6px 16px; font-size: 1.25rem;
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .sec:has(.pub-tools) .timeline > .is-active .year { transform: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
  .pub-tools .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: -16px; padding-inline: 16px; }
  .pub-tools .filters::-webkit-scrollbar { display: none; }
  .pub-tools .filters a.fbtn { flex: none; white-space: nowrap; }
}
/* 아래 정보 화면 전체 폭으로 — 상단 메뉴(.gnav-bar 좌우 32px)와 같은 가장자리 (2026-11-08) */
.foot2 .wrap { width: 100%; max-width: none; padding-inline: 32px; }
@media (max-width: 960px) { .foot2 .wrap { padding-inline: 20px; } }

/* 교수 페이지 모바일: 사진이 카드 폭에 꽉 차고(휴대폰), 더 넓은 한 줄 배치에선 가운데 (2026-11-10) */
@media (max-width: 600px) {
  .fac-card .fac-photo { width: 100%; max-width: 420px; margin-inline: auto; }
}
/* 크게 보기: 원본이 작은 사진은 화면 높이에 맞춰 키운다 (2026-11-10) */
.lightbox img.upscale { height: 84vh; width: auto; }
@media (max-width: 640px) { .lightbox img.upscale { height: auto; width: 100%; max-height: 78vh; } }
