:root {
  --ink: #15202b;
  --muted: #5d6a75;
  --line: #d9dee5;
  --paper: #f7f8fa;
  --white: #ffffff;
  --blue: #1f4e79;
  --teal: #2f6f73;
  --rust: #8e4f3f;
  --console: #15202b;
  --shadow: 0 10px 26px rgba(28, 42, 58, 0.08);
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.site-nav a {
  border-radius: 4px;
  padding: 10px 12px;
  color: #2e3f50;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: #edf2f7;
  color: var(--blue);
}

.language-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}

.language-toggle button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.language-toggle button:last-child {
  border-right: 0;
}

.language-toggle button.is-active {
  background: var(--blue);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 138px);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(58px, 8vw, 104px) 6vw;
  background: #ffffff;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px 0 0;
  color: #3f4f5c;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.hero-visual {
  display: grid;
  min-height: 420px;
  place-items: center;
}

.lab-profile {
  width: min(100%, 500px);
  border-top: 4px solid var(--blue);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: clamp(28px, 4vw, 40px);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.lab-profile p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.lab-profile h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.lab-profile dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.lab-profile dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.lab-profile dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lab-profile dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.lab-profile ul {
  margin: 24px 0 0;
  padding-left: 18px;
  color: #3f4f5c;
  line-height: 1.7;
}

.section {
  padding: clamp(58px, 7vw, 96px) 6vw;
}

.section[data-view]:not(.intro-band) {
  min-height: calc(100vh - 129px);
}

.section[data-view]:not([hidden]) {
  animation: view-in 120ms ease-out;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 130px;
  border-right: 1px solid var(--line);
  padding: 28px 30px;
  background: #ffffff;
  color: var(--ink);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.08;
}

.metric span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.research-view,
.people-view {
  background: var(--paper);
}

.project-view,
.publication-view,
.news-view {
  background: var(--paper);
}

.research-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.research-card,
.person-card,
.project-list article,
.publication-list article,
.news-list article {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #ffffff;
  box-shadow: none;
}

.research-card {
  display: grid;
  grid-template-rows: 44px 108px minmax(150px, 1fr) auto;
  position: relative;
  min-height: 420px;
  padding: 28px;
  overflow: hidden;
}

.research-flow .research-card::after {
  display: none;
}

.card-index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--blue);
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 800;
}

.research-card h3 {
  align-self: center;
  margin: 0 0 30px;
  font-size: 1.42rem;
}

.research-card p,
.publication-list p,
.news-list p,
.person-card span,
.person-card em {
  color: var(--muted);
  line-height: 1.72;
}

.research-points {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.62;
  list-style: none;
}

.research-points li {
  position: relative;
  padding-left: 18px;
}

.research-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--blue);
  content: "";
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.tag-list span {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
}

.tag-list span + span::before {
  margin-right: 8px;
  color: var(--line);
  content: "/";
}

.split-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--paper);
}

.project-list,
.publication-list,
.news-list {
  display: grid;
  gap: 12px;
}

.project-stack {
  display: grid;
  gap: 28px;
}

.project-group {
  display: grid;
  gap: 12px;
}

.project-group > h3 {
  margin: 0;
  border-left: 4px solid var(--blue);
  padding: 2px 0 2px 12px;
  color: var(--ink);
  font-size: 1.18rem;
}

.project-group:nth-child(2) > h3 {
  border-left-color: var(--rust);
}

.project-list article {
  position: relative;
  display: grid;
  gap: 10px;
  border-left: 3px solid var(--blue);
}

.project-list article:nth-child(2) {
  border-left-color: var(--teal);
}

.project-list article:nth-child(3) {
  border-left-color: var(--rust);
}

.publication-group {
  display: grid;
  gap: 12px;
}

.publication-group[hidden] {
  display: none;
}

.publication-shell {
  display: grid;
  gap: 16px;
}

.publication-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.publication-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0 14px;
  background: #ffffff;
  color: #2e3f50;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.publication-tabs button:hover,
.publication-tabs button:focus-visible,
.publication-tabs button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.publication-group + .publication-group {
  margin-top: 18px;
}

.publication-group > h3 {
  margin: 0;
  border-left: 4px solid var(--teal);
  padding: 2px 0 2px 12px;
  color: var(--ink);
  font-size: 1.18rem;
}

.project-list article,
.publication-list article,
.news-list article {
  padding: 24px;
}

