
:root {
  --blue: #0754a5;
  --blue-dark: #003c82;
  --sky: #168dcc;
  --ink: #171717;
  --text: #474747;
  --muted: #7b7b7b;
  --line: #d8d8d8;
  --soft: #f4f4f4;
  --footer: #3d3d42;
  --header-h: 82px;
  --content: 1160px;
  --narrow: 900px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  line-height: 1.62;
  word-break: keep-all;
}


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

button {
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  cursor: pointer;
}

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

ul {
  list-style: none;
}

.container {
  width: min(calc(100% - 56px), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 56px), var(--narrow));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-h);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid #ededed;
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand-copy {
  line-height: 1.08;
}

.brand-copy strong {
  display: block;
  font-size: .98rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand-copy small {
  display: block;
  margin-top: 5px;
  color: #5d5d5d;
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .035em;
}

.main-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding-inline: 23px;
  font-size: .89rem;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a + a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 12px;
  background: #cecece;
  content: "";
  transform: translateY(-50%);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
}




















/* Main home */
.home-hero {
  position: relative;
  height: min(790px, calc(100svh - var(--header-h)));
  min-height: 620px;
  margin-top: var(--header-h);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 37%, rgba(255, 255, 255, .8), transparent 12%),
    linear-gradient(to bottom, #d6d6d6 0%, #e5e5e7 55%, #f2f2f4 100%);
}

.hero-copy {
  position: absolute;
  z-index: 5;
  top: 25%;
  left: 50%;
  width: min(92%, 920px);
  text-align: center;
  transform: translateX(-50%);
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  font-weight: 770;
  line-height: 1.06;
  letter-spacing: -.055em;
}

.hero-copy p {
  margin-top: 14px;
  color: #5d5d5d;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .015em;
}

.molecule-stage {
  position: absolute;
  left: 50%;
  bottom: 3%;
  width: min(70vw, 960px);
  height: 440px;
  transform: translateX(-50%);
  filter: drop-shadow(0 26px 25px rgba(0, 0, 0, .18));
}

.molecule-stage svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-pattern {
  position: absolute;
  top: 8%;
  right: 16%;
  width: 300px;
  height: 220px;
  opacity: .55;
}

.pattern-line {
  position: absolute;
  height: 1px;
  background: rgba(255, 255, 255, .78);
  transform-origin: left center;
}

.pattern-node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 13px rgba(255, 255, 255, .72);
}

