/* Layout: sticky top bar → intro (photo, name, role) → "Research Interests" → one plate per experiment
   (title on the left, a tinted key panel with the CO₂ pathway + legend on the right, then a map sized to its
   natural height so no blank band above or below).
   Color roles: --co/--exp/--sub/--prep = paper status (labels, rings, branches); .cat-* = phenomenon (icon badges);
   --up/--down/--rest = CO₂ pathway phases. All text colors pass WCAG AA (4.5:1) on white and on the beige land.
   Single light theme by design (white paper, pale blue sea, pastel beige land), so every color is set explicitly here. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --sea: #e8f1f8;         /* pale blue ocean (page stays white) */
  --land: #f1e6cf;
  --land-edge: #c9b183;
  --grat: #d3e1ec;        /* graticule on the sea */
  --rim: #b7cde0;         /* map outline */
  --grid: #eef2f5;        /* hover wash in UI */
  --ink: #15212c;
  --muted: #4a5a66;
  --line: #dde4e9;
  --rule: #8fa5b8;        /* section dividers (thick) */
  --accent: #1d5f96;      /* experiment numerals, active tab, links */
  --tint: #e3eef8;        /* accent wash */
  --wash: #f5f8fb;        /* key panel */
  --co: #1b4f8f;          /* co-authored (published) */
  --exp: #0a6b5c;         /* used the experiment, not co-authored */
  --sub: #a0307f;         /* submitted / under review */
  --prep: #a84e0f;        /* in preparation */
  --focus: #15212c;
  --up: #b8422c;          /* CO₂ ramp-up / positive emissions */
  --down: #2366b3;        /* ramp-down / negative emissions */
  --rest: #3f7a4e;        /* restoring / net zero */

  --display: "Source Serif 4", "Noto Serif KR", Georgia, serif;
  --body: "IBM Plex Sans", "IBM Plex Sans KR", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  --label: "IBM Plex Sans Condensed", "IBM Plex Sans KR", "Arial Narrow", sans-serif;

  --bar-h: 3.75rem;
  --maxw: 80rem;          /* 가운데 모은 내용 폭 (기본 글자 크기를 따라 커짐) */
}
*, *::before, *::after { box-sizing: border-box; }
/* 큰 모니터(QHD·4K)에서는 기본 글자를 화면 폭에 비례해 키워(최대 24px) 100% 배율에서도 확대한 듯한 비율이 되게 한다.
   노트북(1366–1536px)은 15–16px 그대로. 내용 폭(--maxw)과 지도도 이 크기를 따라 함께 커진다. */
