:root {
  --blue: #173b72;
  --blue2: #274f8f;
  --ink: #101010;
  --muted: #666b73;
  --line: #e7e7e7;
  --paper: #ffffff;
  --soft: #f6f6f5;
  --dark: #091522;
  --radius: 12px;
  --page: calc(100% - 56px);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", "Noto Sans KR", sans-serif;
  line-height: 1.55;
  letter-spacing: -.015em;
}

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

img {
  display: block;
  max-width: 100%
}

button {
  font: inherit
}

.shell {
  width: min(1430px, var(--page));
  margin: 0 auto
}

/* Header closely follows reference layout */
.header {
  height: 78px;
  background: #fff;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.header-inner {
  width: min(1430px, var(--page));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.identity {
  display: flex;
  align-items: center;
  gap: 25px;
  min-width: 430px;
}

.uni-lockup,
.lab-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.uni-seal {
  width: 38px;
  height: 38px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.uni-copy strong {
  display: block;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: .015em;
}

.uni-copy small {
  display: block;
  font-size: 9px;
  color: #4d5870;
  letter-spacing: .03em
}

.prism-mini {
  width: 33px;
  height: 29px;
  position: relative;
}

.prism-mini:before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-bottom: 28px solid #39465d;
  transform: rotate(90deg);
}

.prism-mini:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 3px;
  right: -14px;
  top: 13px;
  background: linear-gradient(90deg, #6a49d8, #3172df, #0aa8c7, #e8a33b);
}

.lab-lockup strong {
  font-size: 17px;
  letter-spacing: .045em
}

.nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 20px;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding: 28px 0
}

.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 19px;
  height: 1px;
  background: #111;
  transition: .2s ease;
}

.nav a:hover:after {
  right: 0
}

.menu-icon {
  margin-left: 10px;
  width: 35px;
  height: 35px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer
}

.menu-icon span,
.menu-icon:before,
.menu-icon:after {
  content: "";
  display: block;
  width: 14px;
  height: 1px;
  background: #111;
  margin: 2px
}

/* Hero */
.hero {
  padding: 0 0 52px
}

.hero-panel {
  width: min(1430px, var(--page));
  height: 610px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #dce5ef;
}

.hero-panel>img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 18, 35, .75) 0%, rgba(5, 18, 35, .46) 35%, rgba(5, 18, 35, .08) 70%, rgba(5, 18, 35, 0) 100%);
}

.hero-copy {
  position: absolute;
  left: 72px;
  bottom: 58px;
  width: 650px;
  color: #fff;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: 64px;
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.045em;
}

.hero-copy .full {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  max-width: 610px;
}

.hero-copy .tag {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .84);
}