.home-about {
  padding: 95px 0;
  background: #fff;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}

.home-label {
  color: var(--blue);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-label::after {
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 16px;
  background: var(--blue);
  content: "";
}

.home-about h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.6rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.home-about p {
  max-width: 760px;
  margin-top: 26px;
  color: #555;
  font-size: .96rem;
}



.home-link-card + 









/* Page common */
.page-main {
  padding-top: var(--header-h);
}

.page-banner {
  position: relative;
  height: 195px;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(to bottom, #c8c8c8 0%, #bdbdbd 100%);
}

.page-banner::before,
.page-banner::after {
  display: none;
  content: none;
}

.page-banner h1 {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  font-weight: 720;
  letter-spacing: -.04em;
}

.page-banner h1::after {
  display: block;
  width: 80px;
  height: 1px;
  margin: 13px auto 0;
  background: rgba(255, 255, 255, .85);
  content: "";
}

.page-body {
  min-height: 600px;
  padding: 58px 0 96px;
}

.page-heading {
  margin-bottom: 44px;
  text-align: center;
  font-size: 1.68rem;
  font-weight: 820;
  letter-spacing: -.04em;
}

/* Professor */
.professor-layout {
  display: grid;
  grid-template-columns: 335px 1fr;
  gap: 78px;
  align-items: start;
}

.professor-photo-wrap {
  width: 305px;
  margin-inline: auto;
}

.professor-photo {
  width: 100%;
  aspect-ratio: 392 / 564;
  object-fit: cover;
  box-shadow: 18px 23px 35px rgba(0, 0, 0, .26);
}

.professor-contact {
  margin-top: 32px;
  font-size: .8rem;
  line-height: 1.7;
}

.profile-groups {
  display: grid;
  gap: 23px;
}

.profile-group h2 {
  display: inline-block;
  margin-bottom: 9px;
  padding: 2px 7px;
  color: #fff;
  background: var(--blue);
  font-size: .73rem;
  font-weight: 820;
}

.profile-group ul {
  display: grid;
  gap: 4px;
  color: #333;
  font-size: .8rem;
}

.profile-group li::before {
  margin-right: 5px;
  content: "·";
}

/* Research */
.research-copy {
  max-width: 730px;
  margin-inline: auto;
}

.research-topic + .research-topic {
  margin-top: 44px;
}

.research-topic h2 {
  color: var(--blue);
  font-size: .96rem;
  font-weight: 850;
}

.research-topic h3 {
  margin-top: 23px;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 820;
}

.research-topic p {
  margin-top: 9px;
  color: #414141;
  font-size: .81rem;
  line-height: 1.68;
  text-align: justify;
}

/* People */
.people-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
  margin: 0 auto 32px;
}

.people-tab {
  height: 44px;
  border: 1px solid #d4d4d4;
  color: #858585;
  background: #fff;
  font-size: .78rem;
  font-weight: 680;
}

.people-tab.active {
  color: #111;
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.people-panel {
  display: none;
}

.people-panel.active {
  display: block;
}

.people-title {
  margin-bottom: 36px;
  text-align: center;
  font-size: 1.62rem;
  font-weight: 820;
}

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

.person-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: 34px 120px 1fr;
  gap: 18px;
  padding: 19px;
  border: 2px solid var(--blue);
  background: #fff;
}

.person-number {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 820;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.person-photo {
  width: 120px;
  height: 145px;
  object-fit: cover;
  align-self: center;
  background: #e5e5e5;
}

.person-placeholder {
  width: 120px;
  height: 145px;
  display: grid;
  place-items: center;
  align-self: center;
  color: #fff;
  background: linear-gradient(145deg, #168dcc, #003e82);
  font-size: 2rem;
  font-weight: 820;
}

.person-info h2 {
  margin-bottom: 13px;
  font-size: .9rem;
  font-weight: 820;
}

.person-info ul {
  display: grid;
  gap: 4px;
  font-size: .7rem;
  line-height: 1.45;
}

.person-info li {
  position: relative;
  padding-left: 10px;
}

.person-info li::before {
  position: absolute;
  top: .56em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.empty-panel {
  padding: 60px 30px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: .82rem;
}

/* Publications */
.publication-wrap {
  width: min(calc(100% - 56px), 770px);
  margin-inline: auto;
}

.year-block + .year-block {
  margin-top: 48px;
}

.year-block {
  border-top: 3px solid;
  border-image: linear-gradient(90deg, #1594ce, #143eb5) 1;
}

.year-block h2 {
  padding: 21px 23px 8px;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 820;
}

.publication-item {
  position: relative;
  margin: 0 23px;
  padding: 15px 0 18px 18px;
  border-bottom: 1px solid #d8d8d8;
}

.publication-item::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.publication-authors {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 820;
}

.publication-title {
  margin-top: 5px;
  font-size: .8rem;
  font-weight: 660;
  line-height: 1.45;
}

.publication-journal,
.publication-doi {
  margin-top: 8px;
  color: #787878;
  font-size: .66rem;
}

.publication-doi {
  margin-top: 2px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 55px;
  align-items: stretch;
}

.contact-info {
  padding: 38px;
  color: #fff;
  background: linear-gradient(145deg, #073c72, #1376b4);
}

.contact-info h2 {
  font-size: 1.8rem;
  letter-spacing: -.04em;
}

.contact-info p {
  margin-top: 13px;
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
}

.contact-list {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}

.contact-row {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.contact-row small {
  display: block;
  color: #9cd7ff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.contact-row strong {
  display: block;
  margin-top: 6px;
  font-size: .86rem;
}

.map-box {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(28deg, transparent 24%, rgba(7,84,165,.06) 25%, rgba(7,84,165,.06) 26%, transparent 27%, transparent 74%, rgba(7,84,165,.06) 75%, rgba(7,84,165,.06) 76%, transparent 77%),
    linear-gradient(-28deg, transparent 24%, rgba(7,84,165,.06) 25%, rgba(7,84,165,.06) 26%, transparent 27%, transparent 74%, rgba(7,84,165,.06) 75%, rgba(7,84,165,.06) 76%, transparent 77%),
    #f7fafc;
  background-size: 72px 72px;
}

.road {
  position: absolute;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
}

.road.r1 {
  top: 42%;
  left: -10%;
  width: 120%;
  height: 29px;
  transform: rotate(-11deg);
}

.road.r2 {
  top: -10%;
  left: 51%;
  width: 25px;
  height: 125%;
  transform: rotate(18deg);
}

.road.r3 {
  top: 68%;
  left: 4%;
  width: 93%;
  height: 18px;
  transform: rotate(8deg);
}

.map-marker {
  position: absolute;
  top: 41%;
  left: 56%;
  width: 58px;
  height: 58px;
  border: 6px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  box-shadow: 0 15px 35px rgba(7,84,165,.34);
  transform: rotate(-45deg);
}

.map-marker::after {
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.map-label {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.map-label strong {
  display: block;
  font-size: .94rem;
}

.map-label p {
  margin-top: 5px;
  color: var(--muted);
  font-size: .76rem;
}

/* Footer */
.site-footer {
  padding: 27px 0;
  color: rgba(255, 255, 255, .72);
  background: var(--footer);
  font-size: .68rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 125px 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
  opacity: .95;
}

.footer-address p + p {
  margin-top: 3px;
}

.footer-links {
  text-align: right;
}

.footer-links a {
  display: block;
  color: #fff;
  font-size: .64rem;
}

.footer-links a + a {
  margin-top: 5px;
}

.fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.fade.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1060px) {
  .header-inner {
    grid-template-columns: 230px 1fr 82px;
  }

  
  .main-nav a {
    padding-inline: 17px;
  }

  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .professor-layout {
    grid-template-columns: 300px 1fr;
    gap: 48px;
  }

  .person-card {
    grid-template-columns: 30px 1fr;
  }

  .person-photo,
  .person-placeholder,
  .person-info {
    grid-column: 2;
  }
}

@media (max-width: 790px) {
  :root {
    --header-h: 68px;
  }

  .container,
  .narrow,
  .publication-wrap {
    width: min(calc(100% - 30px), var(--content));
  }

  .header-inner {
    grid-template-columns: 1fr 68px;
  }

  .brand img {
    width: 47px;
    height: 47px;
  }

  .brand-copy strong {
    font-size: .77rem;
  }

  .brand-copy small {
    font-size: .5rem;
  }

  .main-nav {
    display: none;
  }

  
  
  
  
  .home-hero {
    min-height: 620px;
  }

  .hero-copy {
    top: 17%;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 9vw, 3.3rem);
  }

  .molecule-stage {
    bottom: 4%;
    width: 116vw;
  }

  .hero-pattern {
    right: -60px;
    opacity: .35;
  }

  .home-about {
    padding: 70px 0;
  }

  


  .page-banner {
    height: 150px;
  }

  .page-banner h1 {
    font-size: 1.65rem;
  }

  .page-body {
    padding: 46px 0 72px;
  }

  .professor-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .professor-photo-wrap {
    width: min(280px, 88%);
  }

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

  .person-card {
    grid-template-columns: 28px 110px 1fr;
  }

  .person-photo,
  .person-placeholder,
  .person-info {
    grid-column: auto;
  }

  .person-photo,
  .person-placeholder {
    width: 110px;
    height: 135px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
  opacity: .95;
}

  .footer-links {
    text-align: center;
  }
}

@media (max-width: 540px) {
  .brand-copy small {
    display: none;
  }

  .hero-copy {
    top: 14%;
  }

  .molecule-stage {
    left: 46%;
    width: 160vw;
  }

  
  .home-link-card + 
  .person-card {
    grid-template-columns: 27px 1fr;
  }

  .person-photo,
  .person-placeholder,
  .person-info {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .fade {
    opacity: 1;
    transform: none;
  }
}


/* Clickable publication links */
.publication-link {
  display: block;
  padding-right: 48px;
  color: inherit;
  transition: background .2s ease, padding-left .22s ease, padding-right .22s ease;
}

.publication-link:hover,
.publication-link:focus-visible {
  padding-left: 30px;
  padding-right: 54px;
  background: #f4f8fd;
  outline: none;
}

.publication-link:hover .publication-title,
.publication-link:focus-visible .publication-title {
  color: var(--blue);
}

.publication-open {
  position: absolute;
  top: 50%;
  right: 10px;
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 800;
  transform: translateY(-50%);
  transition: transform .2s ease;
}

.publication-link:hover .publication-open,
.publication-link:focus-visible .publication-open {
  transform: translate(4px, -54%);
}

.scholar-more {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.scholar-more a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
  font-size: .78rem;
  font-weight: 800;
  transition: color .2s ease, background .2s ease;
}

.scholar-more a:hover,
.scholar-more a:focus-visible {
  color: #fff;
  background: var(--blue);
  outline: none;
}


/* Google Maps embed */
.google-map-box {
  position: relative;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ececec;
}

.google-map-frame {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
  filter: saturate(.92) contrast(.98);
}

.google-map-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, .09);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  backdrop-filter: blur(10px);
}

.google-map-caption strong {
  display: block;
  font-size: .91rem;
}

.google-map-caption p {
  margin-top: 3px;
  color: var(--muted);
  font-size: .72rem;
}

.google-map-caption a {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: #fff;
  background: var(--blue);
  font-size: .69rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 790px) {
  .google-map-box,
  .google-map-frame {
    min-height: 410px;
    height: 410px;
  }

  .google-map-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
}

/* =========================================================
   Content typography adjustment
   Professor / Research / People / Publication
========================================================= */

.page-heading {
  font-size: 1.82rem;
}

/* Professor */
.professor-contact {
  font-size: .88rem;
  line-height: 1.76;
}

.profile-group h2 {
  padding: 3px 8px;
  font-size: .80rem;
}

.profile-group ul {
  gap: 5px;
  font-size: .88rem;
  line-height: 1.68;
}

/* Research */
.research-topic h2 {
  font-size: 1.05rem;
}

.research-topic h3 {
  font-size: .98rem;
}

.research-topic p {
  font-size: .88rem;
  line-height: 1.75;
}

/* People */
.people-tab {
  font-size: .84rem;
}

.people-title {
  font-size: 1.78rem;
}

.person-card {
  min-height: 205px;
}

.person-number {
  font-size: .84rem;
}

.person-info h2 {
  font-size: 1rem;
}

.person-info ul {
  gap: 5px;
  font-size: .77rem;
  line-height: 1.53;
}

.empty-panel {
  font-size: .89rem;
}

/* Publication */
.year-block h2 {
  font-size: 1rem;
}

.publication-authors {
  font-size: .86rem;
}

.publication-title {
  font-size: .88rem;
  line-height: 1.52;
}

.publication-journal,
.publication-doi {
  font-size: .73rem;
}

.publication-open {
  font-size: 1.22rem;
}

@media (max-width: 790px) {
  .page-heading {
    font-size: 1.65rem;
  }

  .professor-contact,
  .profile-group ul,
  .research-topic p {
    font-size: .84rem;
  }

  .research-topic h2 {
    font-size: 1rem;
  }

  .research-topic h3 {
    font-size: .94rem;
  }

  .person-info h2 {
    font-size: .96rem;
  }

  .person-info ul {
    font-size: .75rem;
  }

  .publication-authors {
    font-size: .82rem;
  }

  .publication-title {
    font-size: .84rem;
  }
}

/* =========================================================
   Header alignment update
   - Larger laboratory logo
   - Brand aligned near the far-left edge
   - Main navigation fixed at the visual center
========================================================= */

:root {
  --header-h: 94px;
}

.site-header {
  height: var(--header-h);
}

.site-header .header-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 28px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
}

.site-header .brand {
  grid-column: 1;
  justify-self: start;
}

.site-header .brand img {
  width: 76px;
  height: 76px;
}

.site-header .brand-copy strong {
  font-size: 1.04rem;
}

.site-header .brand-copy small {
  font-size: .62rem;
}

.site-header .main-nav {
  grid-column: 2;
  justify-self: center;
}

.site-header .main-nav a {
  padding-inline: 24px;
}

@media (max-width: 1180px) and (min-width: 791px) {
  .site-header .header-inner {
    padding-inline: 20px;
    gap: 14px;
  }

  .site-header .brand img {
    width: 70px;
    height: 70px;
  }

  .site-header .brand-copy strong {
    font-size: .92rem;
  }

  .site-header .brand-copy small {
    font-size: .56rem;
  }

  .site-header .main-nav a {
    padding-inline: 15px;
    font-size: .80rem;
  }
}

@media (max-width: 790px) {
  :root {
    --header-h: 122px;
  }

  .site-header .header-inner {
    width: 100%;
    padding-inline: 14px;
    grid-template-columns: 1fr;
    grid-template-rows: 72px 50px;
    gap: 0;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header .brand img {
    width: 56px;
    height: 56px;
  }

  .site-header .brand-copy strong {
    font-size: .80rem;
  }

  .site-header .brand-copy small {
    font-size: .51rem;
  }

  .site-header .main-nav {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
  }
}

/* =========================================================
   Sharp header logo update
   ========================================================= */
.site-header .brand img {
  width: 82px !important;
  height: 82px !important;
  object-fit: contain;
  image-rendering: auto;
}

@media (max-width: 1180px) and (min-width: 791px) {
  .site-header .brand img {
    width: 74px !important;
    height: 74px !important;
  }
}

@media (max-width: 790px) {
  .site-header .brand img {
    width: 58px !important;
    height: 58px !important;
  }
}

/* =========================================================
   Complete header logo and visible monochrome footer logo
========================================================= */

:root {
  --header-h: 108px;
}

.site-header {
  height: var(--header-h);
  overflow: visible;
}

.site-header .header-inner {
  min-height: var(--header-h);
  overflow: visible;
}

.site-header .brand {
  height: 100%;
  overflow: visible;
}

.site-header .brand img {
  width: 90px !important;
  height: 100px !important;
  padding-block: 4px;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  overflow: visible;
}

.site-header .brand-copy {
  flex: 0 0 auto;
}

.footer-logo {
  width: 126px !important;
  height: auto !important;
  object-fit: contain;
  opacity: 1;
}

@media (max-width: 1180px) and (min-width: 791px) {
  :root {
    --header-h: 102px;
  }

  .site-header .brand img {
    width: 84px !important;
    height: 94px !important;
  }
}

@media (max-width: 790px) {
  :root {
    --header-h: 132px;
  }

  .site-header .header-inner {
    grid-template-rows: 80px 52px;
  }

  .site-header .brand img {
    width: 66px !important;
    height: 76px !important;
    padding-block: 3px;
  }

  .footer-logo {
    width: 115px !important;
  }
}



/* =========================================================
   CMS-driven public content
========================================================= */
.admin-login-link{margin-top:5px!important;color:#9fd4ff!important}.content-empty{grid-column:1/-1;padding:36px;border:1px dashed var(--line);color:var(--muted);text-align:center;font-size:.84rem;background:#fff}.lab-news-section{padding:86px 0 100px;background:#f3f6f7;border-top:1px solid #e4e8e9}.lab-news-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}.lab-news-kicker{color:var(--blue);font-size:.68rem;font-weight:850;letter-spacing:.13em}.lab-news-head h2{margin-top:8px;font-size:2rem;letter-spacing:-.04em}.news-all-link{font-size:.75rem;font-weight:800;color:var(--blue)}.lab-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.lab-news-card{display:flex;min-height:365px;flex-direction:column;border:1px solid var(--line);background:#fff;transition:transform .24s,box-shadow .24s}.lab-news-card:hover{transform:translateY(-5px);box-shadow:0 18px 44px rgba(0,0,0,.1)}.lab-news-cover{width:100%;aspect-ratio:16/9;object-fit:cover;background:#dbe4e8}.lab-news-cover-fallback{background:linear-gradient(145deg,#168dcc,#003e82)}.lab-news-card-body{display:flex;flex:1;flex-direction:column;padding:22px}.lab-news-meta{display:flex;justify-content:space-between;gap:12px;color:var(--blue);font-size:.62rem;font-weight:800;letter-spacing:.06em}.lab-news-card h3{margin-top:15px;font-size:1.16rem;line-height:1.38}.lab-news-card p{margin-top:10px;color:var(--muted);font-size:.8rem}.lab-news-read{margin-top:auto;padding-top:22px;font-size:.67rem;font-weight:850;text-transform:uppercase}.news-archive-grid{width:min(100%,1050px);margin-inline:auto}.news-detail{width:min(100%,850px);margin-inline:auto}.news-back{display:inline-block;margin-bottom:25px;color:var(--blue);font-size:.75rem;font-weight:800}.news-detail-meta{display:flex;gap:15px;color:var(--blue);font-size:.7rem;font-weight:800}.news-detail h1{margin-top:12px;font-size:clamp(2rem,4vw,3.7rem);line-height:1.12;letter-spacing:-.05em}.news-detail-cover{width:100%;max-height:500px;margin-top:30px;object-fit:cover}.news-detail-body{margin-top:30px;color:#3f4b51;font-size:.95rem;line-height:1.85}.people-grid>.empty-panel{grid-column:1/-1}
@media(max-width:900px){.lab-news-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.lab-news-head{align-items:start;flex-direction:column}.lab-news-grid{grid-template-columns:1fr}.lab-news-card{min-height:0}}

[data-setting="lab_name_ko"],[data-setting="home_heading"],[data-setting="hero_title"]{white-space:pre-line}

/* =========================================================
   Researcher photo clarity update
   - Slightly larger portrait frame
   - Chrome downscale optimization
   - Subtle local contrast for clearer facial details
========================================================= */
.person-card {
  grid-template-columns: 34px 136px minmax(0, 1fr);
  min-height: 210px;
  align-items: start;
}

.person-photo,
.person-placeholder {
  width: 136px;
  height: 164px;
}

.person-photo {
  display: block;
  object-fit: cover;
  object-position: center 20%;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.045) saturate(1.015);
  backface-visibility: hidden;
  transform: translateZ(0);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

@media (max-width: 1060px) and (min-width: 791px) {
  .person-card {
    grid-template-columns: 30px 136px minmax(0, 1fr);
  }

  .person-photo,
  .person-placeholder,
  .person-info {
    grid-column: auto;
  }
}

@media (max-width: 790px) {
  .person-card {
    grid-template-columns: 28px 124px minmax(0, 1fr);
  }

  .person-photo,
  .person-placeholder {
    width: 124px;
    height: 150px;
  }
}

@media (max-width: 540px) {
  .person-card {
    grid-template-columns: 27px minmax(0, 1fr);
  }

  .person-photo,
  .person-placeholder,
  .person-info {
    grid-column: 2;
  }

  .person-photo,
  .person-placeholder {
    width: min(150px, 100%);
    height: auto;
    aspect-ratio: 5 / 6;
  }
}

/* =========================================================
   Lab News top navigation
========================================================= */
.site-header .main-nav a {
  padding-inline: 19px;
}

@media (max-width: 1320px) and (min-width: 1181px) {
  .site-header .main-nav a {
    padding-inline: 15px;
    font-size: .84rem;
  }
}

@media (max-width: 1180px) and (min-width: 791px) {
  .site-header .main-nav a {
    padding-inline: 10px;
    font-size: .74rem;
  }
}

@media (max-width: 790px) {
  .site-header .main-nav {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .site-header .main-nav::-webkit-scrollbar {
    display: none;
  }

  .site-header .main-nav a {
    flex: 0 0 auto;
    padding-inline: 15px;
    font-size: .73rem;
  }
}

/* =========================================================
   Gray page-banner title positioning
   - Page title appears only inside the gray banner
   - Vertically and horizontally centered
========================================================= */
.page-banner {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 195px;
  padding: 0 24px;
}

.page-banner h1 {
  position: relative !important;
  inset: auto !important;
  margin: 0 !important;
  color: #ffffff !important;
  text-align: center !important;
  line-height: 1.15;
  transform: none !important;
}

.page-banner h1::after {
  margin: 14px auto 0 !important;
}

@media (max-width: 790px) {
  .page-banner {
    min-height: 150px;
  }
}

/* =========================================================
   Final page-banner fix
   - Title centered inside gray banner
   - Remove white line
========================================================= */
.page-banner {
  position: relative !important;
  height: 195px !important;
  min-height: 195px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 24px !important;
  text-align: center !important;
  background: #bfbfbf !important;
  overflow: hidden !important;
}

.page-banner::before,
.page-banner::after {
  display: none !important;
  content: none !important;
}

.page-banner h1 {
  display: block !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #1a1a1a !important;
  font-size: 2rem !important;
  font-weight: 750 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  text-align: center !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 3 !important;
}

.page-banner h1::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 790px) {
  .page-banner {
    height: 150px !important;
    min-height: 150px !important;
  }

  .page-banner h1 {
    font-size: 1.55rem !important;
  }
}

/* =========================================================
   Lower banner title for 100% zoom visibility
========================================================= */
.page-banner {
  align-items: flex-start !important;
  justify-content: center !important;
  padding-top: 68px !important;
  box-sizing: border-box !important;
}

.page-banner h1 {
  margin-top: 0 !important;
}

@media (max-width: 790px) {
  .page-banner {
    padding-top: 52px !important;
  }
}

/* =========================================================
   Final mobile compact header + hamburger menu
========================================================= */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 790px) {
  :root {
    --header-h: 92px !important;
  }

  body {
    overflow-x: hidden;
  }

  .site-header {
    height: var(--header-h) !important;
    overflow: visible !important;
  }

  .site-header .header-inner {
    width: 100% !important;
    min-height: var(--header-h) !important;
    padding: 10px 14px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .site-header .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: auto !important;
    min-width: 0 !important;
    gap: 10px !important;
  }

  .site-header .brand img {
    width: 74px !important;
    height: 74px !important;
    padding-block: 0 !important;
    flex: 0 0 auto !important;
  }

  .site-header .brand-copy strong {
    font-size: 0.78rem !important;
    line-height: 1.08 !important;
  }

  .site-header .brand-copy small {
    margin-top: 4px !important;
    font-size: 0.50rem !important;
    line-height: 1.15 !important;
  }

  .mobile-menu-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 44px;
    height: 44px;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(20, 20, 20, 0.08);
    padding: 0;
    cursor: pointer;
    z-index: 1201;
  }

  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #1d1d1d;
    transition: transform .22s ease, opacity .22s ease;
  }

  body.mobile-nav-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.mobile-nav-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-nav-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header .main-nav {
    position: fixed !important;
    top: var(--header-h) !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 10px 16px 18px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #e8e8e8 !important;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.09) !important;
    overflow: visible !important;
    transform: translateY(-12px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
    z-index: 1200 !important;
  }

  body.mobile-nav-open .site-header .main-nav {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .site-header .main-nav a {
    display: block !important;
    width: 100% !important;
    padding: 14px 10px !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    border-bottom: 1px solid #f0f0f0;
  }

  .site-header .main-nav a:last-child {
    border-bottom: none;
  }

  .site-header .main-nav a + a::before {
    display: none !important;
    content: none !important;
  }
}

/* =========================================================
   Mobile Research readability
   - Responsive horizontal padding
   - Natural word spacing
   - Fluid font sizes and line height
========================================================= */
@media (max-width: 790px) {
  body[data-page="research"] .page-body {
    padding-top: clamp(42px, 9vw, 64px) !important;
    padding-bottom: clamp(68px, 14vw, 96px) !important;
  }

  body[data-page="research"] .research-copy {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding-inline:
      clamp(
        22px,
        calc(12px + 3.4vw),
        38px
      ) !important;
    box-sizing: border-box !important;
  }

  body[data-page="research"] .research-topic {
    width: 100% !important;
    max-width: 680px !important;
    margin-inline: auto !important;
  }

  body[data-page="research"] .research-topic + .research-topic {
    margin-top: clamp(46px, 11vw, 68px) !important;
  }

  body[data-page="research"] .research-topic h2 {
    margin: 0 !important;
    color: var(--blue) !important;
    font-size: clamp(1.08rem, 4.7vw, 1.34rem) !important;
    font-weight: 820 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.025em !important;
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  body[data-page="research"] .research-topic h3 {
    margin-top: clamp(25px, 6vw, 34px) !important;
    color: var(--blue) !important;
    font-size: clamp(1rem, 4.25vw, 1.2rem) !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.018em !important;
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  body[data-page="research"] .research-topic p {
    width: 100% !important;
    margin-top: clamp(12px, 3vw, 17px) !important;
    color: #414141 !important;
    font-size: clamp(0.94rem, 3.9vw, 1.08rem) !important;
    font-weight: 430 !important;
    line-height: 1.82 !important;
    letter-spacing: -0.008em !important;
    text-align: left !important;
    text-justify: auto !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    hyphens: auto;
  }

  body[data-page="research"] .research-topic p:lang(en) {
    word-break: normal !important;
  }
}

/* Narrow phones */
@media (max-width: 380px) {
  body[data-page="research"] .research-copy {
    padding-inline: 20px !important;
  }

  body[data-page="research"] .research-topic p {
    font-size: 0.94rem !important;
    line-height: 1.76 !important;
  }
}

/* Larger phones / small tablets */
@media (min-width: 600px) and (max-width: 790px) {
  body[data-page="research"] .research-copy {
    padding-inline: clamp(40px, 8vw, 66px) !important;
  }

  body[data-page="research"] .research-topic p {
    line-height: 1.78 !important;
  }
}

/* =========================================================
   Mobile footer logo alignment fix
========================================================= */
@media (max-width: 790px) {
  .footer-inner {
    justify-items: center !important;
  }

  .footer-logo {
    width: 98px !important;
    max-width: 98px !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 auto 10px !important;
    display: block !important;
  }
}

