/* ASCENT — 공개 홈페이지 스타일 (검정 배경, 큰 사진, 절제된 글자) */
:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, .62);
  --faint: rgba(255, 255, 255, .4);
  --line: rgba(255, 255, 255, .14);
  --panel: #0b0b0c;
  --gutter: clamp(20px, 6vw, 96px);
  --max: 1320px;
  --nav-h: 84px;
  --logo-w: 220px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ── 상단 메뉴 ── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  transition: background .35s ease, height .35s ease;
}
.nav::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0)); pointer-events: none; transition: opacity .35s; }
.nav.is-scrolled { background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); height: 68px; }
.nav.is-scrolled::before { opacity: 0; }
.nav > * { position: relative; }
.nav-logo { flex: none; display: flex; align-items: center; }
.nav-logo img { width: var(--logo-w); max-width: 52vw; height: auto; }
.nav-logo strong { font-size: 22px; letter-spacing: .2em; }
.nav-links { display: flex; gap: clamp(18px, 2.2vw, 34px); margin-left: auto; }
.nav-links a {
  position: relative; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 8px 0;
}
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-links a:hover::after, .nav-links a[aria-current='page']::after { transform: scaleX(1); }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px;
  flex-direction: column; justify-content: center; gap: 8px;
}
.nav-toggle span { display: block; height: 2px; background: #fff; transition: transform .3s ease; }
.nav-toggle[aria-expanded='true'] span:first-child { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:last-child { transform: translateY(-5px) rotate(-45deg); }
.nav:not(.nav-overlay) { background: #000; }

.menu { position: fixed; inset: 0; z-index: 45; }
.menu[hidden] { display: none; }
.menu-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .35s; }
.menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #000;
  padding: calc(var(--nav-h) + 24px) 40px 40px; display: flex; flex-direction: column; justify-content: space-between;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); border-left: 1px solid var(--line); overflow-y: auto;
}
.menu.is-open .menu-scrim { opacity: 1; }
.menu.is-open .menu-panel { transform: none; }
.menu-panel nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu-panel nav span { font-size: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.menu-panel nav small { color: var(--faint); font-size: 13px; }
.menu-panel nav a:hover span { opacity: .7; }
.menu-foot { margin-top: 40px; color: var(--faint); font-size: 13px; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ── 큰 사진 패널 ── */
.panel { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: #000; isolation: isolate; }
.panel-full { min-height: 100vh; min-height: 100svh; }
.panel-sub { min-height: 62vh; min-height: 62svh; }
.panel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.panel-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.05) 75%), linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 45%); }
.panel-shade-strong { background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.2) 85%), linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 50%); }
.panel-right .panel-copy { margin-left: auto; }
.panel-right .panel-shade { transform: scaleX(-1); }
.panel-copy { width: 100%; max-width: calc(620px + var(--gutter) * 2); padding: 0 var(--gutter) clamp(72px, 13vh, 140px); }
.panel-sub .panel-copy { max-width: calc(880px + var(--gutter) * 2); padding-bottom: clamp(48px, 9vh, 96px); }
.panel h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.1; }
.panel h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.12; }
.panel-sub h1 { font-size: clamp(2.1rem, 4.6vw, 4rem); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.lede { margin-top: 22px; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.75; color: rgba(255,255,255,.82); max-width: 560px; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: rgba(255,255,255,.82); font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: #fff; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; margin-top: 34px;
  min-width: 190px; padding: 17px 34px; border: 2px solid #fff; overflow: hidden;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.btn::before { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleY(0); transform-origin: bottom; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.btn span { position: relative; transition: color .3s; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover span, .btn:focus-visible span { color: #000; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ── 일반 영역 ── */
.block { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--gutter); }
.block + .block { padding-top: 0; }
.block-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 32px; margin-bottom: 48px; }
.block-head .eyebrow { width: 100%; margin-bottom: 0; }
.block-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.text-link { margin-left: auto; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid #fff; padding-bottom: 4px; }
.text-link:hover { opacity: .7; }
.group + .group { margin-top: 72px; }
.group-title { display: flex; align-items: baseline; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 18px; border-bottom: 1px solid #fff; margin-bottom: 8px; }
.group-title span { color: var(--faint); font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px var(--gutter); }
.split h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.prose { font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.82); }
.prose p + p { margin-top: 1.2em; }
.prose ul.bullets { list-style: none; margin: .5em 0 0; padding: 0; }
.prose p + ul.bullets { margin-top: .4em; }
.prose ul.bullets + p, .prose ul.bullets + ul.bullets { margin-top: 1.1em; }
.prose ul.bullets li { position: relative; padding-left: 1.1em; }
.prose ul.bullets li + li { margin-top: .35em; }
.prose ul.bullets li::before { content: ''; position: absolute; left: .15em; top: .85em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; }
.prose strong { font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.empty { color: var(--muted); padding: 40px 0; }

/* 소식 카드 */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 56px 28px; }
.news-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 메인 최근 소식 + 인스타그램 (반반) */
.home-latest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.home-latest-news { display: grid; gap: 22px; }
.news-row { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); gap: 20px; align-items: center; }
.news-row-thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: rgba(127,127,127,.12); }
.news-row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-row:hover .news-row-thumb img { transform: scale(1.04); }
.news-row h3 { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; margin-top: 6px; }
.home-insta-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 600; }
.home-insta-head .text-link { margin-left: auto; font-weight: 400; }
.insta-icon { width: 22px; height: 22px; border-radius: 6px; border: 2px solid currentColor; position: relative; flex: none; opacity: .85; }
.insta-icon::before { content: ''; position: absolute; inset: 4px; border: 2px solid currentColor; border-radius: 50%; }
.insta-icon::after { content: ''; position: absolute; top: 2px; right: 2px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.insta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.insta-item { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; background: rgba(127,127,127,.12); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.insta-item:hover img { transform: scale(1.05); opacity: .85; }
.insta-badge { position: absolute; top: 6px; right: 8px; color: #fff; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.insta-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 3 / 2; border: 1px solid rgba(127,127,127,.3); border-radius: 8px; text-align: center; padding: 24px; transition: border-color .3s; }
.insta-empty:hover { border-color: currentColor; }
.insta-empty .insta-icon { width: 40px; height: 40px; border-radius: 11px; }
.insta-empty .insta-icon::before { inset: 8px; }
.insta-empty .insta-icon::after { top: 5px; right: 5px; width: 5px; height: 5px; }
.insta-empty span:last-child { opacity: .7; font-size: 15px; }
@media (max-width: 860px) { .home-latest { grid-template-columns: minmax(0, 1fr); } }
.news-card { display: block; }
.news-card[hidden] { display: none; }
.news-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); margin-bottom: 18px; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.meta { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.meta span { margin: 0 4px; }
.news-card h3 { font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 0; }
.stats div { padding: 36px 0; border-top: 1px solid var(--line); }
.stats div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.stats span { display: block; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.closing { text-align: center; padding: clamp(110px, 16vw, 200px) var(--gutter); border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.closing-tall { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; }

/* 교수진 */
.faculty { display: grid; gap: 72px; }
.faculty-card { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; align-items: start; }
.faculty-photo { aspect-ratio: 3 / 4; background: var(--panel); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; }
.faculty-photo span { font-size: 64px; font-weight: 200; color: var(--faint); }
.faculty-body h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.faculty-body .eyebrow { margin-bottom: 10px; }
.mail { display: inline-block; margin-top: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.mail:hover { color: #fff; }
.cv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.cv h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.cv ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: rgba(255,255,255,.85); }

/* 구성원 */
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 0 28px; }
.member { padding: 24px 0; border-bottom: 1px solid var(--line); }
.member-photo { width: 144px; height: 144px; border-radius: 50%; overflow: hidden; margin-bottom: 18px; background: var(--panel); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member h4 { font-size: 18px; font-weight: 600; }
.member p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.member-mail { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--faint); }
.member-mail:hover { color: #fff; }

/* 표 (졸업생) */
.table { border-top: 1px solid #fff; }
.row { display: grid; grid-template-columns: 1.1fr .6fr .6fr 2fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: rgba(255,255,255,.82); }
.row strong { color: #fff; font-weight: 600; }
.row-head { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* 논문 */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.field { display: grid; gap: 8px; flex: 1 1 320px; }
.field-sm { flex: 0 1 180px; }
.field span { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { width: 100%; height: 50px; padding: 0 2px; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); background: transparent; font-size: 17px; border-radius: 0; }
.field select { background: #000; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: #fff; }
.count { color: var(--muted); font-size: 14px; padding-bottom: 14px; }
.count strong { color: #fff; font-size: 22px; font-weight: 600; margin-right: 4px; }
.pub-list { border-top: 1px solid #fff; }
.pub { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 280px); gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pub[hidden] { display: none; }
.pub time { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.pub h3 { font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.005em; }
.pub h3 a:hover { text-decoration: underline; }
.pub div p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.pub-journal { font-size: 14px; color: rgba(255,255,255,.82); }
.pub-journal small { display: block; margin-top: 6px; color: var(--faint); font-size: 12px; letter-spacing: .08em; }

/* 연구 과제 */
.proj-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.proj { padding: 22px 0; border-bottom: 1px solid var(--line); }
.proj h4 { font-size: 17px; font-weight: 600; line-height: 1.5; }
.proj p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* 분류 버튼 */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.chip { padding: 10px 18px; border: 1px solid rgba(255,255,255,.4); background: none; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s; }
.chip:hover { border-color: #fff; }
.chip[aria-pressed='true'] { background: #fff; color: #000; border-color: #fff; }

/* 게시글 */
.article { max-width: calc(880px + var(--gutter) * 2); }
.gallery { columns: 3 240px; column-gap: 12px; margin-top: 56px; }
.gallery a { display: block; margin-bottom: 12px; break-inside: avoid; background: var(--panel); cursor: zoom-in; }
.gallery img { width: 100%; height: auto; transition: opacity .3s; }
.gallery a:hover img { opacity: .82; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; border-top: 1px solid var(--line); padding-top: 28px; }
.pager a { display: grid; gap: 6px; }
.pager small { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pager span { font-weight: 600; line-height: 1.45; }
.pager a:hover span { text-decoration: underline; }
.pager-next { text-align: right; }
.back { margin-top: 48px; display: flex; }
.back .text-link { margin-left: 0; }

.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; font-size: 30px; width: 56px; height: 56px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; margin-top: -28px; }
.lb-next { right: 4px; top: 50%; margin-top: -28px; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .2em; color: var(--muted); }

/* 소개 */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.pillars article { padding: 36px 32px 36px 0; border-top: 1px solid #fff; }
.pillars article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.pillars article:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.pillars h3 { font-size: 26px; margin-bottom: 14px; }
.pillars p:not(.eyebrow) { color: var(--muted); }
.about-supervision { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-supervision-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--panel); }
.about-supervision-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-supervision-copy h2 { margin: 14px 0 26px; font-size: clamp(1.8rem, 3.2vw, 3.2rem); line-height: 1.16; }
.about-supervision-copy .prose { max-width: 640px; }
.course-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #fff; }
.course-list li { display: grid; grid-template-columns: 64px minmax(0, 260px) minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.course-list span { color: var(--faint); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.course-list h3 { font-size: 19px; font-weight: 600; }
.course-list p { color: var(--muted); font-size: 15px; }

/* 연락처 */
.contact { margin: 0; border-top: 1px solid #fff; }
.contact div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.contact dt { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
.contact dd { margin: 0; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.6; }
.contact a { border-bottom: 1px solid var(--line); }
.contact a:hover { border-color: #fff; }
.contact .map-link { display: table; margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.contact .map-link:hover { color: #fff; }

/* 하단 */
.footer { padding: 56px var(--gutter) 64px; border-top: 1px solid var(--line); text-align: center; color: var(--faint); font-size: 12px; letter-spacing: .08em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-bottom: 26px; }
.footer-links a { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer-links a:hover { color: #fff; }
.footer-copy { margin-top: 6px; }

/* ── 메인 화면 요약 영역 ── */
.home-block { padding-top: clamp(64px, 8vw, 110px); padding-bottom: 0; }
.home-block + .home-block { padding-top: clamp(64px, 8vw, 110px); }
.home-block .block-head { margin-bottom: 32px; }
.splits { display: grid; gap: 2px; border-top: 1px solid var(--line); }
.split-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; background: #070708; }
.r21 .split-row { grid-template-columns: 2fr 1fr; }
.r32 .split-row { grid-template-columns: 3fr 2fr; }
.r21 .split-row.flip { grid-template-columns: 1fr 2fr; }
.r32 .split-row.flip { grid-template-columns: 2fr 3fr; }
.split-row.flip .split-img { order: 2; }
.split-img { position: relative; overflow: hidden; background: var(--panel); }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.split-row:hover .split-img img { transform: scale(1.03); }
.split-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 64px); }
.split-text .eyebrow { margin-bottom: 14px; }
.split-text h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.2; }
.split-text p:not(.eyebrow) { margin-top: 16px; color: rgba(255,255,255,.75); line-height: 1.75; max-width: 520px; }
.split-text .text-link { margin: 28px auto 0 0; }
.home-proj { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 40px; border-top: 1px solid #fff; padding-top: 28px; }
.home-proj-count strong { display: block; font-size: clamp(3.4rem, 6vw, 5.4rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.home-proj-count span { display: block; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.home-proj-count .sub { margin-top: 4px; font-weight: 500; letter-spacing: .04em; color: var(--faint); }
.home-proj-list { list-style: none; margin: 0; padding: 0; }
.home-proj-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.home-proj-list li:first-child { padding-top: 0; }
.home-proj-list h4 { font-size: 16px; font-weight: 600; line-height: 1.5; }
.home-proj-list p { font-size: 13px; color: var(--muted); white-space: nowrap; }
.home-equip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.home-equip-photo { aspect-ratio: 4 / 3; background: var(--panel); overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.home-equip-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.home-equip-item:hover .home-equip-photo img { transform: scale(1.04); }
.home-equip-photo span { font-size: 30px; font-weight: 200; color: var(--faint); }
.home-equip-item h4 { font-size: 17px; font-weight: 600; }
.home-equip-maker { margin-top: 4px; font-size: 13px; color: var(--muted); }
.stats { margin-top: clamp(64px, 8vw, 110px); }
.closing-compact { padding: clamp(80px, 10vw, 130px) var(--gutter); }
@media (max-width: 900px) {
  .split-row, .r21 .split-row, .r32 .split-row, .r21 .split-row.flip, .r32 .split-row.flip { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .split-row.flip .split-img { order: 0; }
  .split-img { aspect-ratio: 16 / 9; }
  .home-proj { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-proj-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .home-proj-list p { white-space: normal; }
  .home-equip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}

/* 메뉴 끝 아이콘 링크 */
.nav-ext { display: flex; align-items: center; gap: 4px; padding-left: 20px; margin-left: 4px; border-left: 1px solid rgba(255,255,255,.3); }
.ext { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; opacity: .85; transition: opacity .2s; }
.ext:hover { opacity: 1; }
.ext svg, .menu-ext svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ext svg .dot, .menu-ext svg .dot { fill: #fff; stroke: none; }
.menu-ext { display: grid; gap: 4px; margin-top: 28px; }
.menu-ext a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--muted); font-size: 14px; }
.menu-ext a:hover { color: #fff; }
.footer-ext { display: flex; justify-content: center; gap: 6px; margin-bottom: 20px; }
.dd-note { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); letter-spacing: .02em; }

/* 보유 장비 */
.chips a.chip { display: inline-block; }
.equip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 540px), 1fr)); gap: 0 48px; }
.equip { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.equip-photo { aspect-ratio: 1; background: var(--panel); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.equip-photo img { width: 100%; height: 100%; object-fit: cover; }
.equip-photo span { font-size: 34px; font-weight: 200; color: var(--faint); letter-spacing: .05em; }
.equip h3 { font-size: 20px; font-weight: 600; line-height: 1.35; }
.equip-ko { margin-top: 4px; color: var(--muted); font-size: 14px; }
.equip-maker { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.specs { margin: 16px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: rgba(255,255,255,.88); }
.specs div:has(> dd:only-child) { grid-template-columns: minmax(0, 1fr); }
.equip-desc { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.7; }
@media (max-width: 640px) { .nav-ext { display: none; } .nav { gap: 16px; } }
@media (max-width: 520px) { .equip { grid-template-columns: minmax(0, 1fr); } .equip-photo { max-width: 220px; } }
@media (max-width: 1080px) { .nav-ext { margin-left: auto; border-left: 0; padding-left: 0; } .nav-ext + .nav-toggle { margin-left: 0; } }

/* 로그인한 편집자에게만 보이는 편집 버튼 */
.edit-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; padding: 12px 18px; background: #fff; color: #000; font-size: 14px; font-weight: 700; border-radius: 999px; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.edit-fab:hover { background: #e8e8e8; }

/* ── 반응형 ── */
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .news-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .faculty-card { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faculty-photo { max-width: 320px; }
  .cv, .split, .pillars, .about-supervision, .proj-list { grid-template-columns: minmax(0, 1fr); }
  .pillars article + article { padding-left: 0; border-left: 0; }
  .pub { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .row { grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .row span:last-child { grid-column: 1 / -1; color: var(--muted); }
  .row-head { display: none; }
  .course-list li { grid-template-columns: 40px minmax(0, 1fr); }
  .course-list p { grid-column: 2; }
  .contact div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .panel-right .panel-copy { margin-left: 0; }
  .panel-right .panel-shade { transform: none; }
  .panel-shade, .panel-shade-strong { background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.15) 100%); }
  .lightbox { padding: 56px 8px; }
}
@media (max-width: 520px) {
  .btn { width: 100%; }
  .text-link { margin-left: 0; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager-next { text-align: left; }
}
.block-head h2 .count { font-size: .5em; font-weight: 600; color: var(--muted); margin-left: 10px; vertical-align: middle; }
.contact dd.addr-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.map-frame { position: relative; aspect-ratio: 4 / 3; background: var(--panel); overflow: hidden; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* 지도 흑백: 블랙 테마는 어두운 흑백, 화이트 테마는 밝은 흑백 */
.map-frame iframe { filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }
[data-theme='light'] .map-frame iframe { filter: grayscale(1) contrast(1.05); }
.email-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.email-list li { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 4px 20px; align-items: baseline; }
.email-who { font-size: 15px; color: var(--muted); }
.contact .dd-note { margin-top: 18px; }
@media (max-width: 900px) {
  .contact dd.addr-map { grid-template-columns: minmax(0, 1fr); }
  .email-list li { grid-template-columns: minmax(0, 1fr); }
}
.equip-photo.is-logo { background: #fff; padding: 14%; }
.equip-photo.is-logo img { object-fit: contain; }
/* 구성원 카드 → 개인 페이지 */
.member-main { display: block; }
.member-main h4 { display: flex; align-items: center; gap: 10px; }
.member-main:hover h4 > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.member-go { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: background .25s, border-color .25s, color .25s, transform .25s; }
.member-go svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.member-main:hover .member-go, .member-main:focus-visible .member-go { background: var(--fg); border-color: var(--fg); color: var(--bg); transform: translateX(2px); }
.member-main .member-photo img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.member-main:hover .member-photo img { transform: scale(1.05); }
/* 구성원 개인 페이지 */
.person { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.person-photo { aspect-ratio: 3 / 4; background: var(--panel); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo span { font-size: 96px; font-weight: 200; color: var(--faint); }
.person-info { margin: 0; border-top: 1px solid var(--fg); }
.person-info div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.person-info dt { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.person-info dd { margin: 0; font-size: 17px; }
.person-info a { border-bottom: 1px solid var(--line); }
.person-edu { margin-top: 56px; }
.person-edu ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.person-edu li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.person-edu .deg { font-size: 20px; font-weight: 700; display: grid; gap: 2px; }
.person-edu .deg small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.person-edu .school { font-size: 17px; line-height: 1.6; }
.person-pager { padding-top: 0; padding-bottom: 0; margin-top: 0; }
.person-back { padding-top: 0; }
@media (max-width: 760px) {
  .person { grid-template-columns: minmax(0, 1fr); }
  .person-photo { max-width: 260px; }
  .person-info div, .person-edu li { grid-template-columns: 96px minmax(0, 1fr); }
}
.faculty-photo { display: flex; }
.faculty-name { display: inline-flex; align-items: center; gap: 12px; }
.faculty-name .member-go { width: 28px; height: 28px; }
.faculty-contact { margin-top: 6px; font-size: 14px; color: var(--muted); }
.faculty-more { display: table; margin: 28px 0 0; }
.person-sec { margin-top: 48px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.person-edu ol.plain li { display: block; font-size: 16px; padding: 14px 0; }
.fac-pubs { padding-top: 0; }
.fac-pubs .pub-list { list-style: none; margin: 0; padding: 0; }
.fac-pubs .pub h3 a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.pub-authors { margin-top: 6px; font-size: 14px; color: var(--muted); }
.pub-authors strong { color: var(--fg); font-weight: 600; }
.fac-others { padding-top: 0; padding-bottom: 0; }
.fac-others > div { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.fac-others .member-main { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.fac-others .member-main:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.home-equip-photo.is-logo { background: #fff; padding: 14%; }
.home-equip-photo.is-logo img { object-fit: contain; }
.home-equip-item:hover .home-equip-photo.is-logo img { transform: none; }
/* ───────── 연구 분야 상세 (연구 내용 보기) ───────── */
.panel-actions { margin-top: 34px; display: flex; }
.rd { max-width: calc(1180px + var(--gutter) * 2); }
.rd-head { padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.rd-title { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -.02em; }
.rd-lead { margin-top: 32px; max-width: 820px; }
.rd-topics > .eyebrow { margin-bottom: 40px; }
.rd-topic + .rd-topic { margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.rd-topic-head { display: flex; gap: 20px; align-items: baseline; }
.rd-topic-head span { flex: none; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.rd-topic-head h3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.35; }
.rd-topic-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 36px; }
.rd-topic-body.noimg { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.rd-fig { margin: 0; }
.rd-fig a, .rd-thumbs a { display: block; cursor: zoom-in; background: var(--panel); }
.rd-fig img { width: 100%; height: auto; transition: opacity .3s; }
.rd-fig figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.rd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 24px; }
.rd-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .3s; }
.rd-fig a:hover img, .rd-thumbs a:hover img { opacity: .82; }
.rd-gallery { margin-top: clamp(72px, 9vw, 120px); }
.rd .gallery { margin-top: 0; }
.rd-empty { color: var(--muted); padding: 24px 0; }
@media (max-width: 900px) {
  .rd-topic-body { grid-template-columns: minmax(0, 1fr); }
}

/* ───────── 화이트 테마 (관리자 화면 → 로고·사이트 이름 → 사이트 색상 테마) ───────── */
html[data-theme='light'] {
  --bg: #fff; --fg: #111; --muted: rgba(0, 0, 0, .56); --faint: rgba(0, 0, 0, .4); --line: rgba(0, 0, 0, .12); --panel: #f3f4f6;
  color-scheme: light;
}
[data-theme='light'] :focus-visible { outline-color: #111; }
/* 상단 메뉴: 흰 바탕 고정 */
[data-theme='light'] .nav, [data-theme='light'] .nav.is-scrolled, [data-theme='light'] .nav:not(.nav-overlay) { background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: #111; }
[data-theme='light'] .nav::before { display: none; }
[data-theme='light'] .nav-links a::after, [data-theme='light'] .nav-toggle span { background: #111; }
[data-theme='light'] .nav-ext { border-left-color: rgba(0, 0, 0, .2); }
[data-theme='light'] .ext svg, [data-theme='light'] .menu-ext svg { stroke: #111; }
[data-theme='light'] .ext svg .dot, [data-theme='light'] .menu-ext svg .dot { fill: #111; }
[data-theme='light'] .menu-panel { background: #fff; }
/* 큰 사진 영역: 사진 위 글자는 흰색 유지, 사진이 없으면 밝은 회색 바탕 */
[data-theme='light'] .panel { background: #111; color: #fff; }
[data-theme='light'] .panel .eyebrow { color: rgba(255, 255, 255, .7); }
[data-theme='light'] .panel:not(:has(.panel-bg)) { background: var(--panel); color: #111; }
[data-theme='light'] .panel:not(:has(.panel-bg)) .panel-shade { display: none; }
[data-theme='light'] .panel:not(:has(.panel-bg)) .eyebrow { color: var(--muted); }
[data-theme='light'] .panel:not(:has(.panel-bg)) .lede { color: rgba(0, 0, 0, .72); }
/* 버튼·링크: 사진 밖에서는 검은색 */
[data-theme='light'] .btn { border-color: #111; }
[data-theme='light'] .btn::before { background: #111; }
[data-theme='light'] .btn:hover span, [data-theme='light'] .btn:focus-visible span { color: #fff; }
[data-theme='light'] .panel:has(.panel-bg) .btn { border-color: #fff; }
[data-theme='light'] .panel:has(.panel-bg) .btn::before { background: #fff; }
[data-theme='light'] .panel:has(.panel-bg) .btn:hover span, [data-theme='light'] .panel:has(.panel-bg) .btn:focus-visible span { color: #000; }
[data-theme='light'] .text-link { border-bottom-color: #111; }
/* 본문 글자·선 */
[data-theme='light'] .prose, [data-theme='light'] .row, [data-theme='light'] .pub-journal { color: rgba(0, 0, 0, .78); }
[data-theme='light'] .cv ul, [data-theme='light'] .specs dd { color: rgba(0, 0, 0, .82); }
[data-theme='light'] .split-text p:not(.eyebrow), [data-theme='light'] .equip-maker { color: rgba(0, 0, 0, .66); }
[data-theme='light'] .row strong, [data-theme='light'] .count strong { color: #111; }
[data-theme='light'] .mail:hover, [data-theme='light'] .member-mail:hover, [data-theme='light'] .contact .map-link:hover,
[data-theme='light'] .footer-links a:hover, [data-theme='light'] .menu-ext a:hover { color: #111; }
[data-theme='light'] .table, [data-theme='light'] .pub-list, [data-theme='light'] .pillars article, [data-theme='light'] .course-list,
[data-theme='light'] .contact, [data-theme='light'] .home-proj { border-top-color: #111; }
[data-theme='light'] .group-title { border-bottom-color: #111; }
[data-theme='light'] .contact a:hover { border-color: #111; }
[data-theme='light'] .split-row { background: var(--panel); }
/* 검색 칸·분류 버튼 */
[data-theme='light'] .field input, [data-theme='light'] .field select { border-bottom-color: rgba(0, 0, 0, .4); }
[data-theme='light'] .field select { background: #fff; }
[data-theme='light'] .field input:focus, [data-theme='light'] .field select:focus { border-bottom-color: #111; }
[data-theme='light'] .chip { border-color: rgba(0, 0, 0, .3); }
[data-theme='light'] .chip:hover { border-color: #111; }
[data-theme='light'] .chip[aria-pressed='true'] { background: #111; color: #fff; border-color: #111; }
[data-theme='light'] .edit-fab { background: #111; color: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, .2); }
[data-theme='light'] .edit-fab:hover { background: #333; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