.hero-arrow {
  position: absolute;
  right: 46px;
  bottom: 48px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #154c9c;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 23px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

/* Shared sections */
.section {
  padding: 0 0 74px
}

.section-row {
  width: min(1180px, calc(100% - 120px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: 35px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
}

.section-head p {
  margin: 0;
  color: #434343;
  font-size: 13px;
  line-height: 1.7;
  max-width: 710px
}

.more {
  border: 1px solid #c9c9c9;
  border-radius: 999px;
  padding: 8px 15px;
  min-width: 106px;
  text-align: center;
  font-size: 15px;
  background: #fff;
}

.more span {
  font-size: 14px;
  margin-left: 10px
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* About 페이지 히어로 배경 이미지 */
body[data-page="about"] .page-banner {
  min-height: 300px !important;

  background-image:
    linear-gradient(90deg,
      rgba(241, 244, 248, 1) 0%,
      rgba(241, 244, 248, .96) 30%,
      rgba(241, 244, 248, .65) 50%,
      rgba(241, 244, 248, .12) 100%),
    url("assets/about-hero-illustration.png") !important;

  /*  background-repeat: no-repeat !important;
  background-position: center right !important;
  background-size: contain !important;
*/
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

}


.about-card {
  border-radius: var(--radius);
  overflow: hidden;
  height: 285px;
  position: relative;
  background: #edf2f7;
}

.about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.about-label {
  position: absolute;
  left: 22px;
  bottom: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: rgba(9, 21, 34, .52);
  padding: 7px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px)
}

/* Project panel */
/* project 페이지 히어로 배경 이미지 */
body[data-page="research"] .page-banner {
  min-height: 300px !important;

  background-image:
    linear-gradient(90deg,
      rgba(241, 244, 248, 1) 0%,
      rgba(241, 244, 248, .96) 30%,
      rgba(241, 244, 248, .65) 50%,
      rgba(241, 244, 248, .12) 100%),
    url("assets/project-hero-illustration.png") !important;

  /*  background-repeat: no-repeat !important;
  background-position: center right !important;
  background-size: contain !important;
*/
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;

}


.project-section {
  padding-bottom: 86px
}

.project-panel {
  width: min(1430px, var(--page));
  min-height: 565px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  padding: 52px 135px 54px;
  background:
    radial-gradient(circle at 8% 18%, rgba(57, 94, 146, .55), transparent 25%),
    radial-gradient(circle at 86% 28%, rgba(25, 105, 148, .26), transparent 22%),
    repeating-radial-gradient(ellipse at 20% 50%, transparent 0 18px, rgba(90, 114, 147, .08) 20px 23px),
    linear-gradient(125deg, #07111d, #12283c 55%, #0a1724);
  color: #fff;
}

.project-panel:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(231, 110, 56, .12) 48%, transparent 56%);
  pointer-events: none;
}

.project-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
}

.project-head h2 {
  font-size: 34px;
  margin: 0;
  font-weight: 800
}

.project-head .more {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .38)
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.project-card {
  min-height: 315px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .17);
  overflow: hidden;
  backdrop-filter: blur(9px);
}

.project-thumb {
  height: 142px;
  background: #fff;
  margin: 13px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}

.project-thumb img {
  width: 74%;
  height: 90px;
  object-fit: contain
}

.project-body {
  padding: 7px 17px 19px
}

.project-body .num {
  font-size: 10px;
  color: rgba(255, 255, 255, .55)
}

.project-body h3 {
  font-size: 17px;
  margin: 6px 0 8px
}

.project-body p {
  font-size: 11px;
  color: rgba(255, 255, 255, .72);
  margin: 0
}

/* Content pages */
.page-top {
  padding: 26px 0 70px
}

.page-banner {
  width: min(1430px, var(--page));
  margin: 0 auto;
  min-height: 235px;
  border-radius: var(--radius);
  background: #f1f4f7;
  padding: 55px 70px;
}

.page-banner .eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue)
}

.page-banner h1 {
  font-size: 48px;
  line-height: 1.04;
  margin: 12px 0 15px;
  letter-spacing: -.04em
}

.page-banner p {
  max-width: 800px;
  color: var(--muted);
  font-size: 14px
}

.content-wrap {
  width: min(1180px, calc(100% - 120px));
  margin: 0 auto;
  padding-bottom: 80px
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 32px
}

.value {
  border-top: 2px solid #111;
  padding-top: 14px
}

.value strong {
  font-size: 28px
}

.value p {
  font-size: 12px;
  color: var(--muted)
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.research-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px
}

.research-item .num {
  font-size: 11px;
  color: #7b8490
}

.research-item h3 {
  font-size: 22px;
  margin: 9px 0
}

.research-item p {
  font-size: 13px;
  color: var(--muted)
}

.people-main {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 35px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px
}

body[data-page="people"] .page-banner {
  min-height: 300px;

  background-image:
    linear-gradient(90deg,
      rgba(8, 20, 38, .82) 0%,
      rgba(8, 20, 38, .55) 40%,
      rgba(8, 20, 38, .15) 75%,
      rgba(8, 20, 38, .05) 100%),
    url("assets/professor-hero-illustration.png");

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  color: #fff;
}