html { scroll-behavior: smooth; font-size: clamp(15px, calc(.42vw + 9.5px), 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- top bar */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 20px;
  padding-left: max(16px, env(safe-area-inset-left, 0px), calc((100% - var(--maxw)) / 2 + 16px));
  padding-right: max(16px, env(safe-area-inset-right, 0px), calc((100% - var(--maxw)) / 2 + 16px));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; flex: 0 0 auto; white-space: nowrap; }
.brand b { font: 600 1.3rem/1.2 var(--display); }
.bar-exp { display: flex; gap: 4px; margin-left: auto; }
.bar-exp a, .bar-nav a, .lang {
  font: 500 .98rem/1 var(--body); text-decoration: none; color: var(--muted);
  padding: 10px 13px; border-radius: 7px; white-space: nowrap;
}
.bar-exp a:hover, .bar-nav a:hover, .lang:hover { color: var(--ink); background: var(--grid); }
.bar-exp a[aria-current="location"], .bar-nav a[aria-current="page"] { color: var(--accent); background: var(--tint); }
.bar-nav { display: flex; gap: 2px; padding-left: 14px; border-left: 1px solid var(--line); }
/* 메뉴가 화면보다 넓으면 이름 대신 메뉴 줄만 옆으로 밀린다 */
.bar-nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.bar-nav::-webkit-scrollbar { display: none; }
.nav-short { display: none; }
.lang { border: 1px solid var(--line); background: var(--paper); cursor: pointer; letter-spacing: .02em; }
.brand + .bar-nav { margin-left: auto; border-left: 0; padding-left: 0; }

/* ---------------------------------------------------------------- intro + section title */
.intro {
  display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap;
  max-width: var(--maxw); margin-inline: auto;
  padding-block: 14px 14px;
  border-bottom: 3px solid var(--rule);        /* 소개와 Research Interests 를 가르는 긴 가로선 */
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.intro-photo { width: 92px; height: 92px; max-width: 100%; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 3px var(--tint); }
.intro-text { min-width: 0; display: grid; gap: 2px; }
.intro-text p { margin: 0; }
.intro-name { font: 600 1.6rem/1.2 var(--display); }
.intro-ko { font: 500 1.05rem var(--body); color: var(--muted); margin-left: 6px; }
.intro-role { font-size: .98rem; }
.intro-role b { font-weight: 600; color: var(--accent); }
.intro-contact { display: flex; flex-wrap: wrap; gap: 2px 18px; font: 400 .9rem/1.5 var(--label); color: var(--muted); }
.intro-contact span { user-select: all; }
.intro-contact a { color: var(--accent); font-weight: 600; text-decoration: none; }
.intro-contact a:hover { text-decoration: underline; }
/* 논문 수 한 줄: 소개 아래 전체 폭, 세로선으로 구분 (휴대폰은 2×2 칸).
   위에도 아래 구분선과 같은 굵은 선을 긋고, 소개의 좌우 여백만큼 밖으로 늘려 두 선 길이를 맞춘다. */
.intro-stats {
  flex: 1 1 100%; display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none;
  font: 400 .95rem/1.2 var(--label); color: var(--muted);
  border-top: 3px solid var(--rule); padding-top: 12px;
  margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}
.intro-stats li { padding: 2px 18px; border-left: 1px solid var(--line); }
.intro-stats li:first-child { padding-left: 0; border-left: 0; }
.intro-stats a { display: inline-flex; align-items: baseline; gap: 7px; color: inherit; text-decoration: none; }
.intro-stats a:hover span { text-decoration: underline; }
.intro-stats b { font: 600 1.45rem/1 var(--display); color: var(--accent); }
.ri-title {
  margin: 0 auto; padding-block: 14px 0; max-width: var(--maxw);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  font: 600 clamp(1.8rem, 3vw, 2.35rem)/1.1 var(--display); letter-spacing: -.01em;
}
.ri-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 8px; }

/* ---------------------------------------------------------------- experiment plate */
.plate {
  display: flex; flex-direction: column;
  max-width: var(--maxw); margin-inline: auto;
  padding-block: 8px 6px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  scroll-margin-top: var(--bar-h);
  position: relative;
}
.plate + .plate { border-top: 3px solid var(--rule); margin-top: 14px; padding-top: 16px; }
.plate-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 28px; }
.plate-title { flex: 1 1 26rem; min-width: 0; }
.exp-no { margin: 0 0 3px; font: 400 .95rem/1.5 var(--body); color: var(--muted); }
.exp-no > span:first-child {
  display: inline-block; padding: 1px 10px; border-radius: 999px;
  background: var(--accent); color: #fff; font: 600 .8rem/1.6 var(--body); letter-spacing: .06em; text-transform: uppercase;
}
.plate h2 { margin: 0; font: 600 clamp(1.4rem, 2.3vw, 1.9rem)/1.15 var(--display); letter-spacing: -.005em; text-wrap: balance; }
.plate-sub { margin: 4px 0 0; max-width: 64ch; color: var(--muted); font-size: .95rem; text-wrap: pretty; }