.project-list > article > span,
.publication-list article > span,
.news-list time {
  color: var(--rust);
  font-size: 0.86rem;
  font-weight: 800;
}

.project-list h3,
.publication-list h3 {
  margin: 8px 0 6px;
  font-size: 1.16rem;
}

.publication-list h4 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.45;
}

.publication-list article {
  position: relative;
}

.publication-list article::after {
  display: none;
}

.publication-list a {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.project-list p,
.publication-list p,
.news-list p {
  margin: 0;
}

.people-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.48fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.people-main,
.people-list {
  min-width: 0;
}

.people-list {
  display: grid;
  gap: 10px;
}

.people-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.people-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0 14px;
  background: #ffffff;
  color: #2e3f50;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.people-tabs button:hover,
.people-tabs button:focus-visible,
.people-tabs button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.person-card {
  display: grid;
  min-height: 132px;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 26px;
}

.person-card.lead {
  border-top: 4px solid var(--blue);
  background: #ffffff;
}

.avatar {
  display: grid;
  width: 112px;
  height: 136px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 2px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.avatar.photo {
  border: 1px solid var(--line);
  background: #ffffff;
  object-fit: cover;
  object-position: center top;
}

.person-card p {
  margin: 0;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.person-card h3 {
  margin: 6px 0 8px;
  font-size: 1.2rem;
}

.person-card em {
  display: block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-style: normal;
}

.profile-button {
  min-height: 38px;
  margin-top: 16px;
  border: 1px solid var(--blue);
  border-radius: 2px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--blue);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.profile-button:hover,
.profile-button:focus-visible {
  background: var(--blue);
  color: var(--white);
}

.profile-modal[hidden] {
  display: none;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 26, 38, 0.56);
}

.profile-dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.profile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.profile-close:hover,
.profile-close:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.profile-dialog-header {
  padding-right: 48px;
}

.profile-dialog-header h2 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
}

.profile-dialog-header p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.profile-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 28px 0;
  border: 1px solid var(--line);
}

.profile-summary div {
  padding: 18px;
}

.profile-summary div + div {
  border-left: 1px solid var(--line);
}

.profile-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-summary strong {
  color: var(--ink);
  font-size: 1rem;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
}

.profile-detail-grid h3 {
  margin: 0 0 14px;
  border-left: 4px solid var(--blue);
  padding-left: 12px;
  font-size: 1.14rem;
}

.profile-detail-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.profile-source-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--blue);
  font-weight: 800;
}

body.has-profile-modal {
  overflow: hidden;
}

.lab-map-panel {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
}

.lab-map-panel h3 {
  margin: 0;
  border-left: 4px solid var(--blue);
  padding-left: 12px;
  font-size: 1.18rem;
}

.map-card {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #ffffff;
  overflow: hidden;
}

.map-card > div {
  padding: 16px 18px;
}

.map-card span {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.map-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.map-card a {
  display: inline-block;
  margin-top: 6px;
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card {
  display: grid;
  gap: 0;
}

.contact-card > div + div {
  border-top: 1px solid var(--line);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 190px;
  border: 0;
  border-top: 1px solid var(--line);
}

.news-list {
  position: relative;
  gap: 0;
  padding-left: 22px;
}

.news-list::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 2px;
  background: var(--line);
  content: "";
}

.news-list article {
  position: relative;
  margin-bottom: 12px;
}

.news-list article::before {
  position: absolute;
  top: 28px;
  left: -30px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.site-footer {
  padding: 26px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .people-layout {
    grid-template-columns: 1fr;
  }

  .lab-map-panel {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
    order: -1;
  }

  .intro-band,
  .research-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .research-flow .research-card::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .brand strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .language-toggle {
    order: 2;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-visual {
    min-height: auto;
  }

  .lab-profile dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lab-profile ul {
    padding-left: 16px;
  }

  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .intro-band,
  .research-flow,
  .people-list {
    grid-template-columns: 1fr;
  }

  .research-flow .research-card::after {
    display: none;
  }

  .metric {
    min-height: 118px;
  }

  .person-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .avatar {
    width: 84px;
    height: 104px;
  }

  .profile-modal {
    padding: 16px;
  }

  .profile-summary,
  .profile-detail-grid {
    grid-template-columns: 1fr;
  }

  .profile-summary div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    flex-direction: column;
    padding-right: 18px;
    padding-left: 18px;
  }
}
