/* CRYSTAL Lab — 가상의 결정재료연구실 (디코랩 연구실 홈페이지 디자인 샘플)
   색: 에메랄드(결정·주색) · 흑연(글자·면) · 흰 바탕 · 황(문의 단추만) · 주제 셋(에메랄드·코발트·루비)
   글꼴: Pretendard(본문·국문 제목) · Red Hat Display(영문·숫자) · Red Hat Mono(기간·식) — 모두 OFL */
:root {
  color-scheme: light;
  --emerald: #00A86B;
  --emerald-ink: #007A4D;     /* 흰 바탕 위 글자용(4.5:1 이상) */
  --emerald-soft: #E2F6EE;
  --graphite: #1A1D21;
  --graphite-2: #3A4048;
  --muted: #5B636C;
  --line: #D8DEDA;
  --mist: #F3F6F4;
  --white: #FFFFFF;
  --sulfur: #FFC83D;          /* 문의 단추에만 */
  --t-alloy: #00A86B;
  --t-ionic: #2B59FF;
  --t-defect: #E5254B;
  --radius: 14px;
  --radius-sm: 8px;
  --hd-h: 92px;
  --f-ko: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --f-en: 'Red Hat Display', var(--f-ko);
  --f-mono: 'Red Hat Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--white); color: var(--graphite);
  font-family: var(--f-ko); font-size: 17px; line-height: 1.75; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: anywhere; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--t-ionic); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--graphite); color: #fff; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.num { font-family: var(--f-en); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.mono { font-family: var(--f-mono); letter-spacing: 0; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 40px; }