.people-main img {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
}

.member-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px
}

.member {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px
}

.member img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px
}

.pub {
  padding: 24px 0;
  border-bottom: 1px solid var(--line)
}

.pub .year {
  font-size: 11px;
  color: var(--blue)
}

.pub h3 {
  font-size: 18px;
  margin: 8px 0
}

.pub p {
  font-size: 13px;
  color: var(--muted);
  margin: 0
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px
}

.box li {
  margin: 8px 0;
  color: #50555c;
  font-size: 13px
}

.notice {
  margin-top: 18px;
  background: #eef4fb;
  border-radius: 12px;
  padding: 20px 24px;
  color: #173b72
}

.footer {
  border-top: 1px solid #eee;
  padding: 32px 0 48px;
  color: #777;
  font-size: 11px
}

/* responsive */
@media(max-width:1020px) {
  .header-inner {
    grid-template-columns: 1fr auto
  }

  .identity {
    min-width: 0
  }

  .nav {
    display: none
  }

  .hero-copy {
    left: 38px;
    bottom: 42px;
    width: 70%
  }

  .hero-copy h1 {
    font-size: 52px
  }

  .section-row,
  .content-wrap {
    width: calc(100% - 56px)
  }

  .project-panel {
    padding: 45px 42px
  }
}

@media(max-width:760px) {
  :root {
    --page: calc(100% - 24px)
  }

  .header {
    height: 66px
  }

  .identity {
    gap: 12px
  }

  .uni-copy {
    display: none
  }

  .hero-panel {
    height: 550px
  }

  .hero-copy {
    left: 25px;
    right: 25px;
    width: auto
  }

  .hero-copy h1 {
    font-size: 46px
  }

  .hero-arrow {
    right: 22px;
    bottom: 22px
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .about-images,
  .project-grid,
  .research-grid,
  .member-grid,
  .join-grid,
  .value-grid {
    grid-template-columns: 1fr
  }

  .about-card {
    height: 240px
  }

  .project-panel {
    padding: 38px 20px
  }

  .project-card {
    min-height: 0
  }

  .people-main {
    grid-template-columns: 1fr
  }

  .page-banner {
    padding: 38px 26px
  }
}


/* v5 updates with provided assets */
.uni-lockup {
  gap: 12px
}

.uni-seal-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
}

.uni-wordmark-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.lab-lockup {
  margin-left: 2px
}

.prism-lockup-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 4px;
}

.identity {
  min-width: 0;
  gap: 20px
}

.hero-panel {
  height: 720px;
  background: #0c1220;
}

.hero-panel>img {
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(7, 12, 25, .70) 0%, rgba(7, 12, 25, .38) 35%, rgba(7, 12, 25, .08) 65%, rgba(7, 12, 25, .02) 100%);
}

.hero-copy {
  left: 64px;
  bottom: 66px;
  width: 680px;
}