/* key panel: CO₂ pathway + legend + how-to */
.key {
  margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; min-width: 0;
  background: var(--wash); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px;
}
.key-side { display: grid; gap: 6px; min-width: 0; }
.pathway { flex: 0 0 auto; width: 14.5rem; height: 6rem; max-width: 100%; }
.pathway .ax { stroke: #a9b6c0; stroke-width: 1; }
.pathway .area-up { fill: var(--up); opacity: .12; }
.pathway .area-down { fill: var(--down); opacity: .12; }
.pathway .seg { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pathway .seg-up { stroke: var(--up); }
.pathway .seg-down { stroke: var(--down); }
.pathway .seg-rest, .pathway .seg-nz { stroke: var(--rest); }
.pathway .zero { stroke: var(--muted); stroke-width: .8; stroke-dasharray: 3 3; }
.pathway text { font: 500 11px var(--label); fill: var(--muted); }
.pathway .axl { font-weight: 600; fill: var(--ink); }
.pathway .ph { font-weight: 600; }
.pathway .ph-up { fill: var(--up); } .pathway .ph-down { fill: var(--down); }
.pathway .ph-rest, .pathway .ph-nz { fill: var(--rest); }

.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font: 400 .84rem/1.3 var(--label); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; }
.lg-co i { background: var(--co); }
.lg-exp i { border: 2px solid var(--exp); background: var(--paper); }
.lg-sub i { background: var(--sub); }
.lg-prep i { background: var(--prep); }
.lg-co { color: var(--co); } .lg-exp { color: var(--exp); } .lg-sub { color: var(--sub); } .lg-prep { color: var(--prep); }

.map { flex: 0 0 auto; position: relative; margin-top: 8px; }
.map > svg { display: block; margin: 0 auto; overflow: visible; }
.map-hint { margin: 0; max-width: 34ch; font: 400 .8rem/1.4 var(--label); color: var(--muted); }
.hint-narrow { display: none; }
.is-compact .hint-wide { display: none; } .is-compact .hint-narrow { display: inline; }
.map-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; }

/* ---------------------------------------------------------------- cite & acknowledge (지도 아래, 접힌 상태가 기본) */
.cite { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--wash); }
.cite > summary { cursor: pointer; padding: 10px 14px; font: 600 .95rem/1.4 var(--body); color: var(--accent); }
.cite > summary:hover { background: var(--grid); border-radius: 10px; }
.cite[open] > summary { border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; }
.cite-body { display: grid; gap: 8px; }
.cite-body { padding: 4px 14px 14px; }
.cite-h { margin: 6px 0 0; font: 600 .84rem/1.3 var(--label); color: var(--muted); }
.cite-ref { margin: 0; max-width: 100ch; font-size: .9rem; }
.cite-ref a { color: var(--accent); overflow-wrap: anywhere; }
.ack { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.ack-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 .84rem/1.3 var(--label); }
.ack p { margin: 4px 0 0; max-width: 100ch; font-size: .88rem; line-height: 1.55; }
.ack-copy { min-height: 32px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); font: 600 .82rem var(--body); color: var(--accent); cursor: pointer; }
.ack-copy:hover { background: var(--tint); }
.cite-note { margin: 2px 0 0; font-size: .84rem; color: var(--muted); }

/* ---------------------------------------------------------------- map marks */
.m-sphere { fill: var(--sea); }
.m-rim { fill: none; stroke: var(--rim); stroke-width: 1.2; }
.m-grat { fill: none; stroke: var(--grat); stroke-width: .7; }
.m-land { fill: var(--land); stroke: var(--land-edge); stroke-width: .6; }
.lbl { font-family: var(--label); paint-order: stroke; stroke: var(--paper); stroke-width: 3.4px; stroke-linejoin: round; }
.lbl-topic { font-size: 13px; font-weight: 600; }
.lbl-hub { font-size: 14px; font-weight: 600; fill: var(--ink); }
.lbl-cite { font-size: 11.5px; font-weight: 400; }
.lbl-count { font-size: 11.5px; font-weight: 400; fill: var(--muted); }
.k-co { fill: var(--co); color: var(--co); }
.k-exp { fill: var(--exp); color: var(--exp); }
.k-sub { fill: var(--sub); color: var(--sub); }
.k-prep { fill: var(--prep); color: var(--prep); }