.container--narrow { max-width: 920px; }
.ph { display: inline-block; padding: 0 8px; border: 1.5px dashed #9AA59F; border-radius: 6px; color: var(--muted); font-size: .92em; }
.fine { margin-top: 18px; font-size: .875rem; line-height: 1.65; color: var(--muted); }
.fine a { color: var(--emerald-ink); }

/* ---------- 안내 띠(공통 고정 파일이 위치를 맡는다) ---------- */
.sample-banner { background: var(--graphite); color: rgba(255,255,255,.86); font-size: .8125rem; line-height: 1.5; }
.sample-banner__inner { display: flex; align-items: center; gap: 10px; max-width: 1280px; margin-inline: auto; padding: 8px 40px; }
.sample-banner__inner p { margin: 0; }
.sample-banner__tag { flex: none; padding: 2px 8px; border-radius: 100px; background: var(--emerald); color: #fff; font-weight: 700; font-size: .75rem; }
.sample-banner__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 단추 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.btn--dark { background: var(--graphite); color: #fff; }
.btn--dark:hover { background: var(--emerald-ink); }
.btn--line { border-color: var(--graphite); background: #fff; }
.btn--line:hover { border-color: var(--emerald); color: var(--emerald-ink); }
.btn--sulfur { background: var(--sulfur); color: var(--graphite); }
.btn--sulfur:hover { background: #FFD76A; }
.btn--ghost { border-color: rgba(255,255,255,.5); background: transparent; color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--emerald-ink); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.more::after { content: ''; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.more--light { color: #fff; }
.eyebrow { font-family: var(--f-en); font-size: .9375rem; font-weight: 700; color: var(--emerald-ink); letter-spacing: .02em; }

/* ---------- 머리 ---------- */
.hd { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 28px; height: var(--hd-h); max-width: 1440px; margin-inline: auto; padding-inline: 40px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--graphite); }
.logo__mark { width: 52px; height: 52px; flex: none; }
.logo__words { display: grid; line-height: 1; }
.logo__en { font-family: var(--f-en); font-weight: 900; font-size: 34px; letter-spacing: .01em; }
.logo__en span { font-weight: 500; color: var(--emerald-ink); }
.logo__ko { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--graphite-2); letter-spacing: 0; }
.hd__univ { padding-left: 24px; border-left: 1px solid var(--line); font-size: .9375rem; color: var(--muted); line-height: 1.4; }
.hd__univ span { display: block; font-size: .8125rem; }
.hd__ask { margin-left: auto; padding: 12px 22px; border-radius: 999px; background: var(--sulfur); color: var(--graphite); font-weight: 700; text-decoration: none; }
.hd__ask:hover { background: #FFD76A; }
.hd__menu { display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 20px 0 24px; border: 0; border-radius: 14px; background: var(--graphite); color: #fff; font-weight: 700; }
.hd__menu:hover { background: var(--emerald-ink); }
.burger { display: grid; gap: 5px; width: 24px; }
.burger i { display: block; height: 2.5px; border-radius: 2px; background: currentColor; }
.burger i:nth-child(2) { width: 70%; justify-self: end; }

/* ---------- 오른쪽 세로 서랍 메뉴 ---------- */
.drawer { position: fixed; top: var(--sample-banner-h, 0px); right: 0; bottom: 0; left: 0; z-index: 120; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(26,29,33,.55); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100%); display: flex; flex-direction: column; background: #fff; border-left: 6px solid var(--emerald); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .38s cubic-bezier(.2,.7,.2,1); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.drawer__home { font-weight: 700; text-decoration: none; color: var(--emerald-ink); }
.drawer__close { position: relative; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--mist); }
.drawer__close span[aria-hidden]::before, .drawer__close span[aria-hidden]::after { content: ''; position: absolute; left: 15px; top: 25px; width: 22px; height: 2.5px; background: var(--graphite); border-radius: 2px; transform: rotate(45deg); }
.drawer__close span[aria-hidden]::after { transform: rotate(-45deg); }
.drawer__groups { margin: 0; padding: 8px 28px 20px; }
.dg { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dg__name { font-size: 1.1875rem; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.dg__en { display: block; margin-top: 4px; font-family: var(--f-en); font-size: .8125rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.dg.is-current .dg__name { color: var(--emerald-ink); }
.dg ul { display: grid; gap: 2px; }
.dg a { display: block; padding: 5px 0 5px 14px; border-left: 3px solid transparent; text-decoration: none; font-size: 1rem; line-height: 1.5; }
.dg a:hover { color: var(--emerald-ink); border-left-color: var(--line); }
.dg a[aria-current="page"] { border-left-color: var(--emerald); color: var(--emerald-ink); font-weight: 700; }
.drawer__foot { margin-top: auto; padding: 24px 28px 32px; background: var(--mist); }
.drawer__foot p { margin-bottom: 12px; font-size: .9375rem; color: var(--graphite-2); }
.drawer__foot .btn { font-size: .9375rem; }
body.nav-open { overflow: hidden; }

/* ---------- 메인 히어로: 흰 바탕 three.js 결정 격자 ---------- */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.hero__stage { position: absolute; inset: 0 0 0 40%; }
.hero__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .8s; touch-action: pan-y; }
.hero__stage.is-live canvas { opacity: 1; }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s; }
.hero__stage.is-live .hero__poster { opacity: 0; }
.hero__stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.75) 20%, rgba(255,255,255,0) 48%); pointer-events: none; }
.hero__in { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 72px; pointer-events: none; }
.hero__in a { pointer-events: auto; }
.hero__eyebrow { font-weight: 600; color: var(--emerald-ink); }
.hero__title { max-width: 13.5em; margin-top: 14px; font-size: clamp(2.1rem, 4.6vw, 4.25rem); font-weight: 300; line-height: 1.2; letter-spacing: -0.03em; text-wrap: balance; }
.hero__title b { font-weight: 800; color: var(--emerald-ink); }
.hero__lead { max-width: 30em; margin-top: 22px; font-size: 1.125rem; color: var(--graphite-2); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__read { position: absolute; z-index: 2; top: 36px; right: 40px; display: grid; gap: 2px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.88); font-size: .875rem; }
.hero__read p { display: flex; justify-content: space-between; gap: 18px; }
.hero__read span { color: var(--muted); }
.ovl { text-decoration: overline; }
.hero__ctrl { position: absolute; z-index: 3; right: 40px; bottom: 32px; display: flex; align-items: center; gap: 14px; }
.hero__hint, .cv3__hint { font-size: .8125rem; color: var(--muted); }
.hero__hint { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.9); }
.stopbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--graphite); border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 700; }
.stopbtn__i { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.stopbtn[aria-pressed="true"] .stopbtn__i { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- XRD 피크 소식 띠 ---------- */
.xrd { background: #fff; border-bottom: 1px solid var(--line); }
.xrd__in { position: relative; display: grid; grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 0; }
.xrd__title { font-size: 1rem; font-weight: 800; }
.xrd__title span { margin-left: 12px; font-weight: 400; font-size: .875rem; color: var(--muted); }
.xrd__peaks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 18px 0 0; }
.xrd__peak { position: relative; display: flex; justify-content: center; }
.xrd__peak a { position: relative; display: grid; gap: 2px; width: min(100%, 300px); padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; transition: border-color .2s, background-color .2s; }
.xrd__peak a::after { content: ''; position: absolute; left: 50%; top: 100%; height: 34px; border-left: 1.5px dashed var(--emerald); }
.xrd__peak a:hover { border-color: var(--emerald); background: var(--emerald-soft); }
.xrd__hkl { position: absolute; top: -11px; left: 14px; padding: 0 6px; background: #fff; font-size: .8125rem; font-weight: 700; color: var(--emerald-ink); }
.xrd__peak a:hover .xrd__hkl { background: var(--emerald-soft); }
.xrd__cat { font-size: .8125rem; font-weight: 700; color: var(--muted); }
.xrd__peak b { font-size: 1rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xrd__date { font-size: .8125rem; color: var(--muted); }
.xrd__graph { margin-top: 34px; height: 92px; }
.xrd__svg { width: 100%; height: 100%; }

/* ---------- 공통 섹션 머리 ---------- */
.sec-head { max-width: 46em; margin-bottom: 40px; }
.sec-head__title { margin-top: 8px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.025em; text-wrap: balance; }
.sec-head__lead { margin-top: 14px; color: var(--graphite-2); }

/* ---------- 소개 문장 + 사람 ---------- */
.intro { padding: 112px 0; }
.intro__in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.intro__lead { margin-top: 14px; font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 400; line-height: 1.5; letter-spacing: -0.025em; }
.intro__lead em { font-style: normal; font-weight: 800; box-shadow: inset 0 -.38em 0 var(--emerald-soft); }
.intro__people { padding: 28px; border-radius: var(--radius); background: var(--mist); }
.who { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
.who__ph svg { width: 96px; height: 112px; border-radius: 10px; }
.who__role { font-size: .8125rem; font-weight: 700; color: var(--emerald-ink); }
.who__name { font-size: 1.25rem; font-weight: 800; }
.who__name span { font-family: var(--f-en); font-weight: 500; font-size: .9375rem; color: var(--muted); }
.who__field { font-size: .9375rem; color: var(--graphite-2); line-height: 1.6; }
.who .more { margin-top: 10px; font-size: .9375rem; }
.intro__count { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9375rem; }
.intro__count span { display: block; font-weight: 800; }

/* ---------- 결정면 연구 줄 ---------- */
.planes { padding: 0 0 112px; }
.planes__list { border-top: 2px solid var(--graphite); }
.plane { position: relative; display: grid; grid-template-columns: 112px 120px minmax(0, 1fr) 120px; gap: 32px; align-items: center; padding: 28px 12px; border-bottom: 1px solid var(--line); transition: background-color .25s; }
.plane:hover { background: var(--mist); }
.plane__hkl { font-size: 2.25rem; font-weight: 700; }
.plane--alloy .plane__hkl { color: var(--emerald-ink); }
.plane--ionic .plane__hkl { color: var(--t-ionic); }
.plane--defect .plane__hkl { color: var(--t-defect); }
.plane__text h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.plane__text h3 a { text-decoration: none; }
.plane__text h3 a::after { content: ''; position: absolute; inset: 0; }
.plane__text p { margin-top: 6px; color: var(--graphite-2); font-size: 1rem; }
.plane__pubs { position: relative; z-index: 1; justify-self: end; display: grid; place-items: center; width: 104px; height: 104px; border: 1.5px solid var(--graphite); border-radius: 50%; background: #fff; text-decoration: none; font-size: .875rem; font-weight: 700; line-height: 1.1; transition: background-color .2s, color .2s; }
.plane__pubs .num { display: block; font-size: 2rem; }
.plane__pubs:hover { background: var(--graphite); color: #fff; }

/* ---------- 단위세포 고르기 ---------- */
.cellx { padding: 104px 0; background: var(--mist); }
.cellx__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.cellx__view { display: grid; gap: 18px; justify-items: start; }
.cellbtns { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; padding: 5px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.cellbtn { display: grid; gap: 0; padding: 10px 6px; border: 0; border-radius: 10px; background: transparent; line-height: 1.3; font-size: .9375rem; transition: background-color .2s, color .2s; }
.cellbtn__en { font-family: var(--f-en); font-weight: 800; font-size: 1.0625rem; }
.cellbtn[aria-pressed="true"] { background: var(--graphite); color: #fff; }
.cellbtn[aria-pressed="true"] .cellbtn__en { color: var(--sulfur); }
.cellx__fig { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--radius); background: #fff; }
.cellposter { width: 82%; height: auto; animation: fadein .3s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.cellx__note { color: var(--graphite-2); font-size: 1rem; min-height: 5.25em; }
.ctab-wrap, .tbl-wrap { overflow-x: auto; border-radius: var(--radius); }
.ctab { width: 100%; border-collapse: collapse; background: #fff; font-size: .9375rem; }
.ctab th, .ctab td { padding: 14px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.ctab thead th { background: var(--graphite); color: #fff; font-weight: 700; font-size: .875rem; white-space: nowrap; }
.ctab tbody th { font-weight: 800; white-space: nowrap; }
.ctab__en { display: block; font-family: var(--f-en); font-size: .8125rem; color: var(--muted); }
.ctab td.num { font-size: 1.125rem; font-weight: 700; white-space: nowrap; }
.ctab td:last-child { min-width: 9em; }
.ctab tr.is-sel { background: var(--emerald-soft); }
.ctab tr.is-sel th { box-shadow: inset 4px 0 0 var(--emerald); }
.ctab td.mono { white-space: nowrap; font-size: .875rem; }

/* ---------- 최근 논문 ---------- */
.papers { padding: 112px 0; }
.papers__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
.papers__side .sec-head { margin-bottom: 20px; }
.papers__side { align-self: start; position: sticky; top: calc(var(--hd-h) + 24px); }
.papers__auto { margin-bottom: 24px; padding: 16px 18px; border-left: 4px solid var(--emerald); background: var(--mist); font-size: .9375rem; line-height: 1.65; }
.mpubs { border-top: 2px solid var(--graphite); }
.mpub { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 24px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.mpub__d { font-weight: 700; color: var(--muted); padding-top: 3px; }
.mpub__t { font-size: 1.125rem; font-weight: 700; line-height: 1.45; }
.mpub__t a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.mpub__t a:hover { background-size: 100% 2px; }
.mpub__m { margin-top: 6px; font-size: .9375rem; color: var(--graphite-2); line-height: 1.6; }
.mpub__m b, .pub__meta b { color: var(--graphite); }
i[lang="en"] { font-style: italic; }

/* ---------- 꼬리표 (주제 색) ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 6px; background: var(--mist); font-size: .8125rem; font-weight: 700; white-space: nowrap; line-height: 1.5; }
.tag i { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: currentColor; }
.tag--alloy { color: var(--emerald-ink); background: #E2F6EE; }
.tag--ionic { color: #1E44D6; background: #E8EDFF; }
.tag--defect { color: #C21436; background: #FDE8EC; }
.tag--type { color: var(--graphite-2); background: #fff; border: 1px solid var(--line); }

/* ---------- 진행 중 과제 기간 막대 ---------- */
.projx { padding: 104px 0 112px; background: var(--graphite); color: #fff; }
.projx .eyebrow { color: #4FE0A6; }
.projx .sec-head__lead { color: rgba(255,255,255,.75); }
.projx .more { color: #4FE0A6; }
.gantt { --label: 40%; }
.gantt__axis { display: grid; grid-template-columns: var(--label) 1fr; margin-bottom: 8px; }
.gantt__ticks { position: relative; height: 30px; border-bottom: 1px solid rgba(255,255,255,.3); }
.gantt__tick { position: absolute; bottom: 0; height: 10px; border-left: 1px solid rgba(255,255,255,.4); }
.gantt__tick span { position: absolute; bottom: 10px; left: 4px; white-space: nowrap; font-size: .8125rem; color: rgba(255,255,255,.7); }
.gantt__today { position: absolute; bottom: -4px; height: 34px; border-left: 2px solid var(--sulfur); }
.gantt__today span { position: absolute; top: -4px; left: 6px; font-size: .75rem; font-weight: 700; color: var(--sulfur); white-space: nowrap; }
.gantt__rows { position: relative; }
.gantt__row { display: grid; grid-template-columns: var(--label) 1fr; align-items: center; min-height: 82px; border-bottom: 1px solid rgba(255,255,255,.12); }
.gantt__label { display: grid; gap: 4px; padding: 14px 24px 14px 0; justify-items: start; }
.gantt__label b { font-size: 1.0625rem; line-height: 1.45; }
.gantt__meta { font-size: .8125rem; color: rgba(255,255,255,.65); }
.gantt__track { position: relative; height: 100%; min-height: 40px; background: linear-gradient(90deg, transparent calc(var(--today) - 1px), rgba(255,200,61,.6) calc(var(--today) - 1px), rgba(255,200,61,.6) calc(var(--today) + 1px), transparent calc(var(--today) + 1px)); }
.gantt__bar { position: absolute; top: 50%; height: 14px; margin-top: -7px; border-radius: 7px; transform-origin: left center; }
.gantt__bar--alloy { background: var(--t-alloy); }
.gantt__bar--ionic { background: #5B80FF; }
.gantt__bar--defect { background: #FF4D6D; }
.projx .tag { background: rgba(255,255,255,.1); }
.projx .tag--alloy { color: #4FE0A6; }
.projx .tag--ionic { color: #9FB4FF; }
.projx .tag--defect { color: #FF8FA3; }

/* ---------- 연락 띠 ---------- */
.contact { padding: 88px 0; background: var(--emerald-ink); color: #fff; }
.contact__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.contact__t { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 800; line-height: 1.35; letter-spacing: -.025em; text-wrap: balance; }
.contact p { margin-top: 14px; color: rgba(255,255,255,.88); }
.contact__act { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.contact__act .more { margin-top: 0; }

/* ---------- 바닥글 ---------- */
.ft { background: var(--graphite); color: rgba(255,255,255,.8); font-size: .9375rem; }
.ft__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; padding-top: 64px; padding-bottom: 40px; }
.ft__logo { font-family: var(--f-en); font-size: 1.75rem; font-weight: 900; color: #fff; }
.ft__logo span { font-weight: 500; color: #4FE0A6; }
.ft__info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.ft__info dt { font-size: .8125rem; color: rgba(255,255,255,.55); }
.ft__info a { color: #fff; }
.ft .ph { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.7); }
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 32px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem; }
.ft__credit { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ft__credit img { width: 70px; height: auto; filter: brightness(0) invert(1); opacity: .85; }

/* ---------- 서브 머리: 라우에 점 무늬 + 칩 줄 ---------- */
.sh { border-bottom: 1px solid var(--line); }
.sh__in { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 40px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--muted); }
.crumb li + li::before { content: '/'; margin-right: 6px; color: #A9B2AD; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--emerald-ink); }
.sh__group { margin-top: 26px; font-weight: 700; color: var(--graphite-2); }
.sh__en { margin-right: 10px; font-family: var(--f-en); font-weight: 700; color: var(--emerald-ink); }
.sh__title { margin-top: 6px; font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; }
.sh__desc { max-width: 36em; margin-top: 14px; font-size: 1.0625rem; color: var(--graphite-2); }
.sh__upd { display: inline-block; margin-top: 16px; padding: 3px 10px; border-radius: 6px; background: var(--emerald-soft); color: var(--emerald-ink); font-size: .8125rem; font-weight: 700; }
.sh__art svg { width: 260px; height: 260px; }
.sh__art svg g circle { animation: twinkle 5s ease-in-out infinite alternate; }
.sh__art svg g circle:nth-child(3n) { animation-delay: -2s; }
.sh__art svg g circle:nth-child(4n) { animation-delay: -3.5s; }
@keyframes twinkle { from { opacity: 1; } to { opacity: .35; } }

.chips { border-top: 1px solid var(--line); background: #fff; }
.chips__wrap { position: relative; }
.chips__row { display: flex; gap: 8px; padding: 14px 0; margin: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips__row::-webkit-scrollbar { display: none; }
.chips__row li { flex: none; scroll-snap-align: start; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s; }
.chip i { width: 8px; height: 8px; border: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; }
.chip:hover { border-color: var(--emerald); color: var(--emerald-ink); }
.chip[aria-current="page"] { border-color: var(--graphite); background: var(--graphite); color: #fff; }
.chip[aria-current="page"] i { border-color: var(--emerald); background: var(--emerald); opacity: 1; }
.chips__wrap.has-more::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 56px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff 80%); pointer-events: none; }

/* ---------- 서브 본문 공통 ---------- */
.page { padding-top: 64px; padding-bottom: 120px; }
.block { margin-top: 80px; }
.block__t { margin-bottom: 24px; font-size: 1.625rem; font-weight: 800; letter-spacing: -.02em; }
.prose { max-width: 40em; }
.prose p + p { margin-top: 16px; }
.prose__lead { font-size: 1.375rem; font-weight: 700; line-height: 1.55; letter-spacing: -.02em; margin-bottom: 18px; max-width: 32em; }
.sign { margin-top: 28px !important; text-align: right; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--graphite); }
.trio li { padding: 22px 22px 6px 0; }
.trio li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.trio b { font-size: 1.125rem; }
.trio p { margin-top: 6px; font-size: 1rem; color: var(--graphite-2); }
.trio a { color: var(--emerald-ink); font-weight: 700; }
.hist { display: grid; border-left: 2px solid var(--emerald); margin-left: 6px; }
.hist li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 10px 0 10px 26px; }
.hist li::before { content: ''; position: absolute; left: -7px; top: 19px; width: 12px; height: 12px; background: #fff; border: 2px solid var(--emerald); transform: rotate(45deg); }
.hist .num { font-weight: 800; font-size: 1.125rem; }

.tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tbl th, .tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { border-bottom: 2px solid var(--graphite); font-size: .875rem; white-space: nowrap; }
.tbl tbody th { font-weight: 700; white-space: nowrap; }
.tbl--kv tbody th { width: 120px; color: var(--emerald-ink); }

.fig { margin: 0; }
.fig img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.fig figcaption { margin-top: 10px; font-size: .8125rem; color: var(--muted); }

/* 오시는 길 */
.loc { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.loc__info { display: grid; gap: 0; border-top: 2px solid var(--graphite); }
.loc__info div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.loc__info dt { font-weight: 700; }
.loc__info a { color: var(--emerald-ink); }

/* 교수 */
.prof { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.prof__ph svg { width: 100%; height: auto; border-radius: var(--radius); }
.prof__role { font-weight: 700; color: var(--emerald-ink); }
.prof__name { margin-top: 4px; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.prof__name span { font-family: var(--f-en); font-size: 1.25rem; font-weight: 500; color: var(--muted); }
.prof__field { margin-top: 6px; color: var(--graphite-2); }
.prof__contact { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9375rem; }
.prof__contact div { display: flex; gap: 10px; }
.prof__contact dt { font-weight: 700; }
.prof__contact a { color: var(--emerald-ink); }
.prof__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; margin-top: 40px; }
.prof__cols h2 { margin-bottom: 12px; font-size: 1.125rem; font-weight: 800; }
.cv li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.cv li:not(:has(.num)) { grid-template-columns: 1fr; }
.cv .num { font-weight: 700; color: var(--emerald-ink); }

/* 구성원 뒤집기 카드 — 엇갈림 배치 */
.rank { margin-top: 56px; }
.rank__h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--graphite); font-size: 1.375rem; font-weight: 800; }
.rank__h small { font-size: .9375rem; font-weight: 600; color: var(--muted); }
.pcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pc { position: relative; perspective: 1000px; }
.pcs .pc:nth-child(even) { margin-top: 36px; }
.pc__in { position: relative; min-height: 270px; transition: transform .6s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.pc__front, .pc__back { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pc__front { border: 1px solid var(--line); background: #fff; align-items: flex-start; }
.pc__ini { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: auto; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--mist); font-family: var(--f-en); font-size: 1.625rem; font-weight: 800; color: var(--graphite-2); }
.pc--alloy .pc__ini { background: #E2F6EE; color: var(--emerald-ink); }
.pc--ionic .pc__ini { background: #E8EDFF; color: #1E44D6; }
.pc--defect .pc__ini { background: #FDE8EC; color: #C21436; }
.pc__name { margin-top: 18px; font-size: 1.25rem; font-weight: 800; }
.pc__en { font-family: var(--f-en); font-size: .875rem; color: var(--muted); margin-bottom: 10px; }
.pc__back { background: var(--graphite); color: #fff; transform: rotateY(180deg); justify-content: space-between; }
.pc__topic { font-size: 1.0625rem; font-weight: 700; line-height: 1.5; }
.pc__back dl { display: grid; gap: 6px; font-size: .8125rem; }
.pc__back dl div { display: grid; gap: 0; }
.pc__back dt { color: rgba(255,255,255,.6); }
.pc__back a { color: #4FE0A6; }
.pc.is-flipped .pc__in { transform: rotateY(180deg); }
@media (hover: hover) { .pc:hover .pc__in { transform: rotateY(180deg); } }
.pc__flip { position: absolute; z-index: 2; right: 12px; top: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; font-size: 1.25rem; line-height: 1; transition: transform .3s; }
.pc.is-flipped .pc__flip { transform: rotate(45deg); }
@media (hover: hover) { .pc__flip { opacity: 0; } .pc__flip:focus-visible { opacity: 1; } }

/* 연구 개요 */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--graphite); }
.topic { padding: 28px 28px 28px 0; }
.topic + .topic { padding-left: 28px; border-left: 1px solid var(--line); }
.topic__head { display: flex; align-items: center; gap: 12px; }
.topic__art svg { width: 84px; height: 84px; }
.topic__hkl { font-size: 1.75rem; font-weight: 700; }
.topic--alloy .topic__hkl { color: var(--emerald-ink); }
.topic--ionic .topic__hkl { color: var(--t-ionic); }
.topic--defect .topic__hkl { color: var(--t-defect); }
.topic__t { margin-top: 14px; font-size: 1.375rem; font-weight: 800; }
.topic__t a { text-decoration: none; }
.topic__t a:hover { color: var(--emerald-ink); }
.topic__q { margin: 8px 0; font-weight: 700; color: var(--graphite-2); }
.topic p:not(.topic__q):not(.topic__hkl):not(.topic__links) { font-size: 1rem; color: var(--graphite-2); }
.topic__links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.cta-cell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--mist); }
.cta-cell p { margin: 0 0 18px; color: var(--graphite-2); }
.cta-cell .block__t { margin-bottom: 10px; }
.mlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.mlist li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.mlist span { color: var(--graphite-2); }
.others { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 72px; padding-top: 28px; border-top: 2px solid var(--graphite); }
.others p { font-weight: 800; }
.others ul { display: flex; flex-wrap: wrap; gap: 10px; }
.other { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 700; }
.other .num { font-size: .875rem; }
.other--alloy .num { color: var(--emerald-ink); }
.other--ionic .num { color: var(--t-ionic); }
.other--defect .num { color: var(--t-defect); }
.other:hover { border-color: var(--graphite); }

/* 단위세포 3D 페이지 */
.cv3 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.cv3__stage { display: grid; gap: 14px; }
.cv3__view { position: relative; aspect-ratio: 1 / .86; border-radius: var(--radius); background: radial-gradient(circle at 50% 45%, #fff 0%, #EEF3F0 70%); border: 1px solid var(--line); overflow: hidden; touch-action: none; cursor: grab; }
.cv3__view:active { cursor: grabbing; }
.cv3__posters { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .5s; }
.cv3__posters .cellposter { width: auto; height: 86%; }
.cv3__view canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .5s; }
.cv3__view.is-live canvas { opacity: 1; }
.cv3__view.is-live .cv3__posters { opacity: 0; }
.cv3__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cv3__hint { margin-right: auto; }
.toggle { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 700; }
.toggle[aria-pressed="true"] { border-color: var(--emerald); background: var(--emerald-soft); color: var(--emerald-ink); }
.cv3__data { position: sticky; top: calc(var(--hd-h) + 24px); padding: 32px; border-radius: var(--radius); background: var(--graphite); color: #fff; }
.cv3__en { font-family: var(--f-en); font-size: 1rem; font-weight: 800; color: var(--sulfur); }
.cv3__name { font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; }
.cv3__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.cv3__nums div { padding: 16px 0; }
.cv3__nums div + div { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.2); }
.cv3__nums dt { font-size: .8125rem; color: rgba(255,255,255,.65); }
.cv3__nums dd { font-size: 2.25rem; font-weight: 700; line-height: 1.2; }
.apf { height: 10px; margin-top: 18px; border-radius: 5px; background: rgba(255,255,255,.14); overflow: hidden; }
.apf__bar { display: block; height: 100%; width: 100%; background: var(--emerald); transform-origin: left; transform: scaleX(var(--v)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cv3__rel, .cv3__ex { margin-top: 16px; font-size: .9375rem; }
.cv3__rel span, .cv3__ex span { display: block; font-size: .8125rem; color: rgba(255,255,255,.65); }
.cv3__note { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); font-size: .9375rem; color: rgba(255,255,255,.85); line-height: 1.7; }

/* 논문 목록 표준 */
.autonote { padding: 14px 18px; border-left: 4px solid var(--emerald); background: var(--mist); font-size: .9375rem; }
.ptabs { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; border-bottom: 2px solid var(--graphite); }
.ptab { padding: 12px 18px; border: 0; background: transparent; font-weight: 700; border-bottom: 4px solid transparent; margin-bottom: -2px; }
.ptab .num { margin-left: 4px; font-size: .875rem; color: var(--muted); }
.ptab[aria-pressed="true"] { border-bottom-color: var(--emerald); color: var(--emerald-ink); }
.ptools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.tchips, .ntabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip, .ntab { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: .9375rem; font-weight: 600; }
.tchip i { width: 8px; height: 8px; transform: rotate(45deg); }
.tchip--alloy i { background: var(--t-alloy); }
.tchip--ionic i { background: var(--t-ionic); }
.tchip--defect i { background: var(--t-defect); }
.tchip[aria-pressed="true"], .ntab[aria-pressed="true"] { border-color: var(--graphite); background: var(--graphite); color: #fff; }
.psearch input { width: min(320px, 100%); min-height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; }
.psearch input:focus { border-color: var(--emerald); outline: none; }
.pcount { margin-top: 18px; font-size: .9375rem; font-weight: 700; color: var(--muted); }
.pyears { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; margin-top: 16px; }
.yidx { position: sticky; top: calc(var(--hd-h) + 24px); align-self: start; }
.yidx__t { font-size: .8125rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.yidx ol { display: grid; gap: 2px; }
.yidx a { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 10px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.yidx a small { font-size: .8125rem; color: var(--muted); font-weight: 500; }
.yidx a:hover { background: var(--mist); }
.yidx li.is-active a { background: var(--graphite); color: #fff; }
.yidx li.is-active a small { color: rgba(255,255,255,.7); }
.pyear { margin-bottom: 40px; scroll-margin-top: calc(var(--hd-h) + 40px); }
.pyear__h { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--graphite); }
.pyear__h .num { font-size: 2.25rem; font-weight: 800; line-height: 1; }
.pyear__h small { font-size: .9375rem; color: var(--muted); }
.pubs { margin: 0; }
.pub { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pub__no { font-family: var(--f-en); font-weight: 700; color: var(--muted); padding-top: 2px; }
.pub__title { font-size: 1.125rem; font-weight: 700; line-height: 1.45; }
.pub__title a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: #A9B2AD; }
.pub__title a:hover { text-decoration-color: var(--emerald); color: var(--emerald-ink); }
.pub__meta { margin-top: 8px; font-size: .9375rem; color: var(--graphite-2); line-height: 1.6; }
.pub__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; }
.pub__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pub__btns { display: flex; gap: 8px; }
.pbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--graphite); border-radius: 999px; background: #fff; font-family: var(--f-en); font-size: .8125rem; font-weight: 700; }
.pbtn:hover { background: var(--graphite); color: #fff; }
.empty { margin-top: 24px; padding: 24px; border-radius: var(--radius); background: var(--mist); text-align: center; }
.pub.is-out, .pyear.is-out, .yidx li.is-out { display: none; }

/* 과제 목록 표준 */
.bigtabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.bigtab { padding: 18px 8px; text-align: center; text-decoration: none; font-size: 1.375rem; font-weight: 700; color: var(--muted); border-bottom: 5px solid transparent; margin-bottom: -1px; }
.bigtab .num { font-size: 1rem; }
.bigtab[aria-current="page"] { color: var(--graphite); border-bottom-color: var(--emerald); font-weight: 800; }
.yrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.ychips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ychip { min-height: 42px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-family: var(--f-en); font-weight: 700; }
.ychip[aria-pressed="true"] { border-color: var(--emerald); background: var(--emerald); color: #fff; }
.ptotal { font-family: var(--f-en); font-weight: 500; }
.ptotal b { font-size: 1.25rem; color: var(--emerald-ink); }
.pgroup { margin-top: 36px; }
.pgroup__h { display: flex; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--graphite); }
.pgroup__h .num { font-size: 1.75rem; font-weight: 800; }
.pgroup__h small { color: var(--muted); font-size: .9375rem; }
.prj { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.prj__no { font-family: var(--f-en); font-size: .875rem; font-weight: 700; color: var(--muted); padding-top: 3px; }
.prj__t { font-size: 1.1875rem; font-weight: 800; line-height: 1.45; }
.prj__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 8px; font-size: .9375rem; }
.prj__meta div { display: flex; gap: 8px; }
.prj__meta dt { color: var(--muted); }

/* 공지 */
.ntools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.nlist { border-top: 2px solid var(--graphite); margin-top: 10px; }
.nitem { border-bottom: 1px solid var(--line); }
.nitem summary { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 4px; cursor: pointer; list-style: none; }
.nitem summary::-webkit-details-marker { display: none; }
.nitem summary:hover .nitem__t { color: var(--emerald-ink); }
.nitem__c { justify-self: start; padding: 2px 10px; border-radius: 6px; font-size: .8125rem; font-weight: 700; background: var(--mist); }
.nitem__c--1 { background: var(--emerald-soft); color: var(--emerald-ink); }
.nitem__c--2 { background: #E8EDFF; color: #1E44D6; }
.nitem__t { font-weight: 700; line-height: 1.5; }
.nitem__d { font-size: .875rem; color: var(--muted); }
.nitem__body { padding: 0 4px 22px 92px; color: var(--graphite-2); }
.nitem details[open] summary .nitem__t { color: var(--emerald-ink); }

/* 소식 카드 */
.ncards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.ncard--big { grid-column: span 2; grid-row: span 2; }
.ncard__fig img { width: 100%; border-radius: var(--radius); }
.ncard__body { padding-top: 16px; }
.ncard__meta { display: flex; gap: 12px; font-size: .875rem; color: var(--muted); }
.ncard__c { font-weight: 700; color: var(--emerald-ink); }
.ncard__t { margin: 6px 0 8px; font-size: 1.25rem; font-weight: 800; line-height: 1.4; }
.ncard--big .ncard__t { font-size: 1.75rem; }
.ncard p:not(.ncard__meta) { font-size: 1rem; color: var(--graphite-2); }

/* 알림 띠 */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; width: min(520px, calc(100% - 32px)); padding: 14px 18px; border-radius: 12px; background: var(--graphite); color: #fff; font-size: .9375rem; transform: translateX(-50%); box-shadow: 0 10px 30px rgba(0,0,0,.2); }

/* 등장: 보이는 상태가 기본, 스크립트가 있을 때만 숨겼다 보인다 */
.has-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.has-motion .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 넓은 화면 → 좁은 화면 ---------- */
@media (max-width: 1180px) {
  .hd__univ { display: none; }
  .plane { grid-template-columns: 88px 90px minmax(0, 1fr) 104px; gap: 20px; }
  .plane__art svg { width: 88px; height: 88px; }
  .plane__hkl { font-size: 1.75rem; }
  .pcs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .container { padding-inline: 28px; }
  .hd__in { padding-inline: 28px; }
  .hero__stage { inset: 0; }
  .hero__stage::after { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,.85) 38%, rgba(255,255,255,0) 66%); }
  .hero { min-height: 760px; }
  .intro__in, .papers__in, .cellx__grid, .cv3, .contact__in, .ft__in, .loc, .prof { grid-template-columns: 1fr; gap: 40px; }
  .papers__side { position: static; }
  .cv3__data { position: static; }
  .topics, .trio { grid-template-columns: 1fr; }
  .topic, .topic + .topic { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .trio li, .trio li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .prof { gap: 28px; }
  .prof__ph { max-width: 220px; }
  .ncards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gantt { --label: 46%; }
}
@media (max-width: 767px) {
  :root { --hd-h: 70px; }
  html { scroll-padding-top: 90px; }
  body { font-size: 16px; }
  .container, .hd__in { padding-inline: 20px; }
  .sample-banner__inner { padding-inline: 16px; }
  .hd__in { gap: 12px; }
  .logo { gap: 10px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__en { font-size: 23px; }
  .logo__ko { margin-top: 4px; font-size: 12px; }
  .hd__ask { display: none; }
  .hd__menu { margin-left: auto; height: 48px; padding: 0 14px 0 16px; gap: 10px; border-radius: 12px; }
  .drawer__top, .drawer__groups, .drawer__foot { padding-inline: 20px; }
  .dg { grid-template-columns: 1fr; gap: 6px; }
  .dg ul { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .hero { min-height: 0; display: block; }
  .hero__stage { position: relative; inset: auto; height: 300px; }
  .hero__stage::after { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 35%); }
  .hero__in { padding-top: 0; padding-bottom: 40px; margin-top: -24px; }
  .hero__title { font-size: 2rem; }
  .hero__lead { font-size: 1rem; }
  .hero__read { top: 12px; right: 16px; padding: 8px 12px; font-size: .75rem; }
  .hero__read p:nth-child(3) { display: none; }
  .hero__ctrl { top: 232px; bottom: auto; right: 16px; }
  .hero__hint { display: none; }
  .btn { min-height: 48px; padding: 0 20px; }
  .xrd__title span { display: block; margin: 2px 0 0; }
  .xrd__peaks { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .xrd__peak a { width: 100%; }
  .xrd__peak a::after { display: none; }
  .xrd__graph { margin-top: 16px; height: 56px; }
  .intro, .papers { padding: 72px 0; }
  .planes { padding-bottom: 72px; }
  .cellx, .projx { padding: 72px 0; }
  .contact { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  .plane { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "art hkl" "text text" "pubs pubs"; gap: 8px 16px; padding: 22px 0; }
  .plane__art { grid-area: art; }
  .plane__art svg { width: 64px; height: 64px; }
  .plane__hkl { grid-area: hkl; align-self: center; font-size: 1.5rem; }
  .plane__text { grid-area: text; }
  .plane__pubs { grid-area: pubs; justify-self: start; width: auto; height: auto; padding: 6px 14px; border-radius: 999px; display: inline-flex; gap: 4px; align-items: baseline; }
  .plane__pubs .num { display: inline; font-size: 1.125rem; }
  .cellbtn { font-size: .8125rem; padding: 8px 2px; }
  .cellbtn__en { font-size: .9375rem; }
  .ctab th, .ctab td { padding: 12px 10px; }
  .mpub { grid-template-columns: 1fr; gap: 6px; }
  .mpub .tag { justify-self: start; }
  .gantt__axis { grid-template-columns: 1fr; }
  .gantt__axis > span { display: none; }
  .gantt__row { grid-template-columns: 1fr; padding-bottom: 14px; }
  .gantt__label { padding-right: 0; padding-bottom: 8px; }
  .gantt__track { min-height: 22px; }
  .ft__info { grid-template-columns: 1fr; }
  .sh__in { grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; padding-top: 28px; padding-bottom: 28px; align-items: start; }
  .sh__art svg { width: 96px; height: 96px; }
  .sh__group { margin-top: 18px; }
  .sh__title { font-size: 2rem; }
  .sh__desc { font-size: 1rem; }
  .chip { min-height: 42px; padding: 0 14px; font-size: .9375rem; }
  .page { padding-top: 40px; padding-bottom: 80px; }
  .block { margin-top: 56px; }
  .pyears { grid-template-columns: 1fr; gap: 8px; }
  .yidx { position: sticky; top: calc(var(--hd-h) + 0px); z-index: 5; margin-inline: -20px; padding: 8px 20px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
  .yidx__t { display: none; }
  .yidx ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .yidx li { flex: none; }
  .yidx a { gap: 6px; padding: 6px 12px; border: 1px solid var(--line); }
  .ptab { padding: 10px 12px; font-size: .9375rem; }
  .psearch, .psearch input { width: 100%; }
  .pub { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
  .pub__title { font-size: 1.0625rem; }
  .pcs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcs .pc:nth-child(even) { margin-top: 24px; }
  .pc__in { min-height: 250px; }
  .pc__front, .pc__back { padding: 16px; }
  .pc__ini { width: 64px; height: 64px; font-size: 1.25rem; }
  .pc__name { font-size: 1.0625rem; }
  .pc__topic { font-size: .9375rem; }
  .prof__cols { grid-template-columns: 1fr; }
  .bigtab { font-size: 1.125rem; }
  .prj { grid-template-columns: 30px minmax(0, 1fr); }
  .prj > .tag { grid-column: 2; justify-self: start; }
  .nitem summary { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .nitem__t { grid-column: 1 / -1; grid-row: 2; }
  .nitem__body { padding-left: 4px; }
  .ncards { grid-template-columns: 1fr; }
  .ncard--big { grid-column: auto; grid-row: auto; }
  .ncard--big .ncard__t { font-size: 1.375rem; }
  .cta-cell { grid-template-columns: 1fr; }
  .cta-cell img { width: 160px; }
  .mlist { grid-template-columns: 1fr; }
  .loc__info div { grid-template-columns: 76px 1fr; }
  .cv3__name { font-size: 1.75rem; }
  .cv3__data { padding: 24px; }
  .cv3__nums dd { font-size: 1.75rem; }
  .tbl th, .tbl td { padding: 12px 10px; }
  .tbl--kv tbody th { width: 76px; }
}

/* 동작 줄이기: 멀미 나는 것(3D 회전·뒤집기·떠다니는 점)은 멈추고, 등장은 짧은 페이드만, 색 피드백은 둔다 */
@media (prefers-reduced-motion: reduce) {
  .sh__art svg g circle { animation: none; }
  .cellposter { animation: none; }
  .drawer__panel { transition-duration: .01ms; }
  .pc__in { transition: none; }
  .apf__bar { transition: none; }
  .has-motion .reveal { transform: none; transition: opacity .2s; }
  html { scroll-behavior: auto; }
}