.hero-copy h1 {
  font-size: 68px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.hero-copy .full {
  font-size: 16px;
  max-width: 640px;
}

.hero-copy .tag {
  font-size: 14px;
}

.about-card img {
  object-fit: contain;
  background: #ffffff;
  padding: 18px;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

@media(max-width:1020px) {
  .prism-lockup-img {
    height: 42px
  }

  .uni-seal-img {
    width: 42px;
    height: 42px
  }

  .uni-wordmark-img {
    height: 38px
  }

  .hero-panel {
    height: 620px
  }
}

@media(max-width:760px) {
  .identity {
    gap: 10px
  }

  .prism-lockup-img {
    height: 34px
  }

  .uni-seal-img {
    width: 34px;
    height: 34px
  }

  .uni-wordmark-img {
    height: 28px
  }

  .hero-panel {
    height: 540px
  }

  .hero-copy {
    left: 24px;
    right: 24px;
    bottom: 28px;
    width: auto
  }

  .hero-copy h1 {
    font-size: 48px
  }
}


/* v6 visibility fixes */
.header {
  height: 94px;
}

.header-inner {
  min-height: 94px;
}

.uni-seal-img {
  width: 66px;
  height: 66px;
}

.uni-wordmark-img {
  height: 54px;
  max-width: 310px;
}

.lab-lockup {
  margin-left: 18px;
}

.prism-lockup-img {
  width: 310px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
}

.identity {
  gap: 24px;
}

.hero-panel {
  height: 720px;
}

.hero-panel>img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 52% !important;
}

.hero-overlay {
  background: linear-gradient(90deg,
      rgba(5, 10, 22, .72) 0%,
      rgba(5, 10, 22, .46) 34%,
      rgba(5, 10, 22, .10) 66%,
      rgba(5, 10, 22, 0) 100%);
}

.about-card img#hospital-img {
  padding: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-thumb img {
  object-fit: cover;
  object-position: center;
}

@media(max-width:1100px) {
  .prism-lockup-img {
    width: 235px;
    height: 60px
  }

  .uni-wordmark-img {
    max-width: 235px;
    height: 44px
  }

  .uni-seal-img {
    width: 54px;
    height: 54px
  }
}

@media(max-width:760px) {
  .header {
    height: 76px
  }

  .header-inner {
    min-height: 76px
  }

  .uni-wordmark-img {
    display: none
  }

  .uni-seal-img {
    width: 44px;
    height: 44px
  }

  .prism-lockup-img {
    width: 185px;
    height: 48px
  }

  .lab-lockup {
    margin-left: 4px
  }

  .hero-panel {
    height: 540px
  }
}


/* v7 high-resolution asset update */
.hero-panel {
  background: #0c1220;
}

.hero-panel>img {
  object-fit: cover !important;
  object-position: center center !important;
  filter: none !important;
}

.hero-overlay {
  background: linear-gradient(90deg,
      rgba(4, 10, 24, .58) 0%,
      rgba(4, 10, 24, .30) 32%,
      rgba(4, 10, 24, .07) 58%,
      rgba(4, 10, 24, 0) 100%) !important;
}

.hero-copy {
  width: 720px;
}

.uni-wordmark-img {
  height: 58px !important;
  max-width: 350px !important;
  object-fit: contain;
}

.uni-seal-img {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain;
}

.prism-lockup-img {
  width: 390px !important;
  height: 86px !important;
  object-fit: contain !important;
  object-position: left center !important;
  background: white;
  border-radius: 6px;
}

.about-card img#pnu-img {
  object-fit: contain !important;
  padding: 16px;
}

.about-card img#hospital-img {
  object-fit: contain !important;
  padding: 16px;
  background: #fff;
}

.project-thumb {
  padding: 10px;
}

.project-thumb img {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
}

@media(max-width:1100px) {
  .prism-lockup-img {
    width: 300px !important;
    height: 68px !important
  }

  .uni-wordmark-img {
    max-width: 280px !important;
    height: 46px !important
  }
}

@media(max-width:760px) {
  .prism-lockup-img {
    width: 210px !important;
    height: 48px !important
  }

  .uni-seal-img {
    width: 42px !important;
    height: 42px !important
  }
}


/* v8 requested refinements */
.header {
  height: 70px !important
}

.header-inner {
  min-height: 70px !important
}

.uni-seal-img {
  width: 36px !important;
  height: 36px !important
}

.uni-wordmark-img {
  height: 29px !important;
  max-width: 175px !important
}

.prism-lockup-img {
  width: 195px !important;
  height: 43px !important
}

.lab-lockup {
  margin-left: 8px !important
}

.identity {
  gap: 12px !important
}

.hero-copy {
  width: 1180px !important;
  max-width: calc(100% - 140px) !important
}

.hero-copy h1 {
  font-size: 68px !important
}