/* 현상별 아이콘 배지: 진한 단색(--cs) + 흰 아이콘 + 흰 테두리 */
.badge { filter: drop-shadow(0 1px 1.2px rgba(21, 33, 44, .3)); }
.badge-bg { fill: var(--cs); stroke: #fff; stroke-width: 2; }
.badge .ico { fill: none; stroke: #fff; color: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.badge .ico .solid { fill: currentColor; stroke: none; }
.cat-drop  { --cs: #2b6cb0; }
.cat-cloud { --cs: #4a55b8; }
.cat-arrow { --cs: #7a4fc4; }
.cat-ice   { --cs: #1b7f99; }
.cat-heat  { --cs: #c8581a; }
.cat-wave  { --cs: #127a74; }
.cat-leaf  { --cs: #3a7d3c; }
.cat-fire  { --cs: #a52a3c; }
.cat-wind  { --cs: #4b5f80; }
.cat-globe { --cs: #56636e; }
.hub:hover .badge, .hub.is-open .badge, .pt a:hover .badge { filter: drop-shadow(0 2px 3px rgba(21, 33, 44, .45)); }

/* 상태 고리: 허브는 공저/비공저/투고/준비 비율 호, 단일 논문은 한 색 고리 */
.stat-arc { fill: none; stroke: currentColor; stroke-width: 3.2; }
.stat-ring { fill: none; stroke: currentColor; stroke-width: 2.6; }
.hub { cursor: pointer; }
.hub:focus { outline: none; }
.focus-ring { fill: none; stroke: transparent; stroke-width: 2.5; }
.hub:focus-visible .focus-ring { stroke: var(--focus); }
.pt a:focus-visible { outline: none; }
.pt a:focus-visible .focus-ring { stroke: var(--focus); }
.branch { fill: none; stroke: currentColor; stroke-width: 1.1; opacity: .6; }
.leaves { visibility: hidden; }
.leaves.is-open { visibility: visible; }
.leaves.is-pinned .hover-pad { pointer-events: none; }
.leaf-bg { fill: rgba(255, 255, 255, .92); }
.leaf a, .pt a { text-decoration: none; }
.leaf a:hover .lbl-cite, .pt a:hover .lbl-cite { text-decoration: underline; }
.leaf a:focus-visible { outline: none; }
.leaf a:focus-visible .leaf-bg, .leaf a:focus-visible + .leaf-bg { stroke: var(--focus); }
.leaf a:focus-visible .lbl-cite { text-decoration: underline; }
/* 가지 끝 논문(누르면 논문 창) */
.leaf-hit { cursor: pointer; }
.leaf-hit:hover .lbl-cite, .leaf-hit:focus-visible .lbl-cite { text-decoration: underline; }
.leaf-hit:focus-visible { outline: none; }
.leaf:has(.leaf-hit:focus-visible) .leaf-bg { stroke: var(--focus); stroke-width: 1.5; }
.leaf-dot-exp { fill: var(--paper); stroke: var(--exp); stroke-width: 1.8; }
.has-open .hub:not(.is-open), .has-open .pt { opacity: .5; transition: opacity .2s; }
.hub, .pt { transition: opacity .2s; }
@media (prefers-reduced-motion: reduce) { .hub, .pt, .has-open .hub:not(.is-open), .has-open .pt { transition: none; } }

/* ---------------------------------------------------------------- phone: list sheet instead of branches */
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  max-height: 62svh; overflow: auto;
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(21, 33, 44, .12);
  padding-block: 14px calc(16px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.sheet-head h3 { margin: 0; font: 600 1.1rem/1.3 var(--display); }
.sheet-close { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 8px 12px; font: 600 .88rem var(--body); color: var(--ink); cursor: pointer; }
.sheet-close .x-ico { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.sheet ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sheet li { display: grid; gap: 1px; padding-left: 14px; position: relative; }
.sheet li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sheet li.k-exp::before { background: var(--paper); border: 2px solid var(--exp); width: 8px; height: 8px; top: .45em; }
.sheet .s-topic { font: 600 .92rem/1.3 var(--label); }
.sheet .s-cite { font: 400 .84rem/1.35 var(--label); }
.sheet button.s-cite { justify-self: start; padding: 0; border: 0; background: none; text-align: left; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ---------------------------------------------------------------- paper window: figure + key points + reference
   넓은 화면은 가운데 창, 휴대폰은 아래에서 올라오는 창. 창 안에서만 스크롤하고 머리(제목·닫기)는 위에 붙는다. */
html:has(dialog.pp[open]) { overflow: hidden; }
.pp {
  width: min(48rem, calc(100vw - 32px)); max-width: none; max-height: min(90vh, 64rem);
  padding: 0; overflow: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 18px 48px rgba(21, 33, 44, .26);
}
.pp::backdrop { background: rgba(21, 33, 44, .5); }
.pp:focus { outline: none; }
.pp [hidden] { display: none; }                 /* .pp-fig 의 display:grid 가 hidden 을 이기지 않게 */
.pp-head {
  position: sticky; top: 0; z-index: 1; background: var(--paper);
  display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 6px 14px;
  padding: 16px 22px 12px; border-bottom: 1px solid var(--line);
}
.pp-kicker { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 600 .8rem/1.2 var(--label); }
.pp-tag { padding: 3px 9px; border-radius: 999px; color: #fff; background: var(--co); }
.pp-tag.k-exp { background: var(--exp); }
.pp-topic { color: var(--muted); }
.pp-head h3 { grid-column: 1 / -1; margin: 0; font: 600 1.18rem/1.32 var(--display); text-wrap: balance; }
.pp-close { grid-row: 1; grid-column: 2; min-height: 36px; padding: 6px 10px; }
.pp-body { padding: 16px 22px 22px; display: grid; gap: 18px; }
.pp-fig { margin: 0; display: grid; gap: 8px; }
.pp-img { display: block; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: zoom-in; }
.pp-img img { display: block; width: 100%; height: auto; max-height: 46vh; object-fit: contain; }
.pp-fig figcaption { font: 400 .86rem/1.5 var(--body); color: var(--muted); }
.pp-figlabel { color: var(--ink); font-weight: 600; }
.pp-lic { display: block; margin-top: 2px; font: 400 .78rem/1.4 var(--label); color: var(--muted); }
.pp-nofig { margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--wash); border: 1px dashed var(--line); font-size: .88rem; color: var(--muted); }
.pp-nofig a, .pp-ref a { color: var(--accent); font-weight: 500; }
.pp h4 { margin: 0 0 8px; font: 600 .78rem/1.2 var(--label); letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.pp-kp { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; font-size: .97rem; line-height: 1.55; }
.pp-kp li { padding-left: 2px; }
.pp-kp li::marker { color: var(--accent); font-weight: 700; }
.pp-ref { margin: 0; padding-top: 2px; font-size: .86rem; line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .pp { width: 100vw; max-height: 92svh; margin: auto 0 0; border-radius: 14px 14px 0 0; border-bottom: 0; }
  .pp-head { padding: 14px 16px 10px; }
  .pp-head h3 { font-size: 1.05rem; }
  .pp-body { padding: 14px 16px calc(20px + env(safe-area-inset-bottom, 0px)); gap: 16px; }
  .pp-img img { max-height: 38svh; }
  .pp-kp { font-size: .93rem; }
}

/* ---------------------------------------------------------------- text pages (about, publications) */
.page {
  max-width: 62rem; margin: 0 auto;
  padding-block: 40px 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid; gap: 48px;
}
.page h1 { margin: 0; font: 600 clamp(1.9rem, 4vw, 2.6rem)/1.12 var(--display); text-wrap: balance; }
.page h1 small { font: 400 1rem var(--body); color: var(--muted); margin-left: 6px; }
.page h2 { border-left: 3px solid var(--accent); padding-left: 10px; margin: 0 0 14px; font: 600 1.3rem/1.25 var(--display); text-wrap: balance; }
.profile { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: center; }
.profile-photo { width: 200px; height: 200px; max-width: 100%; border-radius: 50%; object-fit: cover; }
.profile-text { min-width: 0; display: grid; gap: 8px; }
.profile-text .kicker { margin: 0; color: var(--accent); font-weight: 600; }
.lede { margin: 0; max-width: 64ch; font-size: 1.05rem; line-height: 1.7; }
.contact { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font: 400 .92rem var(--label); color: var(--muted); user-select: all; }
.contact span { user-select: all; }
.interests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.interest { margin: 0; display: grid; gap: 10px; align-content: start; }
/* About 연구 분야 도식 (인라인 SVG, 300×200) */
.ri-fig { width: 100%; height: auto; aspect-ratio: 3 / 2; display: block; background: var(--wash); border: 1px solid var(--line); border-radius: 8px; }
.ri-fig text { font: 500 11px var(--label); fill: var(--muted); }
.ri-fig .f-axl { font-weight: 600; fill: var(--ink); }
.ri-fig .f-ax { stroke: #a9b6c0; stroke-width: 1; }
.ri-fig .f-up, .ri-fig .f-down, .ri-fig .f-rest { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ri-fig .f-up { stroke: var(--up); } .ri-fig .f-down { stroke: var(--down); } .ri-fig .f-rest { stroke: var(--rest); }
.ri-fig .a-up { fill: var(--up); opacity: .12; } .ri-fig .a-down { fill: var(--down); opacity: .12; }
.ri-fig .f-zero { stroke: var(--muted); stroke-width: .8; stroke-dasharray: 3 3; }
.ri-fig .f-dot { fill: var(--up); }
.ri-fig .f-gap { stroke: var(--ink); stroke-width: 1.2; }
.ri-fig .m-up { fill: var(--up); } .ri-fig .m-down { fill: var(--down); } .ri-fig .m-ink { fill: var(--ink); } .ri-fig .m-flux { fill: #48628a; }
.ri-fig .t-up, .ri-fig .t-down, .ri-fig .t-rest, .ri-fig .t-ink { font-weight: 600; }
.ri-fig .t-up { fill: var(--up); } .ri-fig .t-down { fill: var(--down); } .ri-fig .t-rest { fill: var(--rest); } .ri-fig .t-ink { fill: var(--ink); }
.ri-fig .f-atm { fill: #dcebfa; }
.ri-fig .t-atm { font: 600 12px var(--label); fill: var(--accent); }
.ri-fig .t-model { font: 600 11px var(--label); fill: var(--muted); letter-spacing: .04em; }
.ri-fig .f-cols .c1 { fill: #a9cdeb; } .ri-fig .f-cols .c2 { fill: #5b97cf; } .ri-fig .f-cols .c3 { fill: #26588f; }
.ri-fig .f-flux line { stroke: #48628a; stroke-width: 1.4; }
.ri-fig .f-mix path { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ri-fig .f-ico { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ri-fig .f-ico .solid { fill: #fff; stroke: none; }
.ri-fig .b-heat, .ri-fig .b-rain, .ri-fig .b-dry { stroke: #fff; stroke-width: 2; }
.ri-fig .b-heat { fill: #c8581a; } .ri-fig .b-rain { fill: #2b6cb0; } .ri-fig .b-dry { fill: #9a6510; }
.interest figcaption { display: grid; gap: 4px; }
.interest b { font-weight: 600; }
.interest span { color: var(--muted); font-size: .92rem; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows time { font: 400 .9rem/1.6 var(--label); color: var(--muted); font-variant-numeric: tabular-nums; }
.rows li > div { display: grid; gap: 2px; min-width: 0; }
.rows b { font-weight: 600; }
.rows span { color: var(--muted); font-size: .93rem; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.plain { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: .95rem; }
.plain a { color: var(--accent); }
.pub-head { display: grid; gap: 8px; }
.pub-year { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; border-top: 2px solid var(--rule); padding-top: 14px; }
.page > .block { border-top: 3px solid var(--rule); padding-top: 20px; }
.pub-year h2 { border-left: 0; padding-left: 0; color: var(--accent); margin: 0; font: 600 1.25rem/1.3 var(--display); font-variant-numeric: tabular-nums; }
.pubs { margin: 0; padding-left: 2.4em; display: grid; gap: 16px; }
.pubs li::marker { font: 400 .85rem var(--label); color: var(--muted); font-variant-numeric: tabular-nums; }
.pubs-prep { padding-left: 1.1em; }
.pubs p { margin: 0; }
.pub-au { font-size: .9rem; color: var(--muted); }
.pub-au b { color: var(--accent); font-weight: 600; }
.pub-ti { font-weight: 600; line-height: 1.45; }
.pub-ti a { text-decoration: none; }
.pub-ti a:hover { text-decoration: underline; color: var(--accent); }
.pub-jo { font-size: .9rem; color: var(--muted); }
.pub-note { color: var(--ink); }
.chip { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px; font: 500 .72rem/1.6 var(--label); text-decoration: none; vertical-align: 1px; border: 1px solid var(--line); color: var(--ink); background: var(--grid); }
.chip:hover { border-color: var(--ink); }
.chip-cesm1 { color: var(--accent); background: var(--tint); border-color: #c5d8ea; }
.chip-cesm2 { color: var(--rest); background: #e6f1e7; border-color: #c6dfc9; }
/* 목록 페이지 사이를 오가는 탭 (전체·CDR·Net-Zero·자매지 / 실험 I·II), 숫자는 편수 */
.list-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.list-tabs a { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font: 500 .86rem/1.3 var(--label); color: var(--muted); text-decoration: none; background: var(--paper); }
.list-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.list-tabs a[aria-current="page"] { background: var(--tint); border-color: #c5d8ea; color: var(--accent); font-weight: 600; }
.list-tabs b { font: 600 .95rem var(--display); color: var(--accent); }
/* 자매지 페이지 위 저널 이름 */
.journal-list { list-style: none; margin: 4px 0 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.journal-list li { padding: 8px 14px; border-radius: 8px; background: var(--wash); border: 1px solid var(--line); font-size: 1rem; }
.journal-list b { margin-left: 6px; font: 600 1.05rem var(--display); color: var(--accent); }
/* 지도 논문 목록: 범례 묶음(공저/비공저/투고/준비) */
.pub-group { display: grid; gap: 12px; border-top: 2px solid var(--rule); padding-top: 14px; }
.pub-group h2 { display: flex; align-items: center; gap: 8px; border-left: 0; padding-left: 0; margin: 0; font: 600 1.2rem/1.3 var(--display); }
.pub-group h2 small { font: 500 .95rem var(--label); color: var(--muted); }
.pub-group .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--co); flex: 0 0 auto; }
.pub-group.g-exp .dot { background: var(--paper); border: 2.5px solid var(--exp); }
.pub-group.g-sub .dot { background: var(--sub); }
.pub-group.g-prep .dot { background: var(--prep); }
.pub-topic { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 4px; background: var(--grid); font: 500 .74rem/1.7 var(--label); color: var(--ink); }
.list-note { margin: 0; font-size: .92rem; color: var(--muted); }
.list-note a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.list-note a:hover { text-decoration: underline; }
/* 첫 화면 실험 설명 뒤 '(paper list)' */
.list-link { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.list-link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .pub-year { grid-template-columns: 1fr; gap: 6px; }
  .profile { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
  .profile-photo { width: 140px; height: 140px; }
  .interests, .two { grid-template-columns: 1fr; }
  .rows li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------------------------------------------------------------- footer */
.foot {
  padding-block: 18px 26px;
  max-width: var(--maxw); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  border-top: 3px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between;
  font-size: .8rem; color: var(--muted);
}
.foot a { color: var(--ink); }

@media (max-width: 720px) {
  .intro-photo { width: 72px; height: 72px; }
  .intro-name { font-size: 1.35rem; }
  .intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .intro-stats li, .intro-stats li:first-child { padding: 7px 10px; border: 0; border-radius: 6px; background: var(--wash); }
  .intro-stats a { flex-direction: column-reverse; align-items: flex-start; gap: 3px; font-size: .84rem; }
}
/* 휴대폰 지도: 세계 전체를 폭에 맞추고 아이콘만, 허브에는 편수 숫자 방울 */
.is-narrow .stat-arc { stroke-width: 2.2; }
.is-narrow .stat-ring { stroke-width: 2; }
.is-narrow .badge-bg { stroke-width: 1.5; }
.n-bubble { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.n-text { font: 700 8.5px var(--label); fill: var(--ink); }
.is-narrow .pt { cursor: pointer; }
.is-narrow .pt:focus { outline: none; }
.is-narrow .pt:focus-visible .focus-ring { stroke: var(--focus); }
@media (max-width: 900px) {
  .bar-exp { display: none; }
  .bar-nav { margin-left: auto; border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .bar { gap: 8px; }
  .brand b { font-size: 1.1rem; }
  .bar-nav a, .lang { padding: 8px 6px; font-size: .84rem; }
  .nav-long { display: none; } .nav-short { display: inline; }
  .plate-head { gap: 8px; }
  .key { margin-left: 0; width: 100%; padding: 8px 10px; gap: 8px 16px; }
  .pathway { width: 100%; max-width: 260px; height: auto; }
  .legend { grid-template-columns: 1fr 1fr; column-gap: 12px; font-size: .8rem; }
  .map-hint { max-width: none; }
}
@media (max-width: 380px) {
  .bar { gap: 4px; }
  .brand b { font-size: .98rem; }
  .bar-nav { gap: 0; }
  .bar-nav a, .lang { padding: 7px 4px; font-size: .78rem; }
}