.hero-copy .full {
  font-size: 41px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  white-space: pre-line !important;
  max-width: none !important;
  letter-spacing: -0.025em !important;
}

.hero-copy .tag {
  margin-top: 14px !important;
  font-size: 30px !important;
  line-height: 1.12 !important;
  font-weight: 100 !important;
  color: #fff !important;
  white-space: nowrap !important
}

.section#about {
  padding-bottom: 54px !important
}

.section#about .section-head {
  margin-bottom: 0 !important
}

body {
  font-size: 17px !important
}

.section-head p {
  font-size: 18px !important;
  line-height: 1.75 !important
}

.page-banner p {
  font-size: 18px !important;
  line-height: 1.7 !important
}

.content-wrap p,
.research-item p,
.people-main p,
.member p,
.pub p,
.box li,
.notice,
.value p {
  font-size: 17px !important;
  line-height: 1.75 !important
}

.content-wrap h2,
.box h2 {
  font-size: 30px !important
}

.research-item h3,
.member h3,
.pub h3,
.value h3 {
  font-size: 24px !important
}

.footer {
  font-size: 14px !important
}

.project-section {
  display: none !important
}

@media(max-width:1200px) {
  .hero-copy {
    width: auto !important;
    max-width: calc(100% - 80px) !important
  }

  .hero-copy .full,
  .hero-copy .tag {
    white-space: normal !important;
    font-size: 32px !important
  }
}

@media(max-width:760px) {
  .uni-seal-img {
    width: 30px !important;
    height: 30px !important
  }

  .uni-wordmark-img {
    display: none !important
  }

  .prism-lockup-img {
    width: 150px !important;
    height: 34px !important
  }

  .hero-copy h1 {
    font-size: 48px !important
  }

  .hero-copy .full,
  .hero-copy .tag {
    font-size: 25px !important;
    white-space: pre-line !important;
  }

  body {
    font-size: 16px !important
  }

}

.hero-copy .full .prism-letter {
  color: #e77306;
  font-weight: 600;
}

/* ==================================================
   TEAM / PI CV PAGE
================================================== */

.team-content {
  padding-bottom: 120px;
}

.section-label {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* PI profile */
.people-main {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 58px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.people-main .pi-photo {
  display: block;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
}

.pi-summary {
  max-width: 700px;
}

.pi-label {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.pi-summary h2 {
  margin: 0 0 10px;
  font-size: 42px !important;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.pi-role {
  margin-bottom: 22px;
  color: #323943;
  font-size: 18px;
  font-weight: 600;
}

.pi-summary p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px !important;
  line-height: 1.75 !important;
}

/* PI contact buttons: Email, GitHub, CV */

/* Joinus&contact 페이지 히어로 배경 이미지 */
body[data-page="join"] .page-banner {
  min-height: 300px !important;

  background-image:
    linear-gradient(90deg,
      rgba(241, 244, 248, 1) 0%,
      rgba(241, 244, 248, .96) 20%,
      rgba(241, 244, 248, .65) 40%,
      rgba(241, 244, 248, .12) 100%),
    url("assets/joinus-hero-illustration.png") !important;

  /*  background-repeat: no-repeat !important;
  background-position: center right !important;
  background-size: contain !important;
*/
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

}

body[data-page="join"] #join-intro {
  color: #16151591;
}

body[data-page="contact"] .page-banner {
  min-height: 300px !important;

  background-image:
    linear-gradient(90deg,
      rgba(241, 244, 248, 1) 0%,
      rgba(241, 244, 248, .96) 30%,
      rgba(241, 244, 248, .65) 50%,
      rgba(241, 244, 248, .12) 100%),
    url("assets/joinus&contact-hero-illustration.png") !important;

  /*  background-repeat: no-repeat !important;
  background-position: center right !important;
  background-size: contain !important;
*/
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

}

.pi-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.pi-links .pi-contact-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 34px;
  padding: 12px 22px;

  background: #fff !important;
  color: var(--blue) !important;

  border: 2px solid var(--blue) !important;
  border-radius: 999px;

  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;

  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.pi-links .pi-contact-button:hover {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;

  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 59, 114, .18);
}

.pi-links .pi-contact-button:focus-visible {
  outline: 3px solid rgba(23, 59, 114, .25);
  outline-offset: 3px;
}

.pi-email-link {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  min-height: 34px !important;
  padding: 12px 22px !important;

  background: #fff !important;
  color: var(--blue) !important;
  border: 2px solid var(--blue) !important;
  border-radius: 999px;

  text-decoration: none;
  transition:
    background-color .2s ease,
    color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.pi-email-label {
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .75;
}

.pi-email-address {
  color: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.pi-email-link:hover {
  background: var(--blue) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 59, 114, .18);
}

/* CV sections */
.cv-section {
  margin-top: 90px;
}

.cv-section-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.cv-section-heading>span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.cv-section-heading h2 {
  margin: 0;
  font-size: 32px !important;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.cv-heading-with-action {
  justify-content: space-between;
  align-items: center;
}

.cv-heading-with-action>div {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.cv-biography {
  max-width: 1500px;
}

.cv-biography p {
  margin: 0 0 20px;
  color: #444b54;
  font-size: 18px !important;
  line-height: 1.85 !important;
}

/* Research interests */
.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.interest-card {
  min-height: 210px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.interest-number {
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.interest-card h3 {
  margin: 0 0 12px;
  font-size: 21px !important;
}

.interest-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* Two-column CV layout */
.cv-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

/* Timeline */
.timeline-item {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 5px;
  padding: 0 0 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--line);
}

.timeline-period {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.timeline-item h3,
.funding-item h3 {
  margin: 0 0 7px;
  font-size: 18px !important;
  line-height: 1.45;
}

.timeline-institution,
.timeline-detail,
.funding-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.timeline-detail {
  margin-top: 5px;
}

/* Publications */

body[data-page="publications"] .page-banner {
  min-height: 300px !important;

  background-image:
    linear-gradient(90deg,
      rgba(241, 244, 248, 1) 0%,
      rgba(241, 244, 248, .96) 30%,
      rgba(241, 244, 248, .65) 50%,
      rgba(241, 244, 248, .12) 100%),
    url("assets/publications-hero-illustration.png") !important;

  /*  background-repeat: no-repeat !important;
  background-position: center right !important;
  background-size: contain !important;
*/
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

}



.cv-publication {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 5px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}

.publication-index {
  color: #9aa2ac;
  font-size: 13px;
}


.publication-subheading {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.publication-meta {
  margin-bottom: 1px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cv-publication h3 {
  max-width: 950px;
  margin: 0 0 1px;
  font-size: 20px !important;
  line-height: 1.5;
}

.cv-publication p {
  margin: 0;
  color: var(--muted);
  font-size: 15px !important;
  font-style: italic;
}

/* Funding */
.funding-item {
  padding: 0 0 5px;
  border-bottom: 1px solid var(--line);
}

/* Awards */
.award-item {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 5px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}

.award-item span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.award-item p {
  margin: 0;
  color: #3f464e;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.members-section {
  padding-top: 10px;
}

/* Tablet */
@media(max-width:1000px) {
  .people-main {
    grid-template-columns: 270px 1fr;
    gap: 36px;
    padding: 50px;
  }

  .interest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cv-two-column {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Mobile */
@media(max-width:700px) {
  .people-main {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .people-main .pi-photo {
    max-width: 280px;
  }

  .pi-summary h2 {
    font-size: 34px !important;
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .cv-section {
    margin-top: 45px;
  }

  .cv-heading-with-action {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .cv-publication {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==================================================
   PEOPLE PAGE REFINEMENTS
================================================== */

/* Research-interest cards no longer reserve space for numbers */
.interest-card {
  min-height: 180px;
}

.interest-card h3 {
  margin-top: 0;
}

/* Combined education and appointments */
#pi-career {
  max-width: 980px;
}

.timeline-type,
.achievement-type {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* Google Scholar button */
.scholar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.scholar-link:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 59, 114, .18);
}

/* Combined awards, honors, and research funding */
.achievement-list {
  max-width: 980px;
}

.achievement-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 5px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}

.achievement-year {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.achievement-item h3 {
  margin: 0 0 1px;
  font-size: 18px !important;
  line-height: 1.5;
}

.achievement-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px !important;
  line-height: 1.65 !important;
}

@media(max-width:700px) {
  .cv-heading-with-action {
    align-items: flex-start;
  }

  .achievement-item {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}


/* Education & Academic Appointments: title and institution inline */
.timeline-title-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline-title-line h3 {
  margin: 0;
}

.timeline-institution-inline {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

@media(max-width:700px) {
  .timeline-title-line {
    display: block;
  }

  .timeline-institution-inline {
    display: block;
    margin-top: 4px;
  }
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(310px, .8fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: stretch
}

.contact-card,
.contact-map-card {
  min-height: 440px
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px
}

.contact-kicker,
.section-label-visible {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em
}

.contact-card h2 {
  margin: 0 0 30px
}

.contact-detail {
  padding: 18px 0;
  border-top: 1px solid var(--line)
}

.contact-detail>span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase
}

.contact-detail a,
.contact-detail p {
  margin: 0;
  color: #333b45;
  font-size: 17px !important;
  line-height: 1.65 !important
}

.contact-detail a:hover {
  color: var(--blue);
  text-decoration: underline
}

.map-open-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 24px;
  padding: 10px 17px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease
}

.map-open-link:hover {
  color: #fff;
  background: var(--blue);
  transform: translateY(-2px)
}

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

.contact-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0
}

/* Publications by year */
.publication-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 54px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line)
}

.publication-page-head h2 {
  margin: 0
}

.publication-year-group {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 42px;
  padding: 0 0 54px;
  margin-bottom: 54px;
  border-bottom: 1px solid var(--line)
}

.publication-year-heading {
  position: sticky;
  top: 24px;
  align-self: start
}

.publication-year-heading h2 {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 42px !important;
  line-height: 1
}

.publication-year-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em
}

.publication-year-list .pub:first-child {
  padding-top: 0
}

.publication-year-list .pub:last-child {
  border-bottom: 0
}

.pub-main h3 {
  margin: 0 0 9px;
  font-size: 20px !important;
  line-height: 1.5
}

.pub-main h3 a:hover {
  color: var(--blue)
}

.pub-authors,
.pub-journal {
  margin: 0 !important;
  color: var(--muted);
  font-size: 15px !important;
  line-height: 1.6 !important
}

.pub-journal {
  margin-top: 3px !important
}

@media(max-width:850px) {
  .contact-layout {
    grid-template-columns: 1fr
  }

  .contact-card,
  .contact-map-card,
  .contact-map {
    min-height: 360px
  }

  .publication-year-group {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .publication-year-heading {
    position: static
  }
}

@media(max-width:600px) {
  .publication-page-head {
    align-items: flex-start;
    flex-direction: column
  }

  .contact-card {
    padding: 28px
  }
}


/* Compact publication list */
body[data-page="publications"] .publication-year-group {
  padding-bottom: 26px !important;
  margin-bottom: 30px !important;
}

body[data-page="publications"] .pub {
  padding: 10px 0 !important;
}

body[data-page="publications"] .pub-main h3 {
  margin-bottom: 3px !important;
  line-height: 1.38 !important;
}

body[data-page="publications"] .pub-authors {
  margin: 0 !important;
  line-height: 1.45 !important;
}

body[data-page="publications"] .pub-journal {
  margin-top: 1px !important;
}